Skip to content

Commit bc3305c

Browse files
committed
update to be compatible with v4 of the JS SDK
Signed-off-by: karthik2804 <[email protected]>
1 parent cbff568 commit bc3305c

File tree

123 files changed

+3448
-5215
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+3448
-5215
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ lib/
33
*.wasm
44
dist/
55
target/
6+
dist/
7+
build/
68
.spin

package-lock.json

Lines changed: 0 additions & 250 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
2-
"name": "@fermyon/wasi-ext",
2+
"name": "@spinframework/wasi-ext",
33
"version": "0.1.1",
44
"description": "",
55
"main": "lib/index.js",
66
"scripts": {
77
"test": "(cd tests && ./test.sh)",
8-
"build": "tsc",
9-
"postinstall": "knitwit-postinstall --wit-path ../../wit --world js-wasi-ext"
8+
"build": "tsc"
109
},
1110
"repository": {
1211
"type": "git",
@@ -27,13 +26,20 @@
2726
"buffer": "^6.0.3",
2827
"path-browserify": "^1.0.1",
2928
"process": "^0.11.10",
30-
"webpack": "^5.92.0",
31-
"@fermyon/knitwit": "https://github.com/fermyon/knitwit#127f09d1f4c5992ee94243583940ef7e28df443e"
29+
"webpack": "^5.92.0"
3230
},
3331
"config": {
34-
"knitwit": {
35-
"witPath": "../../wit",
36-
"world": "js-wasi-ext"
37-
}
38-
}
32+
"witDeps": [
33+
{
34+
"witPath": "./wit",
35+
"package": "spinframework:[email protected]",
36+
"world": "js-wasi-ext"
37+
}
38+
]
39+
},
40+
"files": [
41+
"lib",
42+
"types",
43+
"plugin"
44+
]
3945
}

0 commit comments

Comments
 (0)