Skip to content

Commit 60170af

Browse files
author
DevBot
committed
fix(create,tools): drop streaming from starter templates; critical-path env permission
The packed-starter typecheck gate caught renderIntent.streaming in the create templates after the option was removed from definePage.
1 parent c78d429 commit 60170af

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"nitro:proof:node": "deno run --allow-read --allow-write --allow-run --allow-env --allow-net tools/nitro-proof.ts node",
9191
"nitro:proof:workers": "deno run --allow-read --allow-write --allow-run --allow-env --allow-net tools/nitro-proof.ts workers",
9292
"test:coverage:check": "deno run --allow-read --allow-run --allow-write --allow-env --allow-net --allow-ffi --allow-sys tools/check-coverage.ts --threshold 73 --branch-threshold 82 --function-threshold 77",
93-
"test:critical-paths": "deno run --allow-read --allow-run tools/check-critical-path-tests.ts",
93+
"test:critical-paths": "deno run --allow-read --allow-run --allow-env tools/check-critical-path-tests.ts",
9494
"consumer:element-smoke": "deno run -A tools/consumer-smoke.ts --local",
9595
"typecheck": "deno task generate:ui-manifest && deno run --allow-read --allow-run --allow-env tools/run-package-graph-task.ts typecheck",
9696
"lint": "deno lint",

packages/create/templates/app/routes/freshness.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export default definePage({
3030
},
3131
renderIntent: {
3232
mode: 'static',
33-
streaming: 'auto',
3433
revalidate: 300,
3534
},
3635
render() {

packages/create/templates/app/routes/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export default definePage({
3636
},
3737
renderIntent: {
3838
mode: 'static',
39-
streaming: 'auto',
4039
revalidate: false,
4140
},
4241
render() {

0 commit comments

Comments
 (0)