@bytecodealliance/jco 1.11.2-rc.0 → 1.11.2-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +56 -53
- package/src/jco.js +1 -1
package/package.json
CHANGED
|
@@ -1,10 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bytecodealliance/jco",
|
|
3
|
-
"version": "1.11.2-rc.
|
|
3
|
+
"version": "1.11.2-rc.2",
|
|
4
4
|
"description": "JavaScript tooling for working with WebAssembly Components",
|
|
5
|
+
"homepage": "https://github.com/bytecodealliance/jco#readme",
|
|
5
6
|
"author": "Guy Bedford",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
7
|
+
"contributors": [
|
|
8
|
+
"Victor Adossi <vadossi@cosmonic.com>"
|
|
9
|
+
],
|
|
10
|
+
"type": "module",
|
|
11
|
+
"license": "(Apache-2.0 WITH LLVM-exception)",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/bytecodealliance/jco/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"Wasm",
|
|
17
|
+
"WebAssembly",
|
|
18
|
+
"Component"
|
|
19
|
+
],
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/bytecodealliance/jco.git"
|
|
23
|
+
},
|
|
24
|
+
"imports": {
|
|
25
|
+
"#ora": {
|
|
26
|
+
"browser": "./src/ora-shim.js",
|
|
27
|
+
"default": "ora"
|
|
28
|
+
}
|
|
8
29
|
},
|
|
9
30
|
"exports": {
|
|
10
31
|
".": {
|
|
@@ -16,13 +37,38 @@
|
|
|
16
37
|
"default": "./src/browser.js"
|
|
17
38
|
}
|
|
18
39
|
},
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
40
|
+
"bin": {
|
|
41
|
+
"jco": "src/jco.js"
|
|
42
|
+
},
|
|
43
|
+
"files": [
|
|
44
|
+
"lib",
|
|
45
|
+
"src",
|
|
46
|
+
"obj/*.core*.wasm",
|
|
47
|
+
"obj/*.js",
|
|
48
|
+
"obj/*.ts",
|
|
49
|
+
"obj/interfaces"
|
|
50
|
+
],
|
|
51
|
+
"workspaces": [
|
|
52
|
+
".",
|
|
53
|
+
"examples/components/add",
|
|
54
|
+
"examples/components/http-hello-world",
|
|
55
|
+
"examples/components/node-fetch",
|
|
56
|
+
"examples/components/http-server-fetch-handler",
|
|
57
|
+
"examples/components/string-reverse",
|
|
58
|
+
"examples/components/string-reverse-upper",
|
|
59
|
+
"examples/components/webidl-book-library",
|
|
60
|
+
"packages/preview2-shim"
|
|
61
|
+
],
|
|
62
|
+
"scripts": {
|
|
63
|
+
"build": "cargo xtask build debug",
|
|
64
|
+
"build:release": "cargo xtask build release",
|
|
65
|
+
"build:types:preview2-shim": "cargo xtask generate wasi-types",
|
|
66
|
+
"lint": "eslint -c eslintrc.mjs src/**/*.js packages/*/lib/**/*.js",
|
|
67
|
+
"lint:fix": "npm run lint -- --fix",
|
|
68
|
+
"test": "vitest run -c test/vitest.ts",
|
|
69
|
+
"test:lts": "vitest run -c test/vitest.lts.ts",
|
|
70
|
+
"prepack": "cargo xtask build release"
|
|
24
71
|
},
|
|
25
|
-
"type": "module",
|
|
26
72
|
"dependencies": {
|
|
27
73
|
"@bytecodealliance/componentize-js": "^0.17.0",
|
|
28
74
|
"@bytecodealliance/preview2-shim": "^0.17.2",
|
|
@@ -50,48 +96,5 @@
|
|
|
50
96
|
"smol-toml": "^1.3.1",
|
|
51
97
|
"typescript": "^5.5.4",
|
|
52
98
|
"vitest": "^3.0.7"
|
|
53
|
-
}
|
|
54
|
-
"repository": {
|
|
55
|
-
"type": "git",
|
|
56
|
-
"url": "git+https://github.com/bytecodealliance/jco.git"
|
|
57
|
-
},
|
|
58
|
-
"keywords": [
|
|
59
|
-
"Wasm",
|
|
60
|
-
"WebAssembly",
|
|
61
|
-
"Component"
|
|
62
|
-
],
|
|
63
|
-
"license": "(Apache-2.0 WITH LLVM-exception)",
|
|
64
|
-
"bugs": {
|
|
65
|
-
"url": "https://github.com/bytecodealliance/jco/issues"
|
|
66
|
-
},
|
|
67
|
-
"homepage": "https://github.com/bytecodealliance/jco#readme",
|
|
68
|
-
"scripts": {
|
|
69
|
-
"build": "cargo xtask build debug",
|
|
70
|
-
"build:release": "cargo xtask build release",
|
|
71
|
-
"build:types:preview2-shim": "cargo xtask generate wasi-types",
|
|
72
|
-
"lint": "eslint -c eslintrc.mjs src/**/*.js packages/*/lib/**/*.js",
|
|
73
|
-
"lint:fix": "npm run lint -- --fix",
|
|
74
|
-
"test": "vitest run -c test/vitest.ts",
|
|
75
|
-
"test:lts": "vitest run -c test/vitest.lts.ts",
|
|
76
|
-
"prepack": "cargo xtask build release"
|
|
77
|
-
},
|
|
78
|
-
"files": [
|
|
79
|
-
"lib",
|
|
80
|
-
"src",
|
|
81
|
-
"obj/*.core*.wasm",
|
|
82
|
-
"obj/*.js",
|
|
83
|
-
"obj/*.ts",
|
|
84
|
-
"obj/interfaces"
|
|
85
|
-
],
|
|
86
|
-
"workspaces": [
|
|
87
|
-
".",
|
|
88
|
-
"examples/components/add",
|
|
89
|
-
"examples/components/http-hello-world",
|
|
90
|
-
"examples/components/node-fetch",
|
|
91
|
-
"examples/components/http-server-fetch-handler",
|
|
92
|
-
"examples/components/string-reverse",
|
|
93
|
-
"examples/components/string-reverse-upper",
|
|
94
|
-
"examples/components/webidl-book-library",
|
|
95
|
-
"packages/preview2-shim"
|
|
96
|
-
]
|
|
99
|
+
}
|
|
97
100
|
}
|
package/src/jco.js
CHANGED
|
@@ -13,7 +13,7 @@ program
|
|
|
13
13
|
.name('jco')
|
|
14
14
|
.description(c`{bold jco - WebAssembly JS Component Tools}\n JS Component Transpilation Bindgen & Wasm Tools for JS`)
|
|
15
15
|
.usage('<command> [options]')
|
|
16
|
-
.version('1.11.2-rc.
|
|
16
|
+
.version('1.11.2-rc.2');
|
|
17
17
|
|
|
18
18
|
function myParseInt(value) {
|
|
19
19
|
return parseInt(value, 10);
|