**BREAKING CHANGE:** This bumps the **minimum required Next.js** version from 15.0.0 to 15.2.3. This update is necessary due to a critical security vulnerability found in earlier Next.js versions, which requires an exception to our standard semantic versioning process. Additionally, this bumps all templates to the latest Next.js and Payload versions.
51 lines
1.6 KiB
JSON
51 lines
1.6 KiB
JSON
{
|
|
"name": "payload-postgres-template",
|
|
"version": "1.0.0",
|
|
"description": "A blank template to get started with Payload 3.0",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "cross-env NODE_OPTIONS=--no-deprecation next 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"
|
|
},
|
|
"dependencies": {
|
|
"@payloadcms/next": "latest",
|
|
"@payloadcms/payload-cloud": "latest",
|
|
"@payloadcms/richtext-lexical": "latest",
|
|
"cross-env": "^7.0.3",
|
|
"graphql": "^16.8.1",
|
|
"next": "15.2.3",
|
|
"payload": "latest",
|
|
"react": "19.0.0",
|
|
"react-dom": "19.0.0",
|
|
"sharp": "0.32.6",
|
|
"@payloadcms/db-postgres": "latest"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.2.0",
|
|
"@types/node": "^22.5.4",
|
|
"@types/react": "19.0.12",
|
|
"@types/react-dom": "19.0.4",
|
|
"eslint": "^9.16.0",
|
|
"eslint-config-next": "15.2.3",
|
|
"prettier": "^3.4.2",
|
|
"typescript": "5.7.3"
|
|
},
|
|
"engines": {
|
|
"node": "^18.20.2 || >=20.9.0",
|
|
"pnpm": "^9"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"sharp"
|
|
]
|
|
}
|
|
}
|