File tree Expand file tree Collapse file tree 3 files changed +52
-49
lines changed Expand file tree Collapse file tree 3 files changed +52
-49
lines changed Original file line number Diff line number Diff line change 11{
2- "name" : " outbound-http" ,
3- "version" : " 1.0.0" ,
4- "description" : " " ,
5- "main" : " index.js" ,
6- "scripts" : {
7- "build" : " npx webpack --mode=production && npx mkdirp target && npx j2w -i dist.js -n spin-http -o target/outbound-http.wasm" ,
8- "test" : " echo \" Error: no test specified\" && exit 1"
9- },
10- "keywords" : [],
11- "author" : " " ,
12- "license" : " ISC" ,
13- "devDependencies" : {
14- "mkdirp" : " ^3.0.1" ,
15- "ts-loader" : " ^9.4.1" ,
16- "typescript" : " ^4.8.4" ,
17- "webpack" : " ^5.74.0" ,
18- "webpack-cli" : " ^4.10.0"
19- },
20- "dependencies" : {
21- "@fermyon/spin-sdk" : " ^2.0.0"
22- }
23- }
2+ "name" : " outbound-http" ,
3+ "version" : " 1.0.0" ,
4+ "description" : " " ,
5+ "main" : " index.js" ,
6+ "scripts" : {
7+ "build" : " npx webpack --mode=production && npx mkdirp target && npx j2w -i dist.js -d combined-wit -n combined -o target/outbound-http.wasm" ,
8+ "test" : " echo \" Error: no test specified\" && exit 1" ,
9+ "postinstall" : " knitwit"
10+ },
11+ "keywords" : [],
12+ "author" : " " ,
13+ "license" : " ISC" ,
14+ "devDependencies" : {
15+ "mkdirp" : " ^3.0.1" ,
16+ "ts-loader" : " ^9.4.1" ,
17+ "typescript" : " ^4.8.4" ,
18+ "webpack" : " ^5.74.0" ,
19+ "webpack-cli" : " ^4.10.0"
20+ },
21+ "dependencies" : {
22+ "@fermyon/spin-sdk" : " ^2.3.0"
23+ }
24+ }
25+
Original file line number Diff line number Diff line change 11{
2- "name" : " outbound-http" ,
3- "version" : " 1.0.0" ,
4- "description" : " " ,
5- "main" : " index.js" ,
6- "scripts" : {
7- "build" : " npx webpack --mode=production && npx mkdirp target && npx j2w -i dist.js -n spin-http -o target/outbound-http.wasm" ,
8- "test" : " echo \" Error: no test specified\" && exit 1"
9- },
10- "keywords" : [],
11- "author" : " " ,
12- "license" : " ISC" ,
13- "devDependencies" : {
14- "mkdirp" : " ^3.0.1" ,
15- "ts-loader" : " ^9.4.1" ,
16- "typescript" : " ^4.8.4" ,
17- "webpack" : " ^5.74.0" ,
18- "webpack-cli" : " ^4.10.0"
19- },
20- "dependencies" : {
21- "@fermyon/spin-sdk" : " ^2.0.0"
22- }
23- }
2+ "name" : " routing-requests" ,
3+ "version" : " 1.0.0" ,
4+ "description" : " " ,
5+ "main" : " index.js" ,
6+ "scripts" : {
7+ "build" : " npx webpack --mode=production && npx mkdirp target && npx j2w -i dist.js -d combined-wit -n combined -o target/routing-requests.wasm" ,
8+ "test" : " echo \" Error: no test specified\" && exit 1" ,
9+ "postinstall" : " knitwit"
10+ },
11+ "keywords" : [],
12+ "author" : " " ,
13+ "license" : " ISC" ,
14+ "devDependencies" : {
15+ "mkdirp" : " ^3.0.1" ,
16+ "ts-loader" : " ^9.4.1" ,
17+ "typescript" : " ^4.8.4" ,
18+ "webpack" : " ^5.74.0" ,
19+ "webpack-cli" : " ^4.10.0"
20+ },
21+ "dependencies" : {
22+ "@fermyon/spin-sdk" : " ^2.3.0"
23+ }
24+ }
Original file line number Diff line number Diff line change @@ -3,16 +3,16 @@ spin_manifest_version = 2
33[application ]
44authors = [
" karthik2804 <[email protected] >" ]
55description = " "
6- name = " outbound-http "
6+ name = " routing-requests "
77version = " 0.1.0"
88
99[[trigger .http ]]
1010route = " /..."
11- component = " outbound-http "
11+ component = " routing-requests "
1212
13- [component .outbound-http ]
14- source = " target/outbound-http .wasm"
13+ [component .routing-requests ]
14+ source = " target/routing-requests .wasm"
1515exclude_files = [" **/node_modules" ]
16- [component .outbound-http .build ]
16+ [component .routing-requests .build ]
1717command = " npm run build"
1818watch = [" src/**/*.ts" , " package.json" ]
You can’t perform that action at this time.
0 commit comments