From 0f7310ffd1cf7c373280ab507899cc50324dcef8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 25 Nov 2025 18:56:27 +0000 Subject: [PATCH] templates: bump templates for v3.65.0 --- templates/blank/src/payload-types.ts | 1 + templates/ecommerce/src/payload-types.ts | 1 + templates/website/src/payload-types.ts | 1 + templates/with-cloudflare-d1/package.json | 12 +++---- .../with-cloudflare-d1/src/payload-types.ts | 1 + templates/with-postgres/package.json | 16 ++++----- ...tial.json => 20251125_185456_initial.json} | 6 ++-- ..._initial.ts => 20251125_185456_initial.ts} | 0 .../with-postgres/src/migrations/index.ts | 8 ++--- templates/with-postgres/src/payload-types.ts | 1 + templates/with-vercel-mongodb/package.json | 18 +++++----- .../with-vercel-mongodb/src/payload-types.ts | 1 + templates/with-vercel-postgres/package.json | 22 ++++++------ ...tial.json => 20251125_185418_initial.json} | 6 ++-- ..._initial.ts => 20251125_185418_initial.ts} | 0 .../src/migrations/index.ts | 8 ++--- .../with-vercel-postgres/src/payload-types.ts | 1 + templates/with-vercel-website/package.json | 36 +++++++++---------- ...tial.json => 20251125_185437_initial.json} | 6 ++-- ..._initial.ts => 20251125_185437_initial.ts} | 0 .../src/migrations/index.ts | 8 ++--- .../with-vercel-website/src/payload-types.ts | 1 + 22 files changed, 81 insertions(+), 73 deletions(-) rename templates/with-postgres/src/migrations/{20251107_183854_initial.json => 20251125_185456_initial.json} (99%) rename templates/with-postgres/src/migrations/{20251107_183854_initial.ts => 20251125_185456_initial.ts} (100%) rename templates/with-vercel-postgres/src/migrations/{20251107_183841_initial.json => 20251125_185418_initial.json} (99%) rename templates/with-vercel-postgres/src/migrations/{20251107_183841_initial.ts => 20251125_185418_initial.ts} (100%) rename templates/with-vercel-website/src/migrations/{20251107_183848_initial.json => 20251125_185437_initial.json} (99%) rename templates/with-vercel-website/src/migrations/{20251107_183848_initial.ts => 20251125_185437_initial.ts} (100%) diff --git a/templates/blank/src/payload-types.ts b/templates/blank/src/payload-types.ts index ec118e0473e..7c24a0d57f3 100644 --- a/templates/blank/src/payload-types.ts +++ b/templates/blank/src/payload-types.ts @@ -86,6 +86,7 @@ export interface Config { db: { defaultIDType: string; }; + fallbackLocale: null; globals: {}; globalsSelect: {}; locale: null; diff --git a/templates/ecommerce/src/payload-types.ts b/templates/ecommerce/src/payload-types.ts index e5cdc693ec9..9caf7dd772b 100644 --- a/templates/ecommerce/src/payload-types.ts +++ b/templates/ecommerce/src/payload-types.ts @@ -127,6 +127,7 @@ export interface Config { db: { defaultIDType: string; }; + fallbackLocale: null; globals: { header: Header; footer: Footer; diff --git a/templates/website/src/payload-types.ts b/templates/website/src/payload-types.ts index e34987e1c0d..7d83ad77977 100644 --- a/templates/website/src/payload-types.ts +++ b/templates/website/src/payload-types.ts @@ -108,6 +108,7 @@ export interface Config { db: { defaultIDType: string; }; + fallbackLocale: null; globals: { header: Header; footer: Footer; diff --git a/templates/with-cloudflare-d1/package.json b/templates/with-cloudflare-d1/package.json index e364fa48897..31c7a4117e5 100644 --- a/templates/with-cloudflare-d1/package.json +++ b/templates/with-cloudflare-d1/package.json @@ -26,16 +26,16 @@ }, "dependencies": { "@opennextjs/cloudflare": "^1.6.5", - "@payloadcms/db-d1-sqlite": "3.63.0", - "@payloadcms/next": "3.63.0", - "@payloadcms/richtext-lexical": "3.63.0", - "@payloadcms/storage-r2": "3.63.0", - "@payloadcms/ui": "3.63.0", + "@payloadcms/db-d1-sqlite": "3.65.0", + "@payloadcms/next": "3.65.0", + "@payloadcms/richtext-lexical": "3.65.0", + "@payloadcms/storage-r2": "3.65.0", + "@payloadcms/ui": "3.65.0", "cross-env": "^7.0.3", "dotenv": "16.4.7", "graphql": "^16.8.1", "next": "15.4.7", - "payload": "3.63.0", + "payload": "3.65.0", "react": "19.1.0", "react-dom": "19.1.0" }, diff --git a/templates/with-cloudflare-d1/src/payload-types.ts b/templates/with-cloudflare-d1/src/payload-types.ts index 5b400164177..bb85eafc6d0 100644 --- a/templates/with-cloudflare-d1/src/payload-types.ts +++ b/templates/with-cloudflare-d1/src/payload-types.ts @@ -86,6 +86,7 @@ export interface Config { db: { defaultIDType: number; }; + fallbackLocale: null; globals: {}; globalsSelect: {}; locale: null; diff --git a/templates/with-postgres/package.json b/templates/with-postgres/package.json index 83611f3fc35..c68eb251d8e 100644 --- a/templates/with-postgres/package.json +++ b/templates/with-postgres/package.json @@ -6,6 +6,7 @@ "type": "module", "scripts": { "build": "cross-env NODE_OPTIONS=--no-deprecation next build", + "ci": "payload migrate && pnpm build", "dev": "cross-env NODE_OPTIONS=--no-deprecation next dev", "devsafe": "rm -rf .next && cross-env NODE_OPTIONS=--no-deprecation next dev", "generate:importmap": "cross-env NODE_OPTIONS=--no-deprecation payload generate:importmap", @@ -15,21 +16,20 @@ "start": "cross-env NODE_OPTIONS=--no-deprecation next start", "test": "pnpm run test:int && pnpm run test:e2e", "test:e2e": "cross-env NODE_OPTIONS=\"--no-deprecation --no-experimental-strip-types\" pnpm exec playwright test", - "test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts", - "ci": "payload migrate && pnpm build" + "test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts" }, "dependencies": { - "@payloadcms/next": "3.63.0", - "@payloadcms/richtext-lexical": "3.63.0", - "@payloadcms/ui": "3.63.0", + "@payloadcms/db-postgres": "3.65.0", + "@payloadcms/next": "3.65.0", + "@payloadcms/richtext-lexical": "3.65.0", + "@payloadcms/ui": "3.65.0", "cross-env": "^7.0.3", "graphql": "^16.8.1", "next": "15.4.7", - "payload": "3.63.0", + "payload": "3.65.0", "react": "19.1.0", "react-dom": "19.1.0", - "sharp": "0.34.2", - "@payloadcms/db-postgres": "3.63.0" + "sharp": "0.34.2" }, "devDependencies": { "@eslint/eslintrc": "^3.2.0", diff --git a/templates/with-postgres/src/migrations/20251107_183854_initial.json b/templates/with-postgres/src/migrations/20251125_185456_initial.json similarity index 99% rename from templates/with-postgres/src/migrations/20251107_183854_initial.json rename to templates/with-postgres/src/migrations/20251125_185456_initial.json index 347366f6a0a..58a2024dda7 100644 --- a/templates/with-postgres/src/migrations/20251107_183854_initial.json +++ b/templates/with-postgres/src/migrations/20251125_185456_initial.json @@ -1,6 +1,4 @@ { - "id": "255dcb47-65ad-46bd-9bd7-6d5581478a90", - "prevId": "00000000-0000-0000-0000-000000000000", "version": "7", "dialect": "postgresql", "tables": { @@ -935,5 +933,7 @@ "schemas": {}, "tables": {}, "columns": {} - } + }, + "id": "a030f342-c177-4e47-84e3-83c98423ad88", + "prevId": "00000000-0000-0000-0000-000000000000" } diff --git a/templates/with-postgres/src/migrations/20251107_183854_initial.ts b/templates/with-postgres/src/migrations/20251125_185456_initial.ts similarity index 100% rename from templates/with-postgres/src/migrations/20251107_183854_initial.ts rename to templates/with-postgres/src/migrations/20251125_185456_initial.ts diff --git a/templates/with-postgres/src/migrations/index.ts b/templates/with-postgres/src/migrations/index.ts index c77a1bf1a57..a720d10bd15 100644 --- a/templates/with-postgres/src/migrations/index.ts +++ b/templates/with-postgres/src/migrations/index.ts @@ -1,9 +1,9 @@ -import * as migration_20251107_183854_initial from './20251107_183854_initial' +import * as migration_20251125_185456_initial from './20251125_185456_initial' export const migrations = [ { - up: migration_20251107_183854_initial.up, - down: migration_20251107_183854_initial.down, - name: '20251107_183854_initial', + up: migration_20251125_185456_initial.up, + down: migration_20251125_185456_initial.down, + name: '20251125_185456_initial', }, ] diff --git a/templates/with-postgres/src/payload-types.ts b/templates/with-postgres/src/payload-types.ts index 0d481af819e..4133934a069 100644 --- a/templates/with-postgres/src/payload-types.ts +++ b/templates/with-postgres/src/payload-types.ts @@ -86,6 +86,7 @@ export interface Config { db: { defaultIDType: number; }; + fallbackLocale: null; globals: {}; globalsSelect: {}; locale: null; diff --git a/templates/with-vercel-mongodb/package.json b/templates/with-vercel-mongodb/package.json index 6521e940373..48e717f9826 100644 --- a/templates/with-vercel-mongodb/package.json +++ b/templates/with-vercel-mongodb/package.json @@ -18,17 +18,17 @@ "test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts" }, "dependencies": { - "@payloadcms/db-mongodb": "3.63.0", - "@payloadcms/next": "3.63.0", - "@payloadcms/richtext-lexical": "3.63.0", - "@payloadcms/ui": "3.63.0", + "@payloadcms/db-mongodb": "3.65.0", + "@payloadcms/next": "3.65.0", + "@payloadcms/richtext-lexical": "3.65.0", + "@payloadcms/storage-vercel-blob": "3.65.0", + "@payloadcms/ui": "3.65.0", "cross-env": "^7.0.3", "graphql": "^16.8.1", "next": "15.4.7", - "payload": "3.63.0", + "payload": "3.65.0", "react": "19.1.0", - "react-dom": "19.1.0", - "@payloadcms/storage-vercel-blob": "3.63.0" + "react-dom": "19.1.0" }, "devDependencies": { "@eslint/eslintrc": "^3.2.0", @@ -48,6 +48,7 @@ "vite-tsconfig-paths": "5.1.4", "vitest": "3.2.3" }, + "packageManager": "pnpm@10.23.0", "engines": { "node": "^18.20.2 || >=20.9.0" }, @@ -57,6 +58,5 @@ "esbuild", "unrs-resolver" ] - }, - "packageManager": "pnpm@10.20.0" + } } diff --git a/templates/with-vercel-mongodb/src/payload-types.ts b/templates/with-vercel-mongodb/src/payload-types.ts index ec118e0473e..7c24a0d57f3 100644 --- a/templates/with-vercel-mongodb/src/payload-types.ts +++ b/templates/with-vercel-mongodb/src/payload-types.ts @@ -86,6 +86,7 @@ export interface Config { db: { defaultIDType: string; }; + fallbackLocale: null; globals: {}; globalsSelect: {}; locale: null; diff --git a/templates/with-vercel-postgres/package.json b/templates/with-vercel-postgres/package.json index 16502f32808..df0da2c8fa2 100644 --- a/templates/with-vercel-postgres/package.json +++ b/templates/with-vercel-postgres/package.json @@ -6,6 +6,7 @@ "type": "module", "scripts": { "build": "cross-env NODE_OPTIONS=--no-deprecation next build", + "ci": "payload migrate && pnpm build", "dev": "cross-env NODE_OPTIONS=--no-deprecation next dev", "devsafe": "rm -rf .next && cross-env NODE_OPTIONS=--no-deprecation next dev", "generate:importmap": "cross-env NODE_OPTIONS=--no-deprecation payload generate:importmap", @@ -15,21 +16,20 @@ "start": "cross-env NODE_OPTIONS=--no-deprecation next start", "test": "pnpm run test:int && pnpm run test:e2e", "test:e2e": "cross-env NODE_OPTIONS=\"--no-deprecation --no-experimental-strip-types\" pnpm exec playwright test", - "test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts", - "ci": "payload migrate && pnpm build" + "test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts" }, "dependencies": { - "@payloadcms/next": "3.63.0", - "@payloadcms/richtext-lexical": "3.63.0", - "@payloadcms/ui": "3.63.0", + "@payloadcms/db-vercel-postgres": "3.65.0", + "@payloadcms/next": "3.65.0", + "@payloadcms/richtext-lexical": "3.65.0", + "@payloadcms/storage-vercel-blob": "3.65.0", + "@payloadcms/ui": "3.65.0", "cross-env": "^7.0.3", "graphql": "^16.8.1", "next": "15.4.7", - "payload": "3.63.0", + "payload": "3.65.0", "react": "19.1.0", - "react-dom": "19.1.0", - "@payloadcms/db-vercel-postgres": "3.63.0", - "@payloadcms/storage-vercel-blob": "3.63.0" + "react-dom": "19.1.0" }, "devDependencies": { "@eslint/eslintrc": "^3.2.0", @@ -49,6 +49,7 @@ "vite-tsconfig-paths": "5.1.4", "vitest": "3.2.3" }, + "packageManager": "pnpm@10.23.0", "engines": { "node": "^18.20.2 || >=20.9.0" }, @@ -58,6 +59,5 @@ "esbuild", "unrs-resolver" ] - }, - "packageManager": "pnpm@10.20.0" + } } diff --git a/templates/with-vercel-postgres/src/migrations/20251107_183841_initial.json b/templates/with-vercel-postgres/src/migrations/20251125_185418_initial.json similarity index 99% rename from templates/with-vercel-postgres/src/migrations/20251107_183841_initial.json rename to templates/with-vercel-postgres/src/migrations/20251125_185418_initial.json index fc9ff555ed3..450dc766522 100644 --- a/templates/with-vercel-postgres/src/migrations/20251107_183841_initial.json +++ b/templates/with-vercel-postgres/src/migrations/20251125_185418_initial.json @@ -1,6 +1,4 @@ { - "id": "b1eec400-2402-4b9e-a2a6-1c3abe4d218f", - "prevId": "00000000-0000-0000-0000-000000000000", "version": "7", "dialect": "postgresql", "tables": { @@ -935,5 +933,7 @@ "schemas": {}, "tables": {}, "columns": {} - } + }, + "id": "66ef599c-031d-47dc-803c-e3eec14be111", + "prevId": "00000000-0000-0000-0000-000000000000" } diff --git a/templates/with-vercel-postgres/src/migrations/20251107_183841_initial.ts b/templates/with-vercel-postgres/src/migrations/20251125_185418_initial.ts similarity index 100% rename from templates/with-vercel-postgres/src/migrations/20251107_183841_initial.ts rename to templates/with-vercel-postgres/src/migrations/20251125_185418_initial.ts diff --git a/templates/with-vercel-postgres/src/migrations/index.ts b/templates/with-vercel-postgres/src/migrations/index.ts index e9a45811091..96368169d93 100644 --- a/templates/with-vercel-postgres/src/migrations/index.ts +++ b/templates/with-vercel-postgres/src/migrations/index.ts @@ -1,9 +1,9 @@ -import * as migration_20251107_183841_initial from './20251107_183841_initial' +import * as migration_20251125_185418_initial from './20251125_185418_initial' export const migrations = [ { - up: migration_20251107_183841_initial.up, - down: migration_20251107_183841_initial.down, - name: '20251107_183841_initial', + up: migration_20251125_185418_initial.up, + down: migration_20251125_185418_initial.down, + name: '20251125_185418_initial', }, ] diff --git a/templates/with-vercel-postgres/src/payload-types.ts b/templates/with-vercel-postgres/src/payload-types.ts index 0d481af819e..4133934a069 100644 --- a/templates/with-vercel-postgres/src/payload-types.ts +++ b/templates/with-vercel-postgres/src/payload-types.ts @@ -86,6 +86,7 @@ export interface Config { db: { defaultIDType: number; }; + fallbackLocale: null; globals: {}; globalsSelect: {}; locale: null; diff --git a/templates/with-vercel-website/package.json b/templates/with-vercel-website/package.json index 7b95b3f220d..5b8151d8c23 100644 --- a/templates/with-vercel-website/package.json +++ b/templates/with-vercel-website/package.json @@ -7,6 +7,7 @@ "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", @@ -19,20 +20,21 @@ "start": "cross-env NODE_OPTIONS=--no-deprecation next start", "test": "pnpm run test:int && pnpm run test:e2e", "test:e2e": "cross-env NODE_OPTIONS=\"--no-deprecation --no-experimental-strip-types\" pnpm exec playwright test --config=playwright.config.ts", - "test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts", - "ci": "payload migrate && pnpm build" + "test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts" }, "dependencies": { - "@payloadcms/admin-bar": "3.63.0", - "@payloadcms/live-preview-react": "3.63.0", - "@payloadcms/next": "3.63.0", - "@payloadcms/plugin-form-builder": "3.63.0", - "@payloadcms/plugin-nested-docs": "3.63.0", - "@payloadcms/plugin-redirects": "3.63.0", - "@payloadcms/plugin-search": "3.63.0", - "@payloadcms/plugin-seo": "3.63.0", - "@payloadcms/richtext-lexical": "3.63.0", - "@payloadcms/ui": "3.63.0", + "@payloadcms/admin-bar": "3.65.0", + "@payloadcms/db-vercel-postgres": "3.65.0", + "@payloadcms/live-preview-react": "3.65.0", + "@payloadcms/next": "3.65.0", + "@payloadcms/plugin-form-builder": "3.65.0", + "@payloadcms/plugin-nested-docs": "3.65.0", + "@payloadcms/plugin-redirects": "3.65.0", + "@payloadcms/plugin-search": "3.65.0", + "@payloadcms/plugin-seo": "3.65.0", + "@payloadcms/richtext-lexical": "3.65.0", + "@payloadcms/storage-vercel-blob": "3.65.0", + "@payloadcms/ui": "3.65.0", "@radix-ui/react-checkbox": "^1.0.4", "@radix-ui/react-label": "^2.0.2", "@radix-ui/react-select": "^2.0.0", @@ -46,16 +48,14 @@ "lucide-react": "^0.378.0", "next": "15.4.7", "next-sitemap": "^4.2.3", - "payload": "3.63.0", + "payload": "3.65.0", "prism-react-renderer": "^2.3.1", "react": "19.1.0", "react-dom": "19.1.0", "react-hook-form": "7.45.4", "sharp": "0.34.2", "tailwind-merge": "^2.3.0", - "tailwindcss-animate": "^1.0.7", - "@payloadcms/db-vercel-postgres": "3.63.0", - "@payloadcms/storage-vercel-blob": "3.63.0" + "tailwindcss-animate": "^1.0.7" }, "devDependencies": { "@eslint/eslintrc": "^3.2.0", @@ -81,6 +81,7 @@ "vite-tsconfig-paths": "5.1.4", "vitest": "3.2.3" }, + "packageManager": "pnpm@10.23.0", "engines": { "node": "^18.20.2 || >=20.9.0" }, @@ -90,6 +91,5 @@ "esbuild", "unrs-resolver" ] - }, - "packageManager": "pnpm@10.20.0" + } } diff --git a/templates/with-vercel-website/src/migrations/20251107_183848_initial.json b/templates/with-vercel-website/src/migrations/20251125_185437_initial.json similarity index 99% rename from templates/with-vercel-website/src/migrations/20251107_183848_initial.json rename to templates/with-vercel-website/src/migrations/20251125_185437_initial.json index c9f38436b73..c1633bf9d2c 100644 --- a/templates/with-vercel-website/src/migrations/20251107_183848_initial.json +++ b/templates/with-vercel-website/src/migrations/20251125_185437_initial.json @@ -1,6 +1,4 @@ { - "id": "6686d861-e460-451a-b85d-51479253bd5e", - "prevId": "00000000-0000-0000-0000-000000000000", "version": "7", "dialect": "postgresql", "tables": { @@ -9182,5 +9180,7 @@ "schemas": {}, "tables": {}, "columns": {} - } + }, + "id": "8b0175bf-8764-42ad-8ed9-6577792eac65", + "prevId": "00000000-0000-0000-0000-000000000000" } diff --git a/templates/with-vercel-website/src/migrations/20251107_183848_initial.ts b/templates/with-vercel-website/src/migrations/20251125_185437_initial.ts similarity index 100% rename from templates/with-vercel-website/src/migrations/20251107_183848_initial.ts rename to templates/with-vercel-website/src/migrations/20251125_185437_initial.ts diff --git a/templates/with-vercel-website/src/migrations/index.ts b/templates/with-vercel-website/src/migrations/index.ts index 5487974cd87..84b12f56865 100644 --- a/templates/with-vercel-website/src/migrations/index.ts +++ b/templates/with-vercel-website/src/migrations/index.ts @@ -1,9 +1,9 @@ -import * as migration_20251107_183848_initial from './20251107_183848_initial' +import * as migration_20251125_185437_initial from './20251125_185437_initial' export const migrations = [ { - up: migration_20251107_183848_initial.up, - down: migration_20251107_183848_initial.down, - name: '20251107_183848_initial', + up: migration_20251125_185437_initial.up, + down: migration_20251125_185437_initial.down, + name: '20251125_185437_initial', }, ] diff --git a/templates/with-vercel-website/src/payload-types.ts b/templates/with-vercel-website/src/payload-types.ts index 3c214ec076c..a420f9aefc6 100644 --- a/templates/with-vercel-website/src/payload-types.ts +++ b/templates/with-vercel-website/src/payload-types.ts @@ -108,6 +108,7 @@ export interface Config { db: { defaultIDType: number; }; + fallbackLocale: null; globals: { header: Header; footer: Footer;