File tree 3 files changed +52
-49
lines changed
3 files changed +52
-49
lines changed Original file line number Diff line number Diff line change 1
1
{
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 1
1
{
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
3
3
[application ]
4
4
authors = [
" karthik2804 <[email protected] >" ]
5
5
description = " "
6
- name = " outbound-http "
6
+ name = " routing-requests "
7
7
version = " 0.1.0"
8
8
9
9
[[trigger .http ]]
10
10
route = " /..."
11
- component = " outbound-http "
11
+ component = " routing-requests "
12
12
13
- [component .outbound-http ]
14
- source = " target/outbound-http .wasm"
13
+ [component .routing-requests ]
14
+ source = " target/routing-requests .wasm"
15
15
exclude_files = [" **/node_modules" ]
16
- [component .outbound-http .build ]
16
+ [component .routing-requests .build ]
17
17
command = " npm run build"
18
18
watch = [" src/**/*.ts" , " package.json" ]
You can’t perform that action at this time.
0 commit comments