Skip to content

Commit

Permalink
chore: upgrade all react and next-related packages (#9655)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AlessioGr authored Dec 2, 2024
1 parent 9d72408 commit 71ba4a8
Show file tree
Hide file tree
Showing 15 changed files with 1,141 additions and 903 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"devDependencies": {
"@jest/globals": "29.7.0",
"@libsql/client": "0.14.0",
"@next/bundle-analyzer": "15.0.0",
"@next/bundle-analyzer": "15.0.2",
"@payloadcms/db-postgres": "workspace:*",
"@payloadcms/eslint-config": "workspace:*",
"@payloadcms/eslint-plugin": "workspace:*",
Expand Down Expand Up @@ -148,15 +148,15 @@
"lint-staged": "15.2.7",
"minimist": "1.2.8",
"mongodb-memory-server": "^9.0",
"next": "15.0.0",
"next": "15.0.2",
"open": "^10.1.0",
"p-limit": "^5.0.0",
"playwright": "1.48.1",
"playwright-core": "1.48.1",
"prettier": "3.3.3",
"prompts": "2.4.2",
"react": "19.0.0-rc-65a56d0e-20241020",
"react-dom": "19.0.0-rc-65a56d0e-20241020",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"rimraf": "3.0.2",
"semver": "^7.5.4",
"sharp": "0.32.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"@babel/preset-env": "^7.24.5",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@next/eslint-plugin-next": "15.0.0",
"@next/eslint-plugin-next": "15.0.3",
"@payloadcms/eslint-config": "workspace:*",
"@types/busboy": "1.5.4",
"@types/react": "npm:types-react@19.0.0-rc.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"react-datepicker": "7.5.0",
"react-image-crop": "10.1.8",
"react-select": "5.8.3",
"scheduler": "0.0.0-experimental-3edc000d-20240926",
"scheduler": "0.25.0-rc-66855b96-20241106",
"sonner": "^1.5.0",
"ts-essentials": "10.0.3",
"use-context-selector": "2.0.0",
Expand Down
849 changes: 546 additions & 303 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions templates/_template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@
"@payloadcms/richtext-lexical": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.0.0",
"next": "15.0.3",
"payload": "latest",
"react": "19.0.0-rc-65a56d0e-20241020",
"react-dom": "19.0.0-rc-65a56d0e-20241020",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"sharp": "0.32.6"
},
"devDependencies": {
"@types/node": "^22.5.4",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"eslint": "^8",
"eslint-config-next": "15.0.0",
"eslint-config-next": "15.0.3",
"typescript": "5.7.2"
},
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions templates/blank/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@
"@payloadcms/richtext-lexical": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.0.0",
"next": "15.0.3",
"payload": "latest",
"react": "19.0.0-rc-65a56d0e-20241020",
"react-dom": "19.0.0-rc-65a56d0e-20241020",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"sharp": "0.32.6"
},
"devDependencies": {
"@types/node": "^22.5.4",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"eslint": "^8",
"eslint-config-next": "15.0.0",
"eslint-config-next": "15.0.3",
"typescript": "5.7.2"
},
"engines": {
Expand Down
411 changes: 203 additions & 208 deletions templates/blank/pnpm-lock.yaml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions templates/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
"graphql": "^16.8.2",
"jsonwebtoken": "9.0.2",
"lucide-react": "^0.378.0",
"next": "^15",
"next": "^15.0.3",
"payload": "latest",
"payload-admin-bar": "^1.0.6",
"prism-react-renderer": "^2.3.1",
"react": "19.0.0-rc-65a56d0e-20241020",
"react-dom": "19.0.0-rc-65a56d0e-20241020",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"react-hook-form": "7.45.4",
"sharp": "0.32.6",
"tailwind-merge": "^2.3.0",
Expand All @@ -63,7 +63,7 @@
"autoprefixer": "^10.4.19",
"copyfiles": "^2.4.1",
"eslint": "^8",
"eslint-config-next": "15.0.0",
"eslint-config-next": "^15.0.3",
"postcss": "^8.4.38",
"prettier": "^3.0.3",
"tailwindcss": "^3.4.3",
Expand Down
700 changes: 350 additions & 350 deletions templates/website/pnpm-lock.yaml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions templates/with-payload-cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@
"@payloadcms/richtext-lexical": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.0.0",
"next": "15.0.3",
"payload": "latest",
"react": "19.0.0-rc-65a56d0e-20241020",
"react-dom": "19.0.0-rc-65a56d0e-20241020",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"sharp": "0.32.6"
},
"devDependencies": {
"@types/node": "^22.5.4",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"eslint": "^8",
"eslint-config-next": "15.0.0",
"eslint-config-next": "15.0.3",
"typescript": "5.7.2"
},
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions templates/with-postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
"@payloadcms/richtext-lexical": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.0.0",
"next": "15.0.3",
"payload": "latest",
"react": "19.0.0-rc-65a56d0e-20241020",
"react-dom": "19.0.0-rc-65a56d0e-20241020",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"sharp": "0.32.6"
},
"devDependencies": {
"@types/node": "^22.5.4",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"eslint": "^8",
"eslint-config-next": "15.0.0",
"eslint-config-next": "15.0.3",
"typescript": "5.7.2"
},
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions templates/with-vercel-mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@
"@payloadcms/storage-vercel-blob": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.0.0",
"next": "15.0.3",
"payload": "latest",
"react": "19.0.0-rc-65a56d0e-20241020",
"react-dom": "19.0.0-rc-65a56d0e-20241020"
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106"
},
"devDependencies": {
"@types/node": "^22.5.4",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"eslint": "^8",
"eslint-config-next": "15.0.0",
"eslint-config-next": "15.0.3",
"typescript": "5.7.2"
},
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions templates/with-vercel-postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
"@payloadcms/storage-vercel-blob": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.0.0",
"next": "15.0.3",
"payload": "latest",
"react": "19.0.0-rc-65a56d0e-20241020",
"react-dom": "19.0.0-rc-65a56d0e-20241020"
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106"
},
"devDependencies": {
"@types/node": "^22.5.4",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"eslint": "^8",
"eslint-config-next": "15.0.0",
"eslint-config-next": "15.0.3",
"typescript": "5.7.2"
},
"engines": {
Expand Down
10 changes: 5 additions & 5 deletions templates/with-vercel-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@
"graphql": "^16.8.2",
"jsonwebtoken": "9.0.2",
"lucide-react": "^0.378.0",
"next": "^15",
"next": "^15.0.3",
"payload": "latest",
"payload-admin-bar": "^1.0.6",
"prism-react-renderer": "^2.3.1",
"react": "19.0.0-rc-65a56d0e-20241020",
"react-dom": "19.0.0-rc-65a56d0e-20241020",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"react-hook-form": "7.45.4",
"sharp": "0.32.6",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@next/eslint-plugin-next": "^13.1.6",
"@next/eslint-plugin-next": "^15.0.3",
"@payloadcms/eslint-config": "^1.1.1",
"@tailwindcss/typography": "^0.5.13",
"@types/escape-html": "^1.0.2",
Expand All @@ -65,7 +65,7 @@
"autoprefixer": "^10.4.19",
"copyfiles": "^2.4.1",
"eslint": "^8",
"eslint-config-next": "15.0.0",
"eslint-config-next": "15.0.3",
"postcss": "^8.4.38",
"prettier": "^3.0.3",
"tailwindcss": "^3.4.3",
Expand Down
6 changes: 3 additions & 3 deletions test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@
"http-status": "1.6.2",
"jwt-decode": "4.0.0",
"mongoose": "8.8.1",
"next": "15.0.0",
"next": "15.0.2",
"payload": "workspace:*",
"qs-esm": "7.0.2",
"react": "19.0.0-rc-65a56d0e-20241020",
"react-dom": "19.0.0-rc-65a56d0e-20241020",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"server-only": "^0.0.1",
"slate": "0.91.4",
"tempy": "^1.0.1",
Expand Down

0 comments on commit 71ba4a8

Please sign in to comment.