templates: bump Payload and Next.js dependencies (#11641)

This bumps Payload to 3.28.0 and Next.js to 15.2.2 in all templates.
This commit is contained in:
Alessio Gravili
2025-03-12 08:48:07 -06:00
committed by GitHub
parent b44603b253
commit c4fd27de01
20 changed files with 1048 additions and 1042 deletions

View File

@@ -21,7 +21,7 @@
"@payloadcms/richtext-lexical": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.2.0",
"next": "15.2.2",
"payload": "latest",
"react": "19.0.0",
"react-dom": "19.0.0",
@@ -33,7 +33,7 @@
"@types/react": "19.0.10",
"@types/react-dom": "19.0.4",
"eslint": "^9.16.0",
"eslint-config-next": "15.2.0",
"eslint-config-next": "15.2.2",
"prettier": "^3.4.2",
"typescript": "5.7.3"
},

View File

@@ -21,7 +21,7 @@
"@payloadcms/richtext-lexical": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.2.0",
"next": "15.2.2",
"payload": "latest",
"react": "19.0.0",
"react-dom": "19.0.0",
@@ -33,7 +33,7 @@
"@types/react": "19.0.10",
"@types/react-dom": "19.0.4",
"eslint": "^9.16.0",
"eslint-config-next": "15.2.0",
"eslint-config-next": "15.2.2",
"prettier": "^3.4.2",
"typescript": "5.7.3"
},

File diff suppressed because it is too large Load Diff

View File

@@ -41,7 +41,7 @@
"geist": "^1.3.0",
"graphql": "^16.8.2",
"lucide-react": "^0.378.0",
"next": "15.2.0",
"next": "15.2.2",
"next-sitemap": "^4.2.3",
"payload": "latest",
"prism-react-renderer": "^2.3.1",
@@ -62,7 +62,7 @@
"autoprefixer": "^10.4.19",
"copyfiles": "^2.4.1",
"eslint": "^9.16.0",
"eslint-config-next": "15.2.0",
"eslint-config-next": "15.2.2",
"postcss": "^8.4.38",
"prettier": "^3.4.2",
"tailwindcss": "^3.4.3",

File diff suppressed because it is too large Load Diff

View File

@@ -12,4 +12,4 @@ export const Error = ({ name }: { name: string }) => {
{(errors[name]?.message as string) || 'This field is required'}
</div>
)
}
}

View File

@@ -15,14 +15,14 @@
"start": "cross-env NODE_OPTIONS=--no-deprecation next start"
},
"dependencies": {
"@payloadcms/db-mongodb": "3.25.0",
"@payloadcms/next": "3.25.0",
"@payloadcms/payload-cloud": "3.25.0",
"@payloadcms/richtext-lexical": "3.25.0",
"@payloadcms/db-mongodb": "3.28.0",
"@payloadcms/next": "3.28.0",
"@payloadcms/payload-cloud": "3.28.0",
"@payloadcms/richtext-lexical": "3.28.0",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.2.0",
"payload": "3.25.0",
"next": "15.2.2",
"payload": "3.28.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"sharp": "0.32.6"
@@ -33,7 +33,7 @@
"@types/react": "19.0.10",
"@types/react-dom": "19.0.4",
"eslint": "^9.16.0",
"eslint-config-next": "15.2.0",
"eslint-config-next": "15.2.2",
"prettier": "^3.4.2",
"typescript": "5.7.3"
},

View File

@@ -21,7 +21,7 @@
"@payloadcms/richtext-lexical": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.2.0",
"next": "15.2.2",
"payload": "latest",
"react": "19.0.0",
"react-dom": "19.0.0",
@@ -34,7 +34,7 @@
"@types/react": "19.0.10",
"@types/react-dom": "19.0.4",
"eslint": "^9.16.0",
"eslint-config-next": "15.2.0",
"eslint-config-next": "15.2.2",
"prettier": "^3.4.2",
"typescript": "5.7.3"
},

View File

@@ -1,5 +1,5 @@
{
"id": "4d0dd218-d96c-4cf1-9ccf-0fbc54bb2798",
"id": "9cce5027-9a03-4012-908a-037491622267",
"prevId": "00000000-0000-0000-0000-000000000000",
"version": "7",
"dialect": "postgresql",

View File

@@ -1,9 +1,9 @@
import * as migration_20250303_013923_initial from './20250303_013923_initial'
import * as migration_20250311_214602_initial from './20250311_214602_initial'
export const migrations = [
{
up: migration_20250303_013923_initial.up,
down: migration_20250303_013923_initial.down,
name: '20250303_013923_initial',
up: migration_20250311_214602_initial.up,
down: migration_20250311_214602_initial.down,
name: '20250311_214602_initial',
},
]

View File

@@ -21,7 +21,7 @@
"@payloadcms/richtext-lexical": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.2.0",
"next": "15.2.2",
"payload": "latest",
"react": "19.0.0",
"react-dom": "19.0.0",
@@ -33,7 +33,7 @@
"@types/react": "19.0.10",
"@types/react-dom": "19.0.4",
"eslint": "^9.16.0",
"eslint-config-next": "15.2.0",
"eslint-config-next": "15.2.2",
"prettier": "^3.4.2",
"typescript": "5.7.3"
},

