File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 2323 "itty-router" : " ^5.0.18" ,
2424 {%- endcase % }
2525 "@spinframework/build-tools" : " ^1.0.1" ,
26- "@spinframework/wasi-http-proxy" : " ^1.0.0" ,
26+ "@spinframework/wasi-http-proxy" : " ^1.0.0"
2727 }
2828}
Original file line number Diff line number Diff line change 44 "description" : " {{project-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/{{ project-name | kebab_case }}.wasm" ,
7+ "build" : " npx webpack && mkdirp dist && j2w -i build/bundle.js -o dist/{{ project-name | kebab_case }}.wasm" ,
88 "test" : " echo \" Error: no test specified\" && exit 1"
99 },
1010 "keywords" : [],
1515 "ts-loader" : " ^9.4.1" ,
1616 "typescript" : " ^4.8.4" ,
1717 "webpack" : " ^5.74.0" ,
18- "webpack-cli" : " ^4.10.0" ,
19- "@fermyon/knitwit" : " 0.3.0"
18+ "webpack-cli" : " ^4.10.0"
2019 },
2120 "dependencies" : {
22- "@fermyon/spin-sdk" : " ^3.0.0" ,
23- "itty-router" : " ^5.0.18"
21+ {%- case http-router -% }
22+ {% when "hono" % }
23+ "hono" : " ^4.7.4" ,
24+ {% when "itty" % }
25+ "itty-router" : " ^5.0.18" ,
26+ {%- endcase % }
27+ "@spinframework/build-tools" : " ^1.0.1" ,
28+ "@spinframework/wasi-http-proxy" : " ^1.0.0"
2429 }
2530}
You can’t perform that action at this time.
0 commit comments