This PR adds int tests with vitest and e2e tests with playwright directly into our templates. The following are also updated: - bumps core turbo to 2.5.4 in monorepo - blank and website templates moved up to be part of the monorepo workspace - this means we now have thes templates filtered out in pnpm commands in package.json - they will now by default use workspace packages which we can use for manual testing and int and e2e tests - note that turbo doesnt work with these for dev in monorepo context - CPA script will fetch latest version and then replace `workspace:*` or the pinned version in the package.json before installation - blank template no longer uses _template as a base, this is to simplify management for workspace - updated the generate template variations script
50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"name": "with-payload-cloud",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@payloadcms/db-mongodb": "3.29.0",
|
|
"@payloadcms/next": "3.29.0",
|
|
"@payloadcms/payload-cloud": "3.29.0",
|
|
"@payloadcms/richtext-lexical": "3.29.0",
|
|
"cross-env": "^7.0.3",
|
|
"graphql": "^16.8.1",
|
|
"next": "15.3.0",
|
|
"payload": "3.29.0",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0",
|
|
"sharp": "0.32.6"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.2.0",
|
|
"@types/node": "^22.5.4",
|
|
"@types/react": "19.1.0",
|
|
"@types/react-dom": "19.1.2",
|
|
"eslint": "^9.16.0",
|
|
"eslint-config-next": "15.3.0",
|
|
"prettier": "^3.4.2",
|
|
"typescript": "5.7.3"
|
|
},
|
|
"engines": {
|
|
"node": "^18.20.2 || >=20.9.0",
|
|
"pnpm": "^9 || ^10"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"sharp"
|
|
]
|
|
}
|
|
}
|