View File

@@ -21,7 +21,7 @@
"@payloadcms/richtext-lexical": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.2.0",
"next": "15.2.2",
"payload": "latest",
"react": "19.0.0",
"react-dom": "19.0.0",
@@ -34,7 +34,7 @@
"@types/react": "19.0.10",
"@types/react-dom": "19.0.4",
"eslint": "^9.16.0",
"eslint-config-next": "15.2.0",
"eslint-config-next": "15.2.2",
"prettier": "^3.4.2",
"typescript": "5.7.3"
},

View File

@@ -1,5 +1,5 @@
{
"id": "60ec4acc-9dd1-42f7-be06-3f5dd7ba95cc",
"id": "de2cf2f0-6fb4-4af1-8a4c-fdeecf2904e8",
"prevId": "00000000-0000-0000-0000-000000000000",
"version": "7",
"dialect": "postgresql",

View File

@@ -1,9 +1,9 @@
import * as migration_20250303_013913_initial from './20250303_013913_initial'
import * as migration_20250311_214549_initial from './20250311_214549_initial'
export const migrations = [
{
up: migration_20250303_013913_initial.up,
down: migration_20250303_013913_initial.down,
name: '20250303_013913_initial',
up: migration_20250311_214549_initial.up,
down: migration_20250311_214549_initial.down,
name: '20250311_214549_initial',
},
]

View File

@@ -7,7 +7,6 @@
"scripts": {
"build": "cross-env NODE_OPTIONS=--no-deprecation next build",
"postbuild": "next-sitemap --config next-sitemap.config.cjs",
"ci": "payload migrate && pnpm build",
"dev": "cross-env NODE_OPTIONS=--no-deprecation next dev",
"dev:prod": "cross-env NODE_OPTIONS=--no-deprecation rm -rf .next && pnpm build && pnpm start",
"generate:importmap": "cross-env NODE_OPTIONS=--no-deprecation payload generate:importmap",
@@ -17,11 +16,11 @@
"lint:fix": "cross-env NODE_OPTIONS=--no-deprecation next lint --fix",
"payload": "cross-env NODE_OPTIONS=--no-deprecation payload",
"reinstall": "cross-env NODE_OPTIONS=--no-deprecation rm -rf node_modules && rm pnpm-lock.yaml && pnpm --ignore-workspace install",
"start": "cross-env NODE_OPTIONS=--no-deprecation next start"
"start": "cross-env NODE_OPTIONS=--no-deprecation next start",
"ci": "payload migrate && pnpm build"
},
"dependencies": {
"@payloadcms/admin-bar": "latest",
"@payloadcms/db-vercel-postgres": "latest",
"@payloadcms/live-preview-react": "latest",
"@payloadcms/next": "latest",
"@payloadcms/payload-cloud": "latest",
@@ -31,7 +30,6 @@
"@payloadcms/plugin-search": "latest",
"@payloadcms/plugin-seo": "latest",
"@payloadcms/richtext-lexical": "latest",
"@payloadcms/storage-vercel-blob": "latest",
"@payloadcms/ui": "latest",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-label": "^2.0.2",
@@ -43,7 +41,7 @@
"geist": "^1.3.0",
"graphql": "^16.8.2",
"lucide-react": "^0.378.0",
"next": "15.2.0",
"next": "15.2.2",
"next-sitemap": "^4.2.3",
"payload": "latest",
"prism-react-renderer": "^2.3.1",
@@ -52,7 +50,9 @@
"react-hook-form": "7.45.4",
"sharp": "0.32.6",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7"
"tailwindcss-animate": "^1.0.7",
"@payloadcms/db-vercel-postgres": "latest",
"@payloadcms/storage-vercel-blob": "latest"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
@@ -64,7 +64,7 @@
"autoprefixer": "^10.4.19",
"copyfiles": "^2.4.1",
"eslint": "^9.16.0",
"eslint-config-next": "15.2.0",
"eslint-config-next": "15.2.2",
"postcss": "^8.4.38",
"prettier": "^3.4.2",
"tailwindcss": "^3.4.3",

View File

@@ -1,5 +1,5 @@
{
"id": "4013ab14-2e86-4a03-a7a7-5cc3f55915ac",
"id": "2dadfab5-c4b0-4ae2-ad54-0b01dbc9a2a9",
"prevId": "00000000-0000-0000-0000-000000000000",
"version": "7",
"dialect": "postgresql",

View File

@@ -1,9 +1,9 @@
import * as migration_20250303_013917_initial from './20250303_013917_initial'
import * as migration_20250311_214555_initial from './20250311_214555_initial'
export const migrations = [
{
up: migration_20250303_013917_initial.up,
down: migration_20250303_013917_initial.down,
name: '20250303_013917_initial',
up: migration_20250311_214555_initial.up,
down: migration_20250311_214555_initial.down,
name: '20250311_214555_initial',
},
]