feat!: upgrade to beta.36, next 15 and react 19

This commit is contained in:
Alessio Gravili 2024-05-23 13:52:26 -04:00
parent d6a66f11a1
commit d0313a48ba
No known key found for this signature in database
GPG Key ID: 4343AC3FB47BC3B4
3 changed files with 721 additions and 606 deletions

View File

@ -3,6 +3,9 @@ import { withPayload } from '@payloadcms/next/withPayload'
/** @type {import('next').NextConfig} */
const nextConfig = {
// Your Next.js config here
experimental: {
reactCompiler: false
}
}
export default withPayload(nextConfig)

View File

@ -19,27 +19,38 @@
"node": "^18.20.2 || >=20.6.0"
},
"dependencies": {
"@payloadcms/db-mongodb": "3.0.0-beta.34",
"@payloadcms/db-postgres": "3.0.0-beta.34",
"@payloadcms/next": "3.0.0-beta.34",
"@payloadcms/richtext-lexical": "3.0.0-beta.34",
"@payloadcms/richtext-slate": "3.0.0-beta.34",
"@payloadcms/ui": "3.0.0-beta.34",
"@payloadcms/db-mongodb": "3.0.0-beta.36",
"@payloadcms/db-postgres": "3.0.0-beta.36",
"@payloadcms/next": "3.0.0-beta.36",
"@payloadcms/richtext-lexical": "3.0.0-beta.36",
"@payloadcms/richtext-slate": "3.0.0-beta.36",
"@payloadcms/ui": "3.0.0-beta.36",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "14.3.0-canary.68",
"payload": "3.0.0-beta.34",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sharp": "0.32.6"
"next": "15.0.0-rc.0",
"payload": "3.0.0-beta.36",
"react": "19.0.0-rc-f994737d14-20240522",
"react-dom": "19.0.0-rc-f994737d14-20240522",
"sharp": "0.32.6",
"babel-plugin-react-compiler": "^0.0.0-experimental-592953e-20240517"
},
"devDependencies": {
"@types/node": "^20.12.12",
"@types/react": "^18.2.64",
"@types/react-dom": "^18.2.21",
"@types/react": "npm:types-react@19.0.0-beta.2",
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-next": "14.2.3",
"typescript": "^5.4.5"
},
"pnpm": {
"overrides": {
"@types/react": "npm:types-react@19.0.0-beta.2",
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2"
}
},
"overrides": {
"@types/react": "npm:types-react@19.0.0-beta.2",
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2"
}
}

File diff suppressed because it is too large Load Diff