Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: templates back to latest #10122

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions templates/_template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"start": "cross-env NODE_OPTIONS=--no-deprecation next start"
},
"dependencies": {
"@payloadcms/db-mongodb": "3.9.0",
"@payloadcms/next": "3.9.0",
"@payloadcms/payload-cloud": "3.9.0",
"@payloadcms/richtext-lexical": "3.9.0",
"@payloadcms/db-mongodb": "latest",
"@payloadcms/next": "latest",
"@payloadcms/payload-cloud": "latest",
"@payloadcms/richtext-lexical": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.1.0",
"payload": "3.9.0",
"payload": "latest",
"react": "19.0.0",
"react-dom": "19.0.0",
"sharp": "0.32.6"
Expand Down
10 changes: 5 additions & 5 deletions templates/blank/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"start": "cross-env NODE_OPTIONS=--no-deprecation next start"
},
"dependencies": {
"@payloadcms/db-mongodb": "3.9.0",
"@payloadcms/next": "3.9.0",
"@payloadcms/payload-cloud": "3.9.0",
"@payloadcms/richtext-lexical": "3.9.0",
"@payloadcms/db-mongodb": "latest",
"@payloadcms/next": "latest",
"@payloadcms/payload-cloud": "latest",
"@payloadcms/richtext-lexical": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.1.0",
"payload": "3.9.0",
"payload": "latest",
"react": "19.0.0",
"react-dom": "19.0.0",
"sharp": "0.32.6"
Expand Down
220 changes: 125 additions & 95 deletions templates/blank/pnpm-lock.yaml

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions templates/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@
"start": "cross-env NODE_OPTIONS=--no-deprecation next start"
},
"dependencies": {
"@payloadcms/db-mongodb": "3.9.0",
"@payloadcms/live-preview-react": "3.9.0",
"@payloadcms/next": "3.9.0",
"@payloadcms/payload-cloud": "3.9.0",
"@payloadcms/plugin-form-builder": "3.9.0",
"@payloadcms/plugin-nested-docs": "3.9.0",
"@payloadcms/plugin-redirects": "3.9.0",
"@payloadcms/plugin-search": "3.9.0",
"@payloadcms/plugin-seo": "3.9.0",
"@payloadcms/richtext-lexical": "3.9.0",
"@payloadcms/ui": "3.9.0",
"@payloadcms/db-mongodb": "latest",
"@payloadcms/live-preview-react": "latest",
"@payloadcms/next": "latest",
"@payloadcms/payload-cloud": "latest",
"@payloadcms/plugin-form-builder": "latest",
"@payloadcms/plugin-nested-docs": "latest",
"@payloadcms/plugin-redirects": "latest",
"@payloadcms/plugin-search": "latest",
"@payloadcms/plugin-seo": "latest",
"@payloadcms/richtext-lexical": "latest",
"@payloadcms/ui": "latest",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-select": "^2.0.0",
Expand All @@ -42,7 +42,7 @@
"lucide-react": "^0.378.0",
"next": "^15.1.0",
"next-sitemap": "^4.2.3",
"payload": "3.9.0",
"payload": "latest",
"payload-admin-bar": "^1.0.6",
"prism-react-renderer": "^2.3.1",
"react": "^19.0.0",
Expand Down
250 changes: 125 additions & 125 deletions templates/website/pnpm-lock.yaml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions templates/with-payload-cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"start": "cross-env NODE_OPTIONS=--no-deprecation next start"
},
"dependencies": {
"@payloadcms/db-mongodb": "3.9.0",
"@payloadcms/next": "3.9.0",
"@payloadcms/payload-cloud": "3.9.0",
"@payloadcms/richtext-lexical": "3.9.0",
"@payloadcms/db-mongodb": "latest",
"@payloadcms/next": "latest",
"@payloadcms/payload-cloud": "latest",
"@payloadcms/richtext-lexical": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.1.0",
"payload": "3.9.0",
"payload": "latest",
"react": "19.0.0",
"react-dom": "19.0.0",
"sharp": "0.32.6"
Expand Down
16 changes: 8 additions & 8 deletions templates/with-postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@
"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",
"generate:types": "cross-env NODE_OPTIONS=--no-deprecation payload generate:types",
"lint": "cross-env NODE_OPTIONS=--no-deprecation next lint",
"payload": "cross-env NODE_OPTIONS=--no-deprecation payload",
"start": "cross-env NODE_OPTIONS=--no-deprecation next start",
"ci": "payload migrate && pnpm build"
"start": "cross-env NODE_OPTIONS=--no-deprecation next start"
},
"dependencies": {
"@payloadcms/next": "3.9.0",
"@payloadcms/payload-cloud": "3.9.0",
"@payloadcms/richtext-lexical": "3.9.0",
"@payloadcms/db-postgres": "latest",
"@payloadcms/next": "latest",
"@payloadcms/payload-cloud": "latest",
"@payloadcms/richtext-lexical": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.1.0",
"payload": "3.9.0",
"payload": "latest",
"react": "19.0.0",
"react-dom": "19.0.0",
"sharp": "0.32.6",
"@payloadcms/db-postgres": "3.9.0"
"sharp": "0.32.6"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "19f6f6b6-67a6-472f-9e30-e4972f21ca73",
"id": "41295746-6684-4fe6-aaa6-fb6221178cfa",
"prevId": "00000000-0000-0000-0000-000000000000",
"version": "7",
"dialect": "postgresql",
Expand Down
8 changes: 4 additions & 4 deletions templates/with-postgres/src/migrations/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as migration_20241221_130423_initial from './20241221_130423_initial'
import * as migration_20241221_132951_initial from './20241221_132951_initial'

export const migrations = [
{
up: migration_20241221_130423_initial.up,
down: migration_20241221_130423_initial.down,
name: '20241221_130423_initial',
up: migration_20241221_132951_initial.up,
down: migration_20241221_132951_initial.down,
name: '20241221_132951_initial',
},
]
14 changes: 7 additions & 7 deletions templates/with-vercel-mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
"start": "cross-env NODE_OPTIONS=--no-deprecation next start"
},
"dependencies": {
"@payloadcms/db-mongodb": "3.9.0",
"@payloadcms/next": "3.9.0",
"@payloadcms/payload-cloud": "3.9.0",
"@payloadcms/richtext-lexical": "3.9.0",
"@payloadcms/db-mongodb": "latest",
"@payloadcms/next": "latest",
"@payloadcms/payload-cloud": "latest",
"@payloadcms/richtext-lexical": "latest",
"@payloadcms/storage-vercel-blob": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.1.0",
"payload": "3.9.0",
"payload": "latest",
"react": "19.0.0",
"react-dom": "19.0.0",
"@payloadcms/storage-vercel-blob": "3.9.0"
"react-dom": "19.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
Expand Down
18 changes: 9 additions & 9 deletions templates/with-vercel-postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@
"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",
"generate:types": "cross-env NODE_OPTIONS=--no-deprecation payload generate:types",
"lint": "cross-env NODE_OPTIONS=--no-deprecation next lint",
"payload": "cross-env NODE_OPTIONS=--no-deprecation payload",
"start": "cross-env NODE_OPTIONS=--no-deprecation next start",
"ci": "payload migrate && pnpm build"
"start": "cross-env NODE_OPTIONS=--no-deprecation next start"
},
"dependencies": {
"@payloadcms/next": "3.9.0",
"@payloadcms/payload-cloud": "3.9.0",
"@payloadcms/richtext-lexical": "3.9.0",
"@payloadcms/db-vercel-postgres": "latest",
"@payloadcms/next": "latest",
"@payloadcms/payload-cloud": "latest",
"@payloadcms/richtext-lexical": "latest",
"@payloadcms/storage-vercel-blob": "latest",
"cross-env": "^7.0.3",
"graphql": "^16.8.1",
"next": "15.1.0",
"payload": "3.9.0",
"payload": "latest",
"react": "19.0.0",
"react-dom": "19.0.0",
"@payloadcms/db-vercel-postgres": "3.9.0",
"@payloadcms/storage-vercel-blob": "3.9.0"
"react-dom": "19.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "c68845d5-29d1-4e46-b258-29ef5f876fad",
"id": "0775aa56-ed03-4997-8d4b-a48e9a5b6a96",
"prevId": "00000000-0000-0000-0000-000000000000",
"version": "7",
"dialect": "postgresql",
Expand Down
8 changes: 4 additions & 4 deletions templates/with-vercel-postgres/src/migrations/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as migration_20241221_130358_initial from './20241221_130358_initial'
import * as migration_20241221_132939_initial from './20241221_132939_initial'

export const migrations = [
{
up: migration_20241221_130358_initial.up,
down: migration_20241221_130358_initial.down,
name: '20241221_130358_initial',
up: migration_20241221_132939_initial.up,
down: migration_20241221_132939_initial.down,
name: '20241221_132939_initial',
},
]
32 changes: 16 additions & 16 deletions templates/with-vercel-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -16,20 +17,21 @@
"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",
"ci": "payload migrate && pnpm build"
"start": "cross-env NODE_OPTIONS=--no-deprecation next start"
},
"dependencies": {
"@payloadcms/live-preview-react": "3.9.0",
"@payloadcms/next": "3.9.0",
"@payloadcms/payload-cloud": "3.9.0",
"@payloadcms/plugin-form-builder": "3.9.0",
"@payloadcms/plugin-nested-docs": "3.9.0",
"@payloadcms/plugin-redirects": "3.9.0",
"@payloadcms/plugin-search": "3.9.0",
"@payloadcms/plugin-seo": "3.9.0",
"@payloadcms/richtext-lexical": "3.9.0",
"@payloadcms/ui": "3.9.0",
"@payloadcms/db-vercel-postgres": "latest",
"@payloadcms/live-preview-react": "latest",
"@payloadcms/next": "latest",
"@payloadcms/payload-cloud": "latest",
"@payloadcms/plugin-form-builder": "latest",
"@payloadcms/plugin-nested-docs": "latest",
"@payloadcms/plugin-redirects": "latest",
"@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",
"@radix-ui/react-select": "^2.0.0",
Expand All @@ -42,17 +44,15 @@
"lucide-react": "^0.378.0",
"next": "^15.1.0",
"next-sitemap": "^4.2.3",
"payload": "3.9.0",
"payload": "latest",
"payload-admin-bar": "^1.0.6",
"prism-react-renderer": "^2.3.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-hook-form": "7.45.4",
"sharp": "0.32.6",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"@payloadcms/db-vercel-postgres": "3.9.0",
"@payloadcms/storage-vercel-blob": "3.9.0"
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "df629ce9-ae70-414d-80f2-33997f6e2938",
"id": "94af2ba9-6799-4b37-a6f2-3caaf8cc8470",
"prevId": "00000000-0000-0000-0000-000000000000",
"version": "7",
"dialect": "postgresql",
Expand Down Expand Up @@ -8235,6 +8235,11 @@
}
},
"enums": {
"public.enum_pages_hero_type": {
"name": "enum_pages_hero_type",
"schema": "public",
"values": ["none", "highImpact", "mediumImpact", "lowImpact"]
},
"public.enum_pages_hero_links_link_type": {
"name": "enum_pages_hero_links_link_type",
"schema": "public",
Expand Down Expand Up @@ -8280,16 +8285,16 @@
"schema": "public",
"values": ["posts"]
},
"public.enum_pages_hero_type": {
"name": "enum_pages_hero_type",
"schema": "public",
"values": ["none", "highImpact", "mediumImpact", "lowImpact"]
},
"public.enum_pages_status": {
"name": "enum_pages_status",
"schema": "public",
"values": ["draft", "published"]
},
"public.enum__pages_v_version_hero_type": {
"name": "enum__pages_v_version_hero_type",
"schema": "public",
"values": ["none", "highImpact", "mediumImpact", "lowImpact"]
},
"public.enum__pages_v_version_hero_links_link_type": {
"name": "enum__pages_v_version_hero_links_link_type",
"schema": "public",
Expand Down Expand Up @@ -8335,11 +8340,6 @@
"schema": "public",
"values": ["posts"]
},
"public.enum__pages_v_version_hero_type": {
"name": "enum__pages_v_version_hero_type",
"schema": "public",
"values": ["none", "highImpact", "mediumImpact", "lowImpact"]
},
"public.enum__pages_v_version_status": {
"name": "enum__pages_v_version_status",
"schema": "public",
Expand Down
Loading