Skip to content

Commit e7c92ee

Browse files
authored
chore: update c3 template to Next 16 (#1084)
1 parent da0a613 commit e7c92ee

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

create-cloudflare/next/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
6-
"dev": "next dev --turbopack",
6+
"dev": "next dev",
77
"build": "next build",
88
"start": "next start",
99
"lint": "next lint",
@@ -13,8 +13,8 @@
1313
"cf-typegen": "wrangler types --env-interface CloudflareEnv ./cloudflare-env.d.ts"
1414
},
1515
"dependencies": {
16-
"@opennextjs/cloudflare": "^1.14.4",
17-
"next": "15.5.9",
16+
"@opennextjs/cloudflare": "^1.15.1",
17+
"next": "16.1.4",
1818
"react": "19.1.4",
1919
"react-dom": "19.1.4"
2020
},
@@ -27,7 +27,7 @@
2727
"eslint": "^9",
2828
"eslint-config-next": "15.4.6",
2929
"tailwindcss": "^4",
30-
"typescript": "^5",
31-
"wrangler": "^4.53.0"
30+
"typescript": "^5.7.4",
31+
"wrangler": "^4.59.3"
3232
}
3333
}

create-cloudflare/next/tsconfig.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"moduleResolution": "bundler",
1212
"resolveJsonModule": true,
1313
"isolatedModules": true,
14-
"jsx": "preserve",
14+
"jsx": "react-jsx",
1515
"incremental": true,
1616
"plugins": [
1717
{
@@ -20,8 +20,9 @@
2020
],
2121
"paths": {
2222
"@/*": ["./src/*"]
23-
}
23+
},
24+
"types": ["./cloudflare-env.d.ts", "node"]
2425
},
25-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
26+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
2627
"exclude": ["node_modules"]
2728
}

0 commit comments

Comments
 (0)