Skip to content

Commit d3b934c

Browse files
authored
templates: update next.js 15.4.4 to 15.4.7 (#14533)
This PR updates our templates and monorepo to use Next.js 15.4.7. Next.js 15.4.7 is the latest Next.js version that works reliably with Payload. [Next.js 15.5 or 16 currently has some issues](#14456).
1 parent e76da3f commit d3b934c

File tree

23 files changed

+197
-230
lines changed

23 files changed

+197
-230
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"devDependencies": {
139139
"@jest/globals": "29.7.0",
140140
"@libsql/client": "0.14.0",
141-
"@next/bundle-analyzer": "15.4.4",
141+
"@next/bundle-analyzer": "15.4.7",
142142
"@payloadcms/db-postgres": "workspace:*",
143143
"@payloadcms/eslint-config": "workspace:*",
144144
"@payloadcms/eslint-plugin": "workspace:*",
@@ -174,8 +174,8 @@
174174
"lint-staged": "15.2.7",
175175
"minimist": "1.2.8",
176176
"mongodb-memory-server": "10.1.4",
177+
"next": "15.4.7",
177178
"mongoose": "8.15.1",
178-
"next": "15.4.4",
179179
"open": "^10.1.0",
180180
"p-limit": "^5.0.0",
181181
"pg": "8.16.3",

packages/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"@babel/preset-env": "7.27.2",
128128
"@babel/preset-react": "7.27.1",
129129
"@babel/preset-typescript": "7.27.1",
130-
"@next/eslint-plugin-next": "15.4.4",
130+
"@next/eslint-plugin-next": "15.4.7",
131131
"@payloadcms/eslint-config": "workspace:*",
132132
"@types/busboy": "1.5.4",
133133
"@types/react": "19.1.12",

pnpm-lock.yaml

Lines changed: 103 additions & 136 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/_template/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@payloadcms/ui": "latest",
2525
"cross-env": "^7.0.3",
2626
"graphql": "^16.8.1",
27-
"next": "15.4.4",
27+
"next": "15.4.7",
2828
"payload": "latest",
2929
"react": "19.1.0",
3030
"react-dom": "19.1.0",
@@ -39,7 +39,7 @@
3939
"@types/react-dom": "19.1.6",
4040
"@vitejs/plugin-react": "4.5.2",
4141
"eslint": "^9.16.0",
42-
"eslint-config-next": "15.4.4",
42+
"eslint-config-next": "15.4.7",
4343
"jsdom": "26.1.0",
4444
"playwright": "1.56.1",
4545
"playwright-core": "1.56.1",

templates/blank/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"cross-env": "^7.0.3",
2626
"dotenv": "16.4.7",
2727
"graphql": "^16.8.1",
28-
"next": "15.4.4",
28+
"next": "15.4.7",
2929
"payload": "workspace:*",
3030
"react": "19.1.0",
3131
"react-dom": "19.1.0",
@@ -39,7 +39,7 @@
3939
"@types/react-dom": "19.1.6",
4040
"@vitejs/plugin-react": "4.5.2",
4141
"eslint": "^9.16.0",
42-
"eslint-config-next": "15.4.4",
42+
"eslint-config-next": "15.4.7",
4343
"jsdom": "26.1.0",
4444
"playwright": "1.56.1",
4545
"playwright-core": "1.56.1",

templates/ecommerce/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"devDependencies": {
7070
"@eslint/eslintrc": "^3.2.0",
7171
"@next/eslint-plugin-next": "^15.5.4",
72-
"@playwright/test": "1.50.0",
72+
"@playwright/test": "1.56.1",
7373
"@tailwindcss/container-queries": "^0.1.1",
7474
"@tailwindcss/postcss": "4.0.12",
7575
"@tailwindcss/typography": "^0.5.12",
@@ -87,8 +87,8 @@
8787
"eslint-plugin-react-hooks": "^5.2.0",
8888
"jsdom": "26.1.0",
8989
"lint-staged": "^15.2.2",
90-
"playwright": "1.50.0",
91-
"playwright-core": "1.50.0",
90+
"playwright": "1.56.1",
91+
"playwright-core": "1.56.1",
9292
"postcss": "^8.4.38",
9393
"prettier": "^3.4.2",
9494
"prettier-plugin-tailwindcss": "^0.6.11",

templates/plugin/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@payloadcms/next": "3.37.0",
5555
"@payloadcms/richtext-lexical": "3.37.0",
5656
"@payloadcms/ui": "3.37.0",
57-
"@playwright/test": "^1.52.0",
57+
"@playwright/test": "1.56.1",
5858
"@swc-node/register": "1.10.9",
5959
"@swc/cli": "0.6.0",
6060
"@types/node": "^22.5.4",
@@ -63,10 +63,10 @@
6363
"copyfiles": "2.4.1",
6464
"cross-env": "^7.0.3",
6565
"eslint": "^9.23.0",
66-
"eslint-config-next": "15.4.4",
66+
"eslint-config-next": "15.4.7",
6767
"graphql": "^16.8.1",
6868
"mongodb-memory-server": "10.1.4",
69-
"next": "15.4.4",
69+
"next": "15.4.7",
7070
"open": "^10.1.0",
7171
"payload": "3.37.0",
7272
"prettier": "^3.4.2",

templates/website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"geist": "^1.3.0",
4545
"graphql": "^16.8.2",
4646
"lucide-react": "^0.378.0",
47-
"next": "15.4.4",
47+
"next": "15.4.7",
4848
"next-sitemap": "^4.2.3",
4949
"payload": "workspace:*",
5050
"prism-react-renderer": "^2.3.1",
@@ -68,7 +68,7 @@
6868
"autoprefixer": "^10.4.19",
6969
"copyfiles": "^2.4.1",
7070
"eslint": "^9.16.0",
71-
"eslint-config-next": "15.4.4",
71+
"eslint-config-next": "15.4.7",
7272
"jsdom": "26.1.0",
7373
"playwright": "1.56.1",
7474
"playwright-core": "1.56.1",

templates/with-cloudflare-d1/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@
2626
},
2727
"dependencies": {
2828
"@opennextjs/cloudflare": "^1.6.5",
29-
"@payloadcms/db-d1-sqlite": "3.62.1",
30-
"@payloadcms/next": "3.62.1",
31-
"@payloadcms/richtext-lexical": "3.62.1",
32-
"@payloadcms/storage-r2": "3.62.1",
33-
"@payloadcms/ui": "3.62.1",
29+
"@payloadcms/db-d1-sqlite": "3.63.0",
30+
"@payloadcms/next": "3.63.0",
31+
"@payloadcms/richtext-lexical": "3.63.0",
32+
"@payloadcms/storage-r2": "3.63.0",
33+
"@payloadcms/ui": "3.63.0",
3434
"cross-env": "^7.0.3",
3535
"dotenv": "16.4.7",
3636
"graphql": "^16.8.1",
37-
"next": "15.4.4",
38-
"payload": "3.62.1",
37+
"next": "15.4.7",
38+
"payload": "3.63.0",
3939
"react": "19.1.0",
4040
"react-dom": "19.1.0"
4141
},
@@ -47,7 +47,7 @@
4747
"@types/react-dom": "19.1.6",
4848
"@vitejs/plugin-react": "4.5.2",
4949
"eslint": "^9.16.0",
50-
"eslint-config-next": "15.4.4",
50+
"eslint-config-next": "15.4.7",
5151
"jsdom": "26.1.0",
5252
"playwright": "1.56.1",
5353
"playwright-core": "1.56.1",

templates/with-postgres/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"type": "module",
77
"scripts": {
88
"build": "cross-env NODE_OPTIONS=--no-deprecation next build",
9-
"ci": "payload migrate && pnpm build",
109
"dev": "cross-env NODE_OPTIONS=--no-deprecation next dev",
1110
"devsafe": "rm -rf .next && cross-env NODE_OPTIONS=--no-deprecation next dev",
1211
"generate:importmap": "cross-env NODE_OPTIONS=--no-deprecation payload generate:importmap",
@@ -16,20 +15,21 @@
1615
"start": "cross-env NODE_OPTIONS=--no-deprecation next start",
1716
"test": "pnpm run test:int && pnpm run test:e2e",
1817
"test:e2e": "cross-env NODE_OPTIONS=\"--no-deprecation --no-experimental-strip-types\" pnpm exec playwright test",
19-
"test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts"
18+
"test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts",
19+
"ci": "payload migrate && pnpm build"
2020
},
2121
"dependencies": {
22-
"@payloadcms/db-postgres": "3.62.1",
23-
"@payloadcms/next": "3.62.1",
24-
"@payloadcms/richtext-lexical": "3.62.1",
25-
"@payloadcms/ui": "3.62.1",
22+
"@payloadcms/next": "3.63.0",
23+
"@payloadcms/richtext-lexical": "3.63.0",
24+
"@payloadcms/ui": "3.63.0",
2625
"cross-env": "^7.0.3",
2726
"graphql": "^16.8.1",
28-
"next": "15.4.4",
29-
"payload": "3.62.1",
27+
"next": "15.4.7",
28+
"payload": "3.63.0",
3029
"react": "19.1.0",
3130
"react-dom": "19.1.0",
32-
"sharp": "0.34.2"
31+
"sharp": "0.34.2",
32+
"@payloadcms/db-postgres": "3.63.0"
3333
},
3434
"devDependencies": {
3535
"@eslint/eslintrc": "^3.2.0",
@@ -40,7 +40,7 @@
4040
"@types/react-dom": "19.1.6",
4141
"@vitejs/plugin-react": "4.5.2",
4242
"eslint": "^9.16.0",
43-
"eslint-config-next": "15.4.4",
43+
"eslint-config-next": "15.4.7",
4444
"jsdom": "26.1.0",
4545
"playwright": "1.56.1",
4646
"playwright-core": "1.56.1",

0 commit comments

Comments
 (0)