File tree Expand file tree Collapse file tree 5 files changed +16
-8
lines changed
packages/create-cloudflare
templates-experimental/next Expand file tree Collapse file tree 5 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " create-cloudflare " : patch
3+ ---
4+
5+ Update the Next.js experimental template
6+
7+ - Use create-next-app@^14.2.23
8+ - Rename wrangler types output to cloudflare-env.d.ts
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ function getFrameworkTests(opts: {
182182 next : {
183183 testCommitMessage : false ,
184184 verifyBuildCfTypes : {
185- outputFile : "env.d.ts" ,
185+ outputFile : "cloudflare- env.d.ts" ,
186186 envInterfaceName : "CloudflareEnv" ,
187187 } ,
188188 verifyPreview : {
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export default {
3636 // TODO: here we need to specify a version of create-next-app which is different from the
3737 // standard one used in the stable Next.js template, that's because our open-next adapter
3838 // is not yet fully ready for Next.js 15, once it is we should remove the following
39- frameworkCliPinnedVersion : "14.2.5 " ,
39+ frameworkCliPinnedVersion : "^ 14.2.23 " ,
4040 platform : "workers" ,
4141 displayName : "Next.js (using Node.js compat + Workers Assets)" ,
4242 path : "templates-experimental/next" ,
@@ -49,7 +49,7 @@ export default {
4949 scripts : {
5050 deploy : `opennextjs-cloudflare && wrangler deploy` ,
5151 preview : `opennextjs-cloudflare && wrangler dev` ,
52- "cf-typegen" : `wrangler types --env-interface CloudflareEnv env.d.ts` ,
52+ "cf-typegen" : `wrangler types --env-interface CloudflareEnv cloudflare- env.d.ts` ,
5353 } ,
5454 } ) ,
5555 devScript : "dev" ,
Original file line number Diff line number Diff line change 1+ // Generated by Wrangler
2+ // by running `wrangler types --env-interface CloudflareEnv cloudflare-env.d.ts`
3+
4+ interface CloudflareEnv {
5+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments