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

@@ -64,8 +64,8 @@
},
"devDependencies": {
"@payloadcms/eslint-config": "workspace:*",
"@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",
"payload": "workspace:*"
},
"peerDependencies": {
@@ -95,9 +95,5 @@
"registry": "https://registry.npmjs.org/",
"types": "./dist/index.d.ts"
},
"homepage:": "https://payloadcms.com",
"overrides": {
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
}
"homepage:": "https://payloadcms.com"
}