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
52 lines
922 B
JSON
52 lines
922 B
JSON
{
|
|
"compilerOptions": {
|
|
"strict": true,
|
|
"baseUrl": ".",
|
|
"esModuleInterop": true,
|
|
"target": "ES2022",
|
|
"lib": [
|
|
"DOM",
|
|
"DOM.Iterable",
|
|
"ES2022"
|
|
],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"noEmit": true,
|
|
"incremental": true,
|
|
"jsx": "preserve",
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"sourceMap": true,
|
|
"isolatedModules": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@payload-config": [
|
|
"./src/payload.config.ts"
|
|
],
|
|
"react": [
|
|
"./node_modules/@types/react"
|
|
],
|
|
"@/*": [
|
|
"./src/*"
|
|
],
|
|
}
|
|
},
|
|
"include": [
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
"redirects.js",
|
|
"next-env.d.ts",
|
|
"next.config.js",
|
|
"next-sitemap.config.cjs"
|
|
],
|
|
"exclude": [
|
|
"node_modules"
|
|
],
|
|
}
|