From c9040b60952d2dbf12e595193fafbcc9d55bf59a Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Sun, 17 Nov 2024 12:52:18 -0500 Subject: [PATCH] chore(templates): update templates after branch rename --- scripts/generate-template-variations.ts | 2 +- ...6_000912_initial.json => 20241117_173403_initial.json} | 2 +- ...41116_000912_initial.ts => 20241117_173403_initial.ts} | 0 templates/with-postgres/src/migrations/index.ts | 8 ++++---- templates/with-vercel-mongodb/README.md | 2 +- templates/with-vercel-postgres/README.md | 2 +- ...6_000907_initial.json => 20241117_173358_initial.json} | 2 +- ...41116_000907_initial.ts => 20241117_173358_initial.ts} | 0 templates/with-vercel-postgres/src/migrations/index.ts | 8 ++++---- templates/with-vercel-website/README.md | 2 +- ...6_000910_initial.json => 20241117_173400_initial.json} | 2 +- ...41116_000910_initial.ts => 20241117_173400_initial.ts} | 0 templates/with-vercel-website/src/migrations/index.ts | 8 ++++---- 13 files changed, 19 insertions(+), 19 deletions(-) rename templates/with-postgres/src/migrations/{20241116_000912_initial.json => 20241117_173403_initial.json} (99%) rename templates/with-postgres/src/migrations/{20241116_000912_initial.ts => 20241117_173403_initial.ts} (100%) rename templates/with-vercel-postgres/src/migrations/{20241116_000907_initial.json => 20241117_173358_initial.json} (99%) rename templates/with-vercel-postgres/src/migrations/{20241116_000907_initial.ts => 20241117_173358_initial.ts} (100%) rename templates/with-vercel-website/src/migrations/{20241116_000910_initial.json => 20241117_173400_initial.json} (99%) rename templates/with-vercel-website/src/migrations/{20241116_000910_initial.ts => 20241117_173400_initial.ts} (100%) diff --git a/scripts/generate-template-variations.ts b/scripts/generate-template-variations.ts index ec9cb11ae..2d19f0a43 100644 --- a/scripts/generate-template-variations.ts +++ b/scripts/generate-template-variations.ts @@ -49,7 +49,7 @@ async function main() { const templatesDir = path.resolve(dirname, '../templates') // WARNING: This will need to be updated when this merges into main - const templateRepoUrlBase = `https://github.com/payloadcms/payload/tree/beta/templates` + const templateRepoUrlBase = `https://github.com/payloadcms/payload/tree/main/templates` const variations: TemplateVariations[] = [ { diff --git a/templates/with-postgres/src/migrations/20241116_000912_initial.json b/templates/with-postgres/src/migrations/20241117_173403_initial.json similarity index 99% rename from templates/with-postgres/src/migrations/20241116_000912_initial.json rename to templates/with-postgres/src/migrations/20241117_173403_initial.json index 22c57f643..9acec98fb 100644 --- a/templates/with-postgres/src/migrations/20241116_000912_initial.json +++ b/templates/with-postgres/src/migrations/20241117_173403_initial.json @@ -1,5 +1,5 @@ { - "id": "f561a63f-1e47-4e2e-a513-933e55ca7d87", + "id": "898a509c-9aa0-40a0-82d2-2dbc398c74cf", "prevId": "00000000-0000-0000-0000-000000000000", "version": "7", "dialect": "postgresql", diff --git a/templates/with-postgres/src/migrations/20241116_000912_initial.ts b/templates/with-postgres/src/migrations/20241117_173403_initial.ts similarity index 100% rename from templates/with-postgres/src/migrations/20241116_000912_initial.ts rename to templates/with-postgres/src/migrations/20241117_173403_initial.ts diff --git a/templates/with-postgres/src/migrations/index.ts b/templates/with-postgres/src/migrations/index.ts index a5d6bb8bf..69e192235 100644 --- a/templates/with-postgres/src/migrations/index.ts +++ b/templates/with-postgres/src/migrations/index.ts @@ -1,9 +1,9 @@ -import * as migration_20241116_000912_initial from './20241116_000912_initial' +import * as migration_20241117_173403_initial from './20241117_173403_initial' export const migrations = [ { - up: migration_20241116_000912_initial.up, - down: migration_20241116_000912_initial.down, - name: '20241116_000912_initial', + up: migration_20241117_173403_initial.up, + down: migration_20241117_173403_initial.down, + name: '20241117_173403_initial', }, ] diff --git a/templates/with-vercel-mongodb/README.md b/templates/with-vercel-mongodb/README.md index 56244fbb5..12db6e85e 100644 --- a/templates/with-vercel-mongodb/README.md +++ b/templates/with-vercel-mongodb/README.md @@ -1,6 +1,6 @@ # payload-vercel-mongodb-template -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/payloadcms/payload/tree/beta/templates/with-vercel-mongodb&project-name=payload-project&env=PAYLOAD_SECRET&build-command=pnpm%20run%20ci&stores=%5B%7B%22type%22:%22blob%22%7D%5D&integration-ids=oac_jnzmjqM10gllKmSrG0SGrHOH) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/payloadcms/payload/tree/main/templates/with-vercel-mongodb&project-name=payload-project&env=PAYLOAD_SECRET&build-command=pnpm%20run%20ci&stores=%5B%7B%22type%22:%22blob%22%7D%5D&integration-ids=oac_jnzmjqM10gllKmSrG0SGrHOH) payload-vercel-mongodb-template diff --git a/templates/with-vercel-postgres/README.md b/templates/with-vercel-postgres/README.md index 35b43c442..71899d469 100644 --- a/templates/with-vercel-postgres/README.md +++ b/templates/with-vercel-postgres/README.md @@ -1,6 +1,6 @@ # payload-vercel-postgres-template -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/payloadcms/payload/tree/beta/templates/with-vercel-postgres&project-name=payload-project&env=PAYLOAD_SECRET&build-command=pnpm%20run%20ci&stores=%5B%7B%22type%22:%22postgres%22%7D,%7B%22type%22:%22blob%22%7D%5D) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/payloadcms/payload/tree/main/templates/with-vercel-postgres&project-name=payload-project&env=PAYLOAD_SECRET&build-command=pnpm%20run%20ci&stores=%5B%7B%22type%22:%22postgres%22%7D,%7B%22type%22:%22blob%22%7D%5D) payload-vercel-postgres-template diff --git a/templates/with-vercel-postgres/src/migrations/20241116_000907_initial.json b/templates/with-vercel-postgres/src/migrations/20241117_173358_initial.json similarity index 99% rename from templates/with-vercel-postgres/src/migrations/20241116_000907_initial.json rename to templates/with-vercel-postgres/src/migrations/20241117_173358_initial.json index 161b9b102..be5c162c2 100644 --- a/templates/with-vercel-postgres/src/migrations/20241116_000907_initial.json +++ b/templates/with-vercel-postgres/src/migrations/20241117_173358_initial.json @@ -1,5 +1,5 @@ { - "id": "20867425-1db4-49e1-86d5-cc96ff8489c9", + "id": "68ab6056-e567-483f-ad35-cdabbefb3ced", "prevId": "00000000-0000-0000-0000-000000000000", "version": "7", "dialect": "postgresql", diff --git a/templates/with-vercel-postgres/src/migrations/20241116_000907_initial.ts b/templates/with-vercel-postgres/src/migrations/20241117_173358_initial.ts similarity index 100% rename from templates/with-vercel-postgres/src/migrations/20241116_000907_initial.ts rename to templates/with-vercel-postgres/src/migrations/20241117_173358_initial.ts diff --git a/templates/with-vercel-postgres/src/migrations/index.ts b/templates/with-vercel-postgres/src/migrations/index.ts index 72be1374c..c839bcc84 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_20241116_000907_initial from './20241116_000907_initial' +import * as migration_20241117_173358_initial from './20241117_173358_initial' export const migrations = [ { - up: migration_20241116_000907_initial.up, - down: migration_20241116_000907_initial.down, - name: '20241116_000907_initial', + up: migration_20241117_173358_initial.up, + down: migration_20241117_173358_initial.down, + name: '20241117_173358_initial', }, ] diff --git a/templates/with-vercel-website/README.md b/templates/with-vercel-website/README.md index e4cb13551..534df262d 100644 --- a/templates/with-vercel-website/README.md +++ b/templates/with-vercel-website/README.md @@ -1,6 +1,6 @@ # payload-vercel-website-template -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/payloadcms/payload/tree/beta/templates/with-vercel-website&project-name=payload-project&env=PAYLOAD_SECRET&build-command=pnpm%20run%20ci&stores=%5B%7B%22type%22:%22postgres%22%7D,%7B%22type%22:%22blob%22%7D%5D) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/payloadcms/payload/tree/main/templates/with-vercel-website&project-name=payload-project&env=PAYLOAD_SECRET&build-command=pnpm%20run%20ci&stores=%5B%7B%22type%22:%22postgres%22%7D,%7B%22type%22:%22blob%22%7D%5D) payload-vercel-website-template diff --git a/templates/with-vercel-website/src/migrations/20241116_000910_initial.json b/templates/with-vercel-website/src/migrations/20241117_173400_initial.json similarity index 99% rename from templates/with-vercel-website/src/migrations/20241116_000910_initial.json rename to templates/with-vercel-website/src/migrations/20241117_173400_initial.json index bd3964bcc..0439e3241 100644 --- a/templates/with-vercel-website/src/migrations/20241116_000910_initial.json +++ b/templates/with-vercel-website/src/migrations/20241117_173400_initial.json @@ -1,5 +1,5 @@ { - "id": "e79053cd-1f9a-4572-b55e-796971cf6c34", + "id": "e995d043-6b3c-426a-be17-05bb6ba9bca0", "prevId": "00000000-0000-0000-0000-000000000000", "version": "7", "dialect": "postgresql", diff --git a/templates/with-vercel-website/src/migrations/20241116_000910_initial.ts b/templates/with-vercel-website/src/migrations/20241117_173400_initial.ts similarity index 100% rename from templates/with-vercel-website/src/migrations/20241116_000910_initial.ts rename to templates/with-vercel-website/src/migrations/20241117_173400_initial.ts diff --git a/templates/with-vercel-website/src/migrations/index.ts b/templates/with-vercel-website/src/migrations/index.ts index a3a1f7abb..33c687c83 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_20241116_000910_initial from './20241116_000910_initial' +import * as migration_20241117_173400_initial from './20241117_173400_initial' export const migrations = [ { - up: migration_20241116_000910_initial.up, - down: migration_20241116_000910_initial.down, - name: '20241116_000910_initial', + up: migration_20241117_173400_initial.up, + down: migration_20241117_173400_initial.down, + name: '20241117_173400_initial', }, ]