chore: upgrade from beta.36 to beta.40 and remove dotenv dependency, which is now unnecessary

This commit is contained in:
Alessio Gravili 2024-06-03 22:55:55 -04:00
parent d0313a48ba
commit 6e8236eb38
No known key found for this signature in database
GPG Key ID: 4343AC3FB47BC3B4
3 changed files with 505 additions and 537 deletions

View File

@ -19,16 +19,16 @@
"node": "^18.20.2 || >=20.6.0"
},
"dependencies": {
"@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",
"@payloadcms/db-mongodb": "3.0.0-beta.40",
"@payloadcms/db-postgres": "3.0.0-beta.40",
"@payloadcms/next": "3.0.0-beta.40",
"@payloadcms/richtext-lexical": "3.0.0-beta.40",
"@payloadcms/richtext-slate": "3.0.0-beta.40",
"@payloadcms/ui": "3.0.0-beta.40",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.0.0-rc.0",
"payload": "3.0.0-beta.36",
"payload": "3.0.0-beta.40",
"react": "19.0.0-rc-f994737d14-20240522",
"react-dom": "19.0.0-rc-f994737d14-20240522",
"sharp": "0.32.6",
@ -38,7 +38,6 @@
"@types/node": "^20.12.12",
"@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"

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,6 @@
import { getPayload } from 'payload'
import { importConfig } from 'payload/node'
import 'dotenv/config'
async function run() {
const awaitedConfig = await importConfig('../../payload.config.ts')