- bumps next.js from 15.3.2 to 15.4.4 in monorepo and templates. It's important to run our tests against the latest Next.js version to guarantee full compatibility. - bumps playwright because of peer dependency conflict with next 15.4.4 - bumps react types because why not https://nextjs.org/blog/next-15-4 As part of this upgrade, the functionality added by https://github.com/payloadcms/payload/pull/11658 broke. This PR fixes it by creating a wrapper around `React.isValidElemen`t that works for Next.js 15.4. --- - To see the specific tasks where the Asana app for GitHub is being used, see below: - https://app.asana.com/0/0/1210803039809808
63 lines
2.1 KiB
JSON
63 lines
2.1 KiB
JSON
{
|
|
"name": "blank",
|
|
"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 --max-old-space-size=8000\" 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",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@payloadcms/db-mongodb": "workspace:*",
|
|
"@payloadcms/next": "workspace:*",
|
|
"@payloadcms/payload-cloud": "workspace:*",
|
|
"@payloadcms/richtext-lexical": "workspace:*",
|
|
"@payloadcms/ui": "workspace:*",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv": "16.4.7",
|
|
"graphql": "^16.8.1",
|
|
"next": "15.4.4",
|
|
"payload": "workspace:*",
|
|
"react": "19.1.0",
|
|
"sharp": "0.34.2"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.54.1",
|
|
"@testing-library/react": "16.3.0",
|
|
"@types/node": "^22.5.4",
|
|
"@types/react": "19.1.8",
|
|
"@types/react-dom": "19.1.6",
|
|
"@vitejs/plugin-react": "4.5.2",
|
|
"eslint": "^9.16.0",
|
|
"eslint-config-next": "15.4.4",
|
|
"jsdom": "26.1.0",
|
|
"playwright": "1.54.1",
|
|
"playwright-core": "1.54.1",
|
|
"prettier": "^3.4.2",
|
|
"typescript": "5.7.3",
|
|
"vite-tsconfig-paths": "5.1.4",
|
|
"vitest": "3.2.3"
|
|
},
|
|
"engines": {
|
|
"node": "^18.20.2 || >=20.9.0",
|
|
"pnpm": "^9 || ^10"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"sharp",
|
|
"esbuild",
|
|
"unrs-resolver"
|
|
]
|
|
}
|
|
}
|