feat: upgrade to React 19 stable and Next.js 15.0.4 (#9801)

No need for those ugly @types/react overrides anymore!
This commit is contained in:
Alessio Gravili
2024-12-06 12:53:36 -07:00
committed by GitHub
parent 1aa23d3ea3
commit 8f3f44922e
30 changed files with 518 additions and 828 deletions

View File

@@ -26,15 +26,15 @@
"next": "^15.0.0",
"payload": "latest",
"payload-admin-bar": "^1.0.6",
"react": "19.0.0-rc-65a56d0e-20241020",
"react-dom": "19.0.0-rc-65a56d0e-20241020"
"react": "19.0.0",
"react-dom": "19.0.0"
},
"devDependencies": {
"@payloadcms/graphql": "latest",
"@swc/core": "^1.6.13",
"@types/escape-html": "^1.0.2",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"@types/react": "19.0.1",
"@types/react-dom": "19.0.1",
"eslint": "^8.57.0",
"eslint-config-next": "^15.0.0",
"slate": "^0.82.0",
@@ -43,15 +43,5 @@
},
"engines": {
"node": "^18.20.2 || >=20.9.0"
},
"pnpm": {
"overrides": {
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
}
},
"overrides": {
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
}
}