feat!: upgrade minimum node 20 version from 20.6.0 to 20.9.0 (#6659)

**BREAKING**:
- This bumps the minimum required node version from node 20.6.0 to node
20.9.0. This is because 20.6.0 breaks type generation due to a CJS node
bug, and 20.9.0 is the next v20 LTS version. The minimum node 18 version
stays the same (18.20.2)
This commit is contained in:
Alessio Gravili
2024-06-06 13:15:21 -04:00
committed by GitHub
parent 66e00f8172
commit 9bd9e7a986
20 changed files with 33 additions and 27 deletions

View File

@@ -14,17 +14,17 @@
"start": "cross-env NODE_OPTIONS=--no-deprecation next start"
},
"dependencies": {
"@payloadcms/db-postgres": "beta",
"@payloadcms/next": "beta",
"@payloadcms/plugin-cloud": "beta",
"@payloadcms/richtext-lexical": "beta",
"@payloadcms/storage-vercel-blob": "beta",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.0.0-rc.0",
"payload": "beta",
"react": "^19.0.0-rc-f994737d14-20240522",
"react-dom": "^19.0.0-rc-f994737d14-20240522",
"@payloadcms/db-postgres": "beta",
"@payloadcms/storage-vercel-blob": "beta"
"react-dom": "^19.0.0-rc-f994737d14-20240522"
},
"devDependencies": {
"@types/node": "^20.12.12",
@@ -36,7 +36,7 @@
"typescript": "^5.4.5"
},
"engines": {
"node": "^18.20.2 || >=20.6.0"
"node": "^18.20.2 || >=20.9.0"
},
"pnpm": {
"overrides": {