Skip to content

Commit adf3f44

Browse files
committed
chore: update test apps to safe next.js versions
1 parent bdab462 commit adf3f44

File tree

4 files changed

+2737
-1104
lines changed

4 files changed

+2737
-1104
lines changed

apps/nextjs-15/package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@
1010
},
1111
"dependencies": {
1212
"@vercel/analytics": "workspace:^",
13-
"next": "15.0.1",
14-
"react": "19.0.0-rc-69d4b800-20241021",
15-
"react-dom": "19.0.0-rc-69d4b800-20241021"
13+
"next": "16.0.7",
14+
"react": "latest",
15+
"react-dom": "latest"
1616
},
1717
"devDependencies": {
1818
"@types/node": "^20",
19-
"@types/react": "npm:types-react@19.0.0-rc.1",
20-
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
21-
"eslint-config-next": "15.0.1",
22-
"typescript": "^5"
19+
"@types/react": "^19.2.7",
20+
"@types/react-dom": "^18.2.7",
21+
"eslint-config-next": "15.0.1"
2322
},
2423
"pnpm": {
2524
"overrides": {

apps/nextjs-15/tsconfig.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"moduleResolution": "bundler",
1111
"resolveJsonModule": true,
1212
"isolatedModules": true,
13-
"jsx": "preserve",
13+
"jsx": "react-jsx",
1414
"incremental": true,
1515
"plugins": [
1616
{
@@ -22,6 +22,12 @@
2222
},
2323
"target": "ES2017"
2424
},
25-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
25+
"include": [
26+
"next-env.d.ts",
27+
"**/*.ts",
28+
"**/*.tsx",
29+
".next/types/**/*.ts",
30+
".next/dev/types/**/*.ts"
31+
],
2632
"exclude": ["node_modules"]
2733
}

apps/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@vercel/analytics": "workspace:*",
14-
"next": "14.1.0",
14+
"next": "14.2.35",
1515
"react": "^18.3.1",
1616
"react-dom": "^18.3.1"
1717
},

0 commit comments

Comments
 (0)