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

@@ -71,8 +71,8 @@
"@payloadcms/eslint-config": "workspace:*",
"@payloadcms/next": "workspace:*",
"@types/lodash.get": "^4.4.7",
"@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",
"@types/uuid": "10.0.0",
"payload": "workspace:*"
},
@@ -101,9 +101,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"
}