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

@@ -45,8 +45,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": {
@@ -64,9 +64,5 @@
"main": "./dist/index.js",
"registry": "https://registry.npmjs.org/",
"types": "./dist/index.d.ts"
},
"overrides": {
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
}
}