Skip to content

Commit fbe7bf2

Browse files
committed
update examples to v4 sdk
Signed-off-by: karthik2804 <[email protected]>
1 parent 154ae6a commit fbe7bf2

Some content is hidden

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

85 files changed

+157
-378
lines changed

examples/aws/s3/.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/aws/s3/config/knitwit.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

examples/aws/s3/package-lock.json

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

examples/aws/s3/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"build": "knitwit --out-dir build/wit/knitwit --out-world combined && npx webpack --mode=production && npx mkdirp dist && npx j2w -i build/bundle.js -d build/wit/knitwit -n combined -o dist/s3.wasm",
7+
"build": "npx webpack && mkdirp dist && j2w -i build/bundle.js -o dist/s3.wasm",
88
"test": "echo \"Error: no test specified\" && exit 1"
99
},
1010
"keywords": [],
@@ -19,7 +19,8 @@
1919
"@fermyon/knitwit": "0.3.0"
2020
},
2121
"dependencies": {
22-
"@fermyon/spin-sdk": "^3.0.0",
22+
"@spinframework/build-tools": "1.0.0",
23+
"@spinframework/wasi-http-proxy": "1.0.0",
2324
"itty-router": "^5.0.18",
2425
"@aws-sdk/client-s3": "^3.600.0"
2526
}

examples/aws/sqs/.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/aws/sqs/config/knitwit.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

examples/aws/sqs/package-lock.json

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

examples/aws/sqs/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"build": "knitwit --out-dir build/wit/knitwit --out-world combined && npx webpack --mode=production && npx mkdirp dist && npx j2w -i build/bundle.js -d build/wit/knitwit -n combined -o dist/sqs.wasm",
7+
"build": "npx webpack && mkdirp dist && j2w -i build/bundle.js -o dist/sqs.wasm",
88
"test": "echo \"Error: no test specified\" && exit 1"
99
},
1010
"keywords": [],
@@ -19,7 +19,8 @@
1919
"@fermyon/knitwit": "0.3.0"
2020
},
2121
"dependencies": {
22-
"@fermyon/spin-sdk": "^3.0.0",
22+
"@spinframework/build-tools": "1.0.0",
23+
"@spinframework/wasi-http-proxy": "1.0.0",
2324
"itty-router": "^5.0.18",
2425
"@aws-sdk/client-sqs": "^3.600.0"
2526
}

examples/blob-storage/backblaze/.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/blob-storage/backblaze/config/knitwit.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)