Skip to content

Commit 71ba4a8

Browse files
authored
chore: upgrade all react and next-related packages (#9655)
This PR updates all react and next-related packages to the latest version in our test directory and in our templates, while still allowing older versions to be used. Additionally, this ensures that the "scheduler" package version we install matches the version installed by react-dom
1 parent 9d72408 commit 71ba4a8

File tree

15 files changed

+1141
-903
lines changed

15 files changed

+1141
-903
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"devDependencies": {
109109
"@jest/globals": "29.7.0",
110110
"@libsql/client": "0.14.0",
111-
"@next/bundle-analyzer": "15.0.0",
111+
"@next/bundle-analyzer": "15.0.2",
112112
"@payloadcms/db-postgres": "workspace:*",
113113
"@payloadcms/eslint-config": "workspace:*",
114114
"@payloadcms/eslint-plugin": "workspace:*",
@@ -148,15 +148,15 @@
148148
"lint-staged": "15.2.7",
149149
"minimist": "1.2.8",
150150
"mongodb-memory-server": "^9.0",
151-
"next": "15.0.0",
151+
"next": "15.0.2",
152152
"open": "^10.1.0",
153153
"p-limit": "^5.0.0",
154154
"playwright": "1.48.1",
155155
"playwright-core": "1.48.1",
156156
"prettier": "3.3.3",
157157
"prompts": "2.4.2",
158-
"react": "19.0.0-rc-65a56d0e-20241020",
159-
"react-dom": "19.0.0-rc-65a56d0e-20241020",
158+
"react": "19.0.0-rc-66855b96-20241106",
159+
"react-dom": "19.0.0-rc-66855b96-20241106",
160160
"rimraf": "3.0.2",
161161
"semver": "^7.5.4",
162162
"sharp": "0.32.6",

packages/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"@babel/preset-env": "^7.24.5",
105105
"@babel/preset-react": "^7.24.1",
106106
"@babel/preset-typescript": "^7.24.1",
107-
"@next/eslint-plugin-next": "15.0.0",
107+
"@next/eslint-plugin-next": "15.0.3",
108108
"@payloadcms/eslint-config": "workspace:*",
109109
"@types/busboy": "1.5.4",
110110
"@types/react": "npm:types-react@19.0.0-rc.1",

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
"react-datepicker": "7.5.0",
119119
"react-image-crop": "10.1.8",
120120
"react-select": "5.8.3",
121-
"scheduler": "0.0.0-experimental-3edc000d-20240926",
121+
"scheduler": "0.25.0-rc-66855b96-20241106",
122122
"sonner": "^1.5.0",
123123
"ts-essentials": "10.0.3",
124124
"use-context-selector": "2.0.0",

pnpm-lock.yaml

Lines changed: 546 additions & 303 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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@
2121
"@payloadcms/richtext-lexical": "latest",
2222
"cross-env": "^7.0.3",
2323
"graphql": "^16.8.1",
24-
"next": "15.0.0",
24+
"next": "15.0.3",
2525
"payload": "latest",
26-
"react": "19.0.0-rc-65a56d0e-20241020",
27-
"react-dom": "19.0.0-rc-65a56d0e-20241020",
26+
"react": "19.0.0-rc-66855b96-20241106",
27+
"react-dom": "19.0.0-rc-66855b96-20241106",
2828
"sharp": "0.32.6"
2929
},
3030
"devDependencies": {
3131
"@types/node": "^22.5.4",
3232
"@types/react": "npm:types-react@19.0.0-rc.1",
3333
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
3434
"eslint": "^8",
35-
"eslint-config-next": "15.0.0",
35+
"eslint-config-next": "15.0.3",
3636
"typescript": "5.7.2"
3737
},
3838
"engines": {

templates/blank/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@
2121
"@payloadcms/richtext-lexical": "latest",
2222
"cross-env": "^7.0.3",
2323
"graphql": "^16.8.1",
24-
"next": "15.0.0",
24+
"next": "15.0.3",
2525
"payload": "latest",
26-
"react": "19.0.0-rc-65a56d0e-20241020",
27-
"react-dom": "19.0.0-rc-65a56d0e-20241020",
26+
"react": "19.0.0-rc-66855b96-20241106",
27+
"react-dom": "19.0.0-rc-66855b96-20241106",
2828
"sharp": "0.32.6"
2929
},
3030
"devDependencies": {
3131
"@types/node": "^22.5.4",
3232
"@types/react": "npm:types-react@19.0.0-rc.1",
3333
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
3434
"eslint": "^8",
35-
"eslint-config-next": "15.0.0",
35+
"eslint-config-next": "15.0.3",
3636
"typescript": "5.7.2"
3737
},
3838
"engines": {

templates/blank/pnpm-lock.yaml

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

templates/website/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
"graphql": "^16.8.2",
4141
"jsonwebtoken": "9.0.2",
4242
"lucide-react": "^0.378.0",
43-
"next": "^15",
43+
"next": "^15.0.3",
4444
"payload": "latest",
4545
"payload-admin-bar": "^1.0.6",
4646
"prism-react-renderer": "^2.3.1",
47-
"react": "19.0.0-rc-65a56d0e-20241020",
48-
"react-dom": "19.0.0-rc-65a56d0e-20241020",
47+
"react": "19.0.0-rc-66855b96-20241106",
48+
"react-dom": "19.0.0-rc-66855b96-20241106",
4949
"react-hook-form": "7.45.4",
5050
"sharp": "0.32.6",
5151
"tailwind-merge": "^2.3.0",
@@ -63,7 +63,7 @@
6363
"autoprefixer": "^10.4.19",
6464
"copyfiles": "^2.4.1",
6565
"eslint": "^8",
66-
"eslint-config-next": "15.0.0",
66+
"eslint-config-next": "^15.0.3",
6767
"postcss": "^8.4.38",
6868
"prettier": "^3.0.3",
6969
"tailwindcss": "^3.4.3",

templates/website/pnpm-lock.yaml

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

templates/with-payload-cloud/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@
2121
"@payloadcms/richtext-lexical": "latest",
2222
"cross-env": "^7.0.3",
2323
"graphql": "^16.8.1",
24-
"next": "15.0.0",
24+
"next": "15.0.3",
2525
"payload": "latest",
26-
"react": "19.0.0-rc-65a56d0e-20241020",
27-
"react-dom": "19.0.0-rc-65a56d0e-20241020",
26+
"react": "19.0.0-rc-66855b96-20241106",
27+
"react-dom": "19.0.0-rc-66855b96-20241106",
2828
"sharp": "0.32.6"
2929
},
3030
"devDependencies": {
3131
"@types/node": "^22.5.4",
3232
"@types/react": "npm:types-react@19.0.0-rc.1",
3333
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
3434
"eslint": "^8",
35-
"eslint-config-next": "15.0.0",
35+
"eslint-config-next": "15.0.3",
3636
"typescript": "5.7.2"
3737
},
3838
"engines": {

0 commit comments

Comments
 (0)