Files
orangecat/tsconfig.json
T
g-butandClaude Opus 4.6 42b6d282d5 fix(ci): resolve type-check and e2e failures
- tsconfig.json: exclude .test.tsx and .spec.tsx from type check
  (only .test.ts/.spec.ts were excluded, so .tsx test files got
  type-checked without jest/testing-library types available)
- ci.yml: move NODE_ENV=production from job-level to Build step only
  (npm 10+ skips devDependencies when NODE_ENV=production, causing
  type-check and unit test steps to fail)
- e2e-auth.yml: fix test file path (auth-flows.spec.ts doesn't exist,
  changed to login-only.spec.ts)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 17:04:32 +01:00

55 lines
1.3 KiB
JSON

{
"compilerOptions": {
"target": "ES2020",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"noEmit": true,
"incremental": true,
"module": "esnext",
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"plugins": [
{
"name": "next"
}
],
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@/components/*": ["src/components/*"],
"@/lib/*": ["src/lib/*"],
"@/hooks/*": ["src/hooks/*"],
"@/types/*": ["src/types/*"],
"@/utils/*": ["src/utils/*"],
"@/services/*": ["src/services/*"],
"@/stores/*": ["src/stores/*"]
},
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true
},
"include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx", "jest.setup.ts"],
"exclude": [
"node_modules",
".next",
"dist",
"build",
"coverage",
"cypress",
"cypress.config.ts",
"playwright.config.ts",
"**/*.spec.ts",
"**/*.spec.tsx",
"**/*.test.ts",
"**/*.test.tsx"
]
}