Skip to content

Commit f6a9a66

Browse files
csantosrMrRoiz
authored andcommitted
chore: upgrade to next 16
1 parent 86e40b2 commit f6a9a66

3 files changed

Lines changed: 284 additions & 236 deletions

File tree

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@
2121
"clsx": "^2.1.1",
2222
"jotai": "^2.15.0",
2323
"lucide-react": "^0.546.0",
24-
"next": "15.5.9",
2524
"negotiator": "^1.0.0",
26-
"next": "15.5.4",
25+
"next": "^16.1.1",
2726
"next-themes": "^0.4.6",
28-
"react": "19.1.0",
29-
"react-dom": "19.1.0",
27+
"react": "^19.2.3",
28+
"react-dom": "^19.2.3",
3029
"react-hook-form": "^7.65.0",
3130
"tailwind-merge": "^3.3.1",
3231
"zod": "^4.1.12"
@@ -35,8 +34,8 @@
3534
"@biomejs/biome": "2.2.0",
3635
"@tailwindcss/postcss": "^4",
3736
"@types/node": "^20",
38-
"@types/react": "^19",
39-
"@types/react-dom": "^19",
37+
"@types/react": "^19.2.7",
38+
"@types/react-dom": "^19.2.3",
4039
"tailwindcss": "^4",
4140
"tw-animate-css": "^1.4.0",
4241
"typescript": "^5"

tsconfig.json

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "ES2017",
4-
"lib": ["dom", "dom.iterable", "esnext"],
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
8+
],
59
"allowJs": true,
610
"skipLibCheck": true,
711
"strict": true,
@@ -11,21 +15,39 @@
1115
"moduleResolution": "bundler",
1216
"resolveJsonModule": true,
1317
"isolatedModules": true,
14-
"jsx": "preserve",
18+
"jsx": "react-jsx",
1519
"incremental": true,
1620
"plugins": [
1721
{
1822
"name": "next"
1923
}
2024
],
2125
"paths": {
22-
"@/lib/*": ["./app/_lib/*"],
23-
"@/game/*": ["./app/[lang]/game/*"],
24-
"@/providers/*": ["./app/_providers/*"],
25-
"@/primitives/*": ["./app/_primitives/*"],
26-
"@/dictionaries": ["./app/[lang]/dictionaries.ts"]
26+
"@/lib/*": [
27+
"./app/_lib/*"
28+
],
29+
"@/game/*": [
30+
"./app/[lang]/game/*"
31+
],
32+
"@/providers/*": [
33+
"./app/_providers/*"
34+
],
35+
"@/primitives/*": [
36+
"./app/_primitives/*"
37+
],
38+
"@/dictionaries": [
39+
"./app/[lang]/dictionaries.ts"
40+
]
2741
}
2842
},
29-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
30-
"exclude": ["node_modules"]
43+
"include": [
44+
"next-env.d.ts",
45+
"**/*.ts",
46+
"**/*.tsx",
47+
".next/types/**/*.ts",
48+
".next/dev/types/**/*.ts"
49+
],
50+
"exclude": [
51+
"node_modules"
52+
]
3153
}

0 commit comments

Comments
 (0)