Skip to content

Commit 10d9b29

Browse files
feat: next.js 16 beta (#1442)
1 parent 79ece20 commit 10d9b29

File tree

6 files changed

+538
-264
lines changed

6 files changed

+538
-264
lines changed

next.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@ const nextConfig: NextConfig = {
6262
async redirects() {
6363
return redirects;
6464
},
65+
experimental: {
66+
turbopackFileSystemCacheForDev: true,
67+
},
6568
reactStrictMode: true,
69+
reactCompiler: true,
6670
};
6771

6872
export default nextConfig;

package.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"typescript"
1313
],
1414
"scripts": {
15-
"dev": "next dev --turbopack",
15+
"dev": "next dev",
1616
"build": "next build",
1717
"start": "next start",
1818
"type-check": "tsc --noEmit",
@@ -31,7 +31,8 @@
3131
},
3232
"dependencies": {
3333
"@t3-oss/env-nextjs": "0.13.8",
34-
"next": "15.5.6",
34+
"babel-plugin-react-compiler": "1.0.0",
35+
"next": "16.0.0-beta.0",
3536
"react": "19.2.0",
3637
"react-dom": "19.2.0",
3738
"zod": "4.1.12"
@@ -48,13 +49,19 @@
4849
"@typescript-eslint/eslint-plugin": "8.46.1",
4950
"@typescript-eslint/parser": "8.46.1",
5051
"eslint": "9.37.0",
51-
"eslint-config-next": "15.5.6",
52+
"eslint-config-next": "16.0.0-beta.0",
5253
"eslint-config-prettier": "10.1.8",
5354
"eslint-plugin-prettier": "5.5.4",
5455
"husky": "9.1.7",
5556
"lint-staged": "16.2.4",
5657
"prettier": "3.6.2",
5758
"prettier-plugin-sort-json": "4.1.1",
5859
"typescript": "5.9.3"
60+
},
61+
"pnpm": {
62+
"overrides": {
63+
"@types/react": "19.2.2",
64+
"@types/react-dom": "19.2.2"
65+
}
5966
}
6067
}

0 commit comments

Comments
 (0)