Skip to content

Commit f03d450

Browse files
authored
templates: bump payload versions, upgrade next.js to 15.2.0, fix eslint errors (#11486)
- Ensures website templates build without eslint errors - Upgrades all templates from Next.js 15.1.5 to 15.2.0 - Bumps all payload versions, updates all lockfiles to reference latest payload versions. The blank template was still installing 3.17.1 and the website template was installing 3.18.0 - Simplifies defaultLexical.ts
1 parent 398d48a commit f03d450

File tree

28 files changed

+3451
-6562
lines changed

28 files changed

+3451
-6562
lines changed

templates/_template/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@payloadcms/richtext-lexical": "latest",
2222
"cross-env": "^7.0.3",
2323
"graphql": "^16.8.1",
24-
"next": "15.1.5",
24+
"next": "15.2.0",
2525
"payload": "latest",
2626
"react": "19.0.0",
2727
"react-dom": "19.0.0",
@@ -30,10 +30,10 @@
3030
"devDependencies": {
3131
"@eslint/eslintrc": "^3.2.0",
3232
"@types/node": "^22.5.4",
33-
"@types/react": "19.0.7",
34-
"@types/react-dom": "19.0.3",
33+
"@types/react": "19.0.10",
34+
"@types/react-dom": "19.0.4",
3535
"eslint": "^9.16.0",
36-
"eslint-config-next": "15.1.5",
36+
"eslint-config-next": "15.2.0",
3737
"prettier": "^3.4.2",
3838
"typescript": "5.7.3"
3939
},

templates/blank/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@payloadcms/richtext-lexical": "latest",
2222
"cross-env": "^7.0.3",
2323
"graphql": "^16.8.1",
24-
"next": "15.1.5",
24+
"next": "15.2.0",
2525
"payload": "latest",
2626
"react": "19.0.0",
2727
"react-dom": "19.0.0",
@@ -30,10 +30,10 @@
3030
"devDependencies": {
3131
"@eslint/eslintrc": "^3.2.0",
3232
"@types/node": "^22.5.4",
33-
"@types/react": "19.0.7",
34-
"@types/react-dom": "19.0.3",
33+
"@types/react": "19.0.10",
34+
"@types/react-dom": "19.0.4",
3535
"eslint": "^9.16.0",
36-
"eslint-config-next": "15.1.5",
36+
"eslint-config-next": "15.2.0",
3737
"prettier": "^3.4.2",
3838
"typescript": "5.7.3"
3939
},

0 commit comments

Comments
 (0)