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/app/(payload)/admin/importMap.js b/templates/ecommerce/src/app/(payload)/admin/importMap.js index d7dffcc9bc7..57d1b2a210b 100644 --- a/templates/ecommerce/src/app/(payload)/admin/importMap.js +++ b/templates/ecommerce/src/app/(payload)/admin/importMap.js @@ -26,30 +26,51 @@ import { BeforeDashboard as BeforeDashboard_1a7510af427896d367a49dbf838d2de6 } f import { BeforeLogin as BeforeLogin_8a7ab0eb7ab5c511aba12e68480bfe5e } from '@/components/BeforeLogin' export const importMap = { - "@payloadcms/richtext-lexical/rsc#RscEntryLexicalCell": RscEntryLexicalCell_44fe37237e0ebf4470c9990d8cb7b07e, - "@payloadcms/richtext-lexical/rsc#RscEntryLexicalField": RscEntryLexicalField_44fe37237e0ebf4470c9990d8cb7b07e, - "@payloadcms/richtext-lexical/rsc#LexicalDiffComponent": LexicalDiffComponent_44fe37237e0ebf4470c9990d8cb7b07e, - "@payloadcms/richtext-lexical/client#InlineToolbarFeatureClient": InlineToolbarFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, - "@payloadcms/richtext-lexical/client#FixedToolbarFeatureClient": FixedToolbarFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, - "@payloadcms/richtext-lexical/client#HeadingFeatureClient": HeadingFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, - "@payloadcms/richtext-lexical/client#UnderlineFeatureClient": UnderlineFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, - "@payloadcms/richtext-lexical/client#BoldFeatureClient": BoldFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, - "@payloadcms/richtext-lexical/client#ItalicFeatureClient": ItalicFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, - "@payloadcms/richtext-lexical/client#OrderedListFeatureClient": OrderedListFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, - "@payloadcms/richtext-lexical/client#UnorderedListFeatureClient": UnorderedListFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, - "@payloadcms/richtext-lexical/client#LinkFeatureClient": LinkFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, - "@payloadcms/richtext-lexical/client#IndentFeatureClient": IndentFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, - "@payloadcms/richtext-lexical/client#TableFeatureClient": TableFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, - "@payloadcms/plugin-seo/client#OverviewComponent": OverviewComponent_a8a977ebc872c5d5ea7ee689724c0860, - "@payloadcms/plugin-seo/client#MetaTitleComponent": MetaTitleComponent_a8a977ebc872c5d5ea7ee689724c0860, - "@payloadcms/plugin-seo/client#MetaImageComponent": MetaImageComponent_a8a977ebc872c5d5ea7ee689724c0860, - "@payloadcms/plugin-seo/client#MetaDescriptionComponent": MetaDescriptionComponent_a8a977ebc872c5d5ea7ee689724c0860, - "@payloadcms/plugin-seo/client#PreviewComponent": PreviewComponent_a8a977ebc872c5d5ea7ee689724c0860, - "@payloadcms/ui#SlugField": SlugField_3817bf644402e67bfe6577f60ef982de, - "@payloadcms/plugin-ecommerce/rsc#VariantOptionsSelector": VariantOptionsSelector_b91672ccd6e8b071c11142ab941fedfb, - "@payloadcms/plugin-ecommerce/client#PriceCell": PriceCell_e27bf7b8cc50640dcdd584767b8eac3c, - "@payloadcms/plugin-ecommerce/rsc#PriceInput": PriceInput_b91672ccd6e8b071c11142ab941fedfb, - "@payloadcms/richtext-lexical/client#HorizontalRuleFeatureClient": HorizontalRuleFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, - "@/components/BeforeDashboard#BeforeDashboard": BeforeDashboard_1a7510af427896d367a49dbf838d2de6, - "@/components/BeforeLogin#BeforeLogin": BeforeLogin_8a7ab0eb7ab5c511aba12e68480bfe5e + '@payloadcms/richtext-lexical/rsc#RscEntryLexicalCell': + RscEntryLexicalCell_44fe37237e0ebf4470c9990d8cb7b07e, + '@payloadcms/richtext-lexical/rsc#RscEntryLexicalField': + RscEntryLexicalField_44fe37237e0ebf4470c9990d8cb7b07e, + '@payloadcms/richtext-lexical/rsc#LexicalDiffComponent': + LexicalDiffComponent_44fe37237e0ebf4470c9990d8cb7b07e, + '@payloadcms/richtext-lexical/client#InlineToolbarFeatureClient': + InlineToolbarFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, + '@payloadcms/richtext-lexical/client#FixedToolbarFeatureClient': + FixedToolbarFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, + '@payloadcms/richtext-lexical/client#HeadingFeatureClient': + HeadingFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, + '@payloadcms/richtext-lexical/client#UnderlineFeatureClient': + UnderlineFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, + '@payloadcms/richtext-lexical/client#BoldFeatureClient': + BoldFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, + '@payloadcms/richtext-lexical/client#ItalicFeatureClient': + ItalicFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, + '@payloadcms/richtext-lexical/client#OrderedListFeatureClient': + OrderedListFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, + '@payloadcms/richtext-lexical/client#UnorderedListFeatureClient': + UnorderedListFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, + '@payloadcms/richtext-lexical/client#LinkFeatureClient': + LinkFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, + '@payloadcms/richtext-lexical/client#IndentFeatureClient': + IndentFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, + '@payloadcms/richtext-lexical/client#TableFeatureClient': + TableFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, + '@payloadcms/plugin-seo/client#OverviewComponent': + OverviewComponent_a8a977ebc872c5d5ea7ee689724c0860, + '@payloadcms/plugin-seo/client#MetaTitleComponent': + MetaTitleComponent_a8a977ebc872c5d5ea7ee689724c0860, + '@payloadcms/plugin-seo/client#MetaImageComponent': + MetaImageComponent_a8a977ebc872c5d5ea7ee689724c0860, + '@payloadcms/plugin-seo/client#MetaDescriptionComponent': + MetaDescriptionComponent_a8a977ebc872c5d5ea7ee689724c0860, + '@payloadcms/plugin-seo/client#PreviewComponent': + PreviewComponent_a8a977ebc872c5d5ea7ee689724c0860, + '@payloadcms/ui#SlugField': SlugField_3817bf644402e67bfe6577f60ef982de, + '@payloadcms/plugin-ecommerce/rsc#VariantOptionsSelector': + VariantOptionsSelector_b91672ccd6e8b071c11142ab941fedfb, + '@payloadcms/plugin-ecommerce/client#PriceCell': PriceCell_e27bf7b8cc50640dcdd584767b8eac3c, + '@payloadcms/plugin-ecommerce/rsc#PriceInput': PriceInput_b91672ccd6e8b071c11142ab941fedfb, + '@payloadcms/richtext-lexical/client#HorizontalRuleFeatureClient': + HorizontalRuleFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, + '@/components/BeforeDashboard#BeforeDashboard': BeforeDashboard_1a7510af427896d367a49dbf838d2de6, + '@/components/BeforeLogin#BeforeLogin': BeforeLogin_8a7ab0eb7ab5c511aba12e68480bfe5e, } diff --git a/templates/ecommerce/src/payload-types.ts b/templates/ecommerce/src/payload-types.ts index d0e20f3e45c..a686e2d349f 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 ca578347e68..cebbd16bdd4 100644 --- a/templates/with-cloudflare-d1/package.json +++ b/templates/with-cloudflare-d1/package.json @@ -26,16 +26,16 @@ }, "dependencies": { "@opennextjs/cloudflare": "^1.11.0", - "@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.67.0", + "@payloadcms/next": "3.67.0", + "@payloadcms/richtext-lexical": "3.67.0", + "@payloadcms/storage-r2": "3.67.0", + "@payloadcms/ui": "3.67.0", "cross-env": "^7.0.3", "dotenv": "16.4.7", "graphql": "^16.8.1", "next": "15.4.8", - "payload": "3.63.0", + "payload": "3.67.0", "react": "19.2.1", "react-dom": "19.2.1" }, 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 5d65c62f908..703f3838337 100644 --- a/templates/with-postgres/package.json +++ b/templates/with-postgres/package.json @@ -19,14 +19,14 @@ "test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts" }, "dependencies": { - "@payloadcms/db-postgres": "3.63.0", - "@payloadcms/next": "3.63.0", - "@payloadcms/richtext-lexical": "3.63.0", - "@payloadcms/ui": "3.63.0", + "@payloadcms/db-postgres": "3.67.0", + "@payloadcms/next": "3.67.0", + "@payloadcms/richtext-lexical": "3.67.0", + "@payloadcms/ui": "3.67.0", "cross-env": "^7.0.3", "graphql": "^16.8.1", "next": "15.4.8", - "payload": "3.63.0", + "payload": "3.67.0", "react": "19.2.1", "react-dom": "19.2.1", "sharp": "0.34.2" diff --git a/templates/with-postgres/src/migrations/20251107_183854_initial.json b/templates/with-postgres/src/migrations/20251205_204145_initial.json similarity index 99% rename from templates/with-postgres/src/migrations/20251107_183854_initial.json rename to templates/with-postgres/src/migrations/20251205_204145_initial.json index 347366f6a0a..ea14b04c088 100644 --- a/templates/with-postgres/src/migrations/20251107_183854_initial.json +++ b/templates/with-postgres/src/migrations/20251205_204145_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": "8a7cea44-bc49-4d4c-9a5d-adcf4f4af963", + "prevId": "00000000-0000-0000-0000-000000000000" } diff --git a/templates/with-postgres/src/migrations/20251107_183854_initial.ts b/templates/with-postgres/src/migrations/20251205_204145_initial.ts similarity index 100% rename from templates/with-postgres/src/migrations/20251107_183854_initial.ts rename to templates/with-postgres/src/migrations/20251205_204145_initial.ts diff --git a/templates/with-postgres/src/migrations/index.ts b/templates/with-postgres/src/migrations/index.ts index c77a1bf1a57..375cad06706 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_20251205_204145_initial from './20251205_204145_initial' export const migrations = [ { - up: migration_20251107_183854_initial.up, - down: migration_20251107_183854_initial.down, - name: '20251107_183854_initial', + up: migration_20251205_204145_initial.up, + down: migration_20251205_204145_initial.down, + name: '20251205_204145_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 67726b6e871..cc1ef0009ac 100644 --- a/templates/with-vercel-mongodb/package.json +++ b/templates/with-vercel-mongodb/package.json @@ -18,15 +18,15 @@ "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/storage-vercel-blob": "3.63.0", - "@payloadcms/ui": "3.63.0", + "@payloadcms/db-mongodb": "3.67.0", + "@payloadcms/next": "3.67.0", + "@payloadcms/richtext-lexical": "3.67.0", + "@payloadcms/storage-vercel-blob": "3.67.0", + "@payloadcms/ui": "3.67.0", "cross-env": "^7.0.3", "graphql": "^16.8.1", "next": "15.4.8", - "payload": "3.63.0", + "payload": "3.67.0", "react": "19.2.1", "react-dom": "19.2.1" }, @@ -48,7 +48,7 @@ "vite-tsconfig-paths": "5.1.4", "vitest": "3.2.3" }, - "packageManager": "pnpm@10.20.0", + "packageManager": "pnpm@10.24.0", "engines": { "node": "^18.20.2 || >=20.9.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-mongodb/src/payload.config.ts b/templates/with-vercel-mongodb/src/payload.config.ts index 990546d2a8f..8aefe6a38f2 100644 --- a/templates/with-vercel-mongodb/src/payload.config.ts +++ b/templates/with-vercel-mongodb/src/payload.config.ts @@ -1,12 +1,11 @@ -import { vercelBlobStorage } from '@payloadcms/storage-vercel-blob' import { mongooseAdapter } from '@payloadcms/db-mongodb' import { lexicalEditor } from '@payloadcms/richtext-lexical' import path from 'path' import { buildConfig } from 'payload' import { fileURLToPath } from 'url' - import { Users } from './collections/Users' import { Media } from './collections/Media' +import { vercelBlobStorage } from '@payloadcms/storage-vercel-blob' const filename = fileURLToPath(import.meta.url) const dirname = path.dirname(filename) diff --git a/templates/with-vercel-postgres/package.json b/templates/with-vercel-postgres/package.json index ab7a8d00e82..bff73f26226 100644 --- a/templates/with-vercel-postgres/package.json +++ b/templates/with-vercel-postgres/package.json @@ -19,15 +19,15 @@ "test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts" }, "dependencies": { - "@payloadcms/db-vercel-postgres": "3.63.0", - "@payloadcms/next": "3.63.0", - "@payloadcms/richtext-lexical": "3.63.0", - "@payloadcms/storage-vercel-blob": "3.63.0", - "@payloadcms/ui": "3.63.0", + "@payloadcms/db-vercel-postgres": "3.67.0", + "@payloadcms/next": "3.67.0", + "@payloadcms/richtext-lexical": "3.67.0", + "@payloadcms/storage-vercel-blob": "3.67.0", + "@payloadcms/ui": "3.67.0", "cross-env": "^7.0.3", "graphql": "^16.8.1", "next": "15.4.8", - "payload": "3.63.0", + "payload": "3.67.0", "react": "19.2.1", "react-dom": "19.2.1" }, @@ -49,7 +49,7 @@ "vite-tsconfig-paths": "5.1.4", "vitest": "3.2.3" }, - "packageManager": "pnpm@10.20.0", + "packageManager": "pnpm@10.24.0", "engines": { "node": "^18.20.2 || >=20.9.0" }, diff --git a/templates/with-vercel-postgres/src/migrations/20251107_183841_initial.json b/templates/with-vercel-postgres/src/migrations/20251205_204107_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/20251205_204107_initial.json index fc9ff555ed3..a498495c991 100644 --- a/templates/with-vercel-postgres/src/migrations/20251107_183841_initial.json +++ b/templates/with-vercel-postgres/src/migrations/20251205_204107_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": "82dac83f-8869-4a05-a4d6-e58c8cbc259b", + "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/20251205_204107_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/20251205_204107_initial.ts diff --git a/templates/with-vercel-postgres/src/migrations/index.ts b/templates/with-vercel-postgres/src/migrations/index.ts index e9a45811091..1ffaa57f26f 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_20251205_204107_initial from './20251205_204107_initial' export const migrations = [ { - up: migration_20251107_183841_initial.up, - down: migration_20251107_183841_initial.down, - name: '20251107_183841_initial', + up: migration_20251205_204107_initial.up, + down: migration_20251205_204107_initial.down, + name: '20251205_204107_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-postgres/src/payload.config.ts b/templates/with-vercel-postgres/src/payload.config.ts index d0b8c7b23e8..848fd31a40b 100644 --- a/templates/with-vercel-postgres/src/payload.config.ts +++ b/templates/with-vercel-postgres/src/payload.config.ts @@ -1,12 +1,11 @@ -import { vercelBlobStorage } from '@payloadcms/storage-vercel-blob' import { vercelPostgresAdapter } from '@payloadcms/db-vercel-postgres' import { lexicalEditor } from '@payloadcms/richtext-lexical' import path from 'path' import { buildConfig } from 'payload' import { fileURLToPath } from 'url' - import { Users } from './collections/Users' import { Media } from './collections/Media' +import { vercelBlobStorage } from '@payloadcms/storage-vercel-blob' const filename = fileURLToPath(import.meta.url) const dirname = path.dirname(filename) diff --git a/templates/with-vercel-website/package.json b/templates/with-vercel-website/package.json index e3ab8b79c91..f78af872fed 100644 --- a/templates/with-vercel-website/package.json +++ b/templates/with-vercel-website/package.json @@ -23,18 +23,18 @@ "test:int": "cross-env NODE_OPTIONS=--no-deprecation vitest run --config ./vitest.config.mts" }, "dependencies": { - "@payloadcms/admin-bar": "3.63.0", - "@payloadcms/db-vercel-postgres": "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/storage-vercel-blob": "3.63.0", - "@payloadcms/ui": "3.63.0", + "@payloadcms/admin-bar": "3.67.0", + "@payloadcms/db-vercel-postgres": "3.67.0", + "@payloadcms/live-preview-react": "3.67.0", + "@payloadcms/next": "3.67.0", + "@payloadcms/plugin-form-builder": "3.67.0", + "@payloadcms/plugin-nested-docs": "3.67.0", + "@payloadcms/plugin-redirects": "3.67.0", + "@payloadcms/plugin-search": "3.67.0", + "@payloadcms/plugin-seo": "3.67.0", + "@payloadcms/richtext-lexical": "3.67.0", + "@payloadcms/storage-vercel-blob": "3.67.0", + "@payloadcms/ui": "3.67.0", "@radix-ui/react-checkbox": "^1.0.4", "@radix-ui/react-label": "^2.0.2", "@radix-ui/react-select": "^2.0.0", @@ -48,7 +48,7 @@ "lucide-react": "^0.378.0", "next": "15.4.8", "next-sitemap": "^4.2.3", - "payload": "3.63.0", + "payload": "3.67.0", "prism-react-renderer": "^2.3.1", "react": "19.2.1", "react-dom": "19.2.1", @@ -81,7 +81,7 @@ "vite-tsconfig-paths": "5.1.4", "vitest": "3.2.3" }, - "packageManager": "pnpm@10.20.0", + "packageManager": "pnpm@10.24.0", "engines": { "node": "^18.20.2 || >=20.9.0" }, diff --git a/templates/with-vercel-website/src/migrations/20251107_183848_initial.json b/templates/with-vercel-website/src/migrations/20251205_204126_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/20251205_204126_initial.json index c9f38436b73..fa1ab045f45 100644 --- a/templates/with-vercel-website/src/migrations/20251107_183848_initial.json +++ b/templates/with-vercel-website/src/migrations/20251205_204126_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": "c08b463f-ac2a-4482-8285-f70ac0210ed6", + "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/20251205_204126_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/20251205_204126_initial.ts diff --git a/templates/with-vercel-website/src/migrations/index.ts b/templates/with-vercel-website/src/migrations/index.ts index 5487974cd87..929ed2fd45b 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_20251205_204126_initial from './20251205_204126_initial' export const migrations = [ { - up: migration_20251107_183848_initial.up, - down: migration_20251107_183848_initial.down, - name: '20251107_183848_initial', + up: migration_20251205_204126_initial.up, + down: migration_20251205_204126_initial.down, + name: '20251205_204126_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; diff --git a/templates/with-vercel-website/src/payload.config.ts b/templates/with-vercel-website/src/payload.config.ts index 461989c2f58..aa4fd34a0c0 100644 --- a/templates/with-vercel-website/src/payload.config.ts +++ b/templates/with-vercel-website/src/payload.config.ts @@ -1,4 +1,3 @@ -import { vercelBlobStorage } from '@payloadcms/storage-vercel-blob' import { vercelPostgresAdapter } from '@payloadcms/db-vercel-postgres' import sharp from 'sharp' import path from 'path' @@ -15,6 +14,7 @@ import { Header } from './Header/config' import { plugins } from './plugins' import { defaultLexical } from '@/fields/defaultLexical' import { getServerSideURL } from './utilities/getURL' +import { vercelBlobStorage } from '@payloadcms/storage-vercel-blob' const filename = fileURLToPath(import.meta.url) const dirname = path.dirname(filename) @@ -65,7 +65,6 @@ export default buildConfig({ }), collections: [Pages, Posts, Media, Categories, Users], cors: [getServerSideURL()].filter(Boolean), - globals: [Header, Footer], plugins: [ ...plugins, vercelBlobStorage({ @@ -75,6 +74,7 @@ export default buildConfig({ token: process.env.BLOB_READ_WRITE_TOKEN || '', }), ], + globals: [Header, Footer], secret: process.env.PAYLOAD_SECRET, sharp, typescript: {