Skip to content

Commit d640c5f

Browse files
committed
feat: upgrade to NextJS 16
1 parent ec4ba82 commit d640c5f

File tree

7 files changed

+663
-570
lines changed

7 files changed

+663
-570
lines changed

next.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ const withBundleAnalyzer = createBundleAnalyzer({
2222

2323
let nextConfig: NextConfig = {
2424
typedRoutes: true,
25+
reactCompiler: true,
26+
experimental: {
27+
turbopackFileSystemCacheForDev: true,
28+
},
2529
images: {
2630
deviceSizes: [384, 640, 768, 1024, 1280, 1536, 1920],
2731
formats: ["image/webp"],

package.json

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,54 +4,56 @@
44
"private": true,
55
"type": "module",
66
"scripts": {
7-
"build": "cross-env NODE_ENV=production next build --turbopack",
8-
"build:analyze": "cross-env ANALYZE=true next build --turbopack",
9-
"dev": "next dev --turbopack -H 0.0.0.0",
7+
"start": "cross-env NODE_ENV=production next start",
8+
"build": "cross-env NODE_ENV=production next build",
9+
"build:analyze": "cross-env ANALYZE=true next build",
10+
"dev": "next dev -H 0.0.0.0",
1011
"lint": "biome check",
1112
"lint:fix": "biome check --write --unsafe",
12-
"start": "cross-env NODE_ENV=production next start",
1313
"typecheck": "tsc --noEmit"
1414
},
1515
"dependencies": {
16-
"@posthog/nextjs-config": "^1.3.0",
16+
"@posthog/nextjs-config": "^1.3.2",
1717
"class-variance-authority": "^0.7.1",
1818
"client-only": "^0.0.1",
1919
"clsx": "^2.1.1",
20-
"envin": "^1.1.9",
21-
"next": "15.5.0",
20+
"envin": "^1.1.10",
21+
"next": "16.0.0-beta.0",
2222
"next-themes": "^0.4.6",
23-
"posthog-js": "^1.266.0",
24-
"posthog-node": "^5.8.4",
25-
"react": "19.1.1",
26-
"react-dom": "19.1.1",
23+
"nextjs-toploader": "^3.9.17",
24+
"posthog-js": "^1.275.1",
25+
"posthog-node": "^5.9.5",
26+
"react": "19.2.0",
27+
"react-dom": "19.2.0",
2728
"react-icons": "^5.5.0",
2829
"remeda": "^2.32.0",
2930
"server-only": "^0.0.1",
3031
"sharp": "^0.33.5",
3132
"tailwind-merge": "^3.3.1",
32-
"zod": "^4.1.8"
33+
"zod": "^4.1.12"
3334
},
3435
"devDependencies": {
35-
"@biomejs/biome": "^2.2.4",
36-
"@next/bundle-analyzer": "15.5.0",
37-
"@tailwindcss/postcss": "^4.1.13",
38-
"@tailwindcss/typography": "^0.5.16",
39-
"@types/node": "^20.19.15",
40-
"@types/react": "19.1.11",
41-
"@types/react-dom": "19.1.7",
36+
"@biomejs/biome": "^2.2.6",
37+
"@next/bundle-analyzer": "16.0.0-beta.0",
38+
"@tailwindcss/postcss": "^4.1.14",
39+
"@tailwindcss/typography": "^0.5.19",
40+
"@types/node": "^20.19.21",
41+
"@types/react": "19.2.2",
42+
"@types/react-dom": "19.2.1",
43+
"babel-plugin-react-compiler": "^1.0.0",
4244
"cross-env": "^7.0.3",
4345
"postcss": "^8.5.6",
44-
"tailwindcss": "^4.1.13",
46+
"tailwindcss": "^4.1.14",
4547
"tailwindcss-motion": "^1.1.1",
46-
"tw-animate-css": "^1.3.8",
47-
"typescript": "^5.9.2",
48+
"tw-animate-css": "^1.4.0",
49+
"typescript": "^5.9.3",
4850
"velite": "^0.3.0"
4951
},
5052
"packageManager": "[email protected]",
5153
"pnpm": {
5254
"overrides": {
53-
"@types/react": "19.1.11",
54-
"@types/react-dom": "19.1.7"
55+
"@types/react": "19.2.2",
56+
"@types/react-dom": "19.2.1"
5557
}
5658
}
5759
}

0 commit comments

Comments
 (0)