Add TypeScript strict mode and typecheck tasks to monorepo infrastructure. Fix E2E test @payload-config alias and frontend TypeScript errors. - Add tsconfig.json to backend with strict mode and path aliases - Add typecheck task to Turborepo and all packages - Fix @payload-config alias for E2E tests and dev server - Add setToken method to AuthService for middleware use - Fix implicit any types in Footer.astro and Header.astro - Remove invalid typescript config from astro.config.mjs
56 lines
1.1 KiB
JSON
56 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ESNext",
|
|
"lib": [
|
|
"ES2022"
|
|
],
|
|
"moduleResolution": "Bundler",
|
|
"resolveJsonModule": true,
|
|
"allowJs": false,
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"jsx": "preserve",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": [
|
|
"./src/*"
|
|
],
|
|
"@payload-config": [
|
|
"./src/payload.config"
|
|
]
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"noEmit": true,
|
|
"incremental": true,
|
|
"isolatedModules": true
|
|
},
|
|
"include": [
|
|
"src/**/*",
|
|
"next.config.js",
|
|
".next/types/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
".next",
|
|
"dist",
|
|
"tests/**/*",
|
|
"**/__tests__/**/*",
|
|
"**/*.spec.ts",
|
|
"**/*.test.ts",
|
|
"vitest.config.mts",
|
|
"playwright.config.ts"
|
|
]
|
|
}
|