Files
LogiFlow/tsconfig.json
Claude f5bc114a82 fix(types): drop the 2017 @types/date-fns stub shadowing date-fns 3 types
The tsconfig "types" array forced @types/date-fns@2.5.3 — a deprecated stub
for date-fns v2.5 — over the real types shipped by date-fns 3.6, producing
phantom errors everywhere dates are formatted (Locale unknown, format()
refusing its options argument, parseISO missing). Removing the stub and the
types entry (plus the unused node-fetch entry) clears them at the root.

Also applies the non-breaking npm audit fixes: 16 production vulnerabilities
down to 2 (drizzle-orm and xlsx, both needing review — see commit history).

TypeScript errors: 261 → 177.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FHdE9nEh8zHhQNGpCgrtYe
2026-08-14 16:20:29 +00:00

48 lines
873 B
JSON

{
"include": [
"client/src/**/*",
"shared/**/*",
"server/**/*"
],
"exclude": [
"node_modules",
"build",
"dist",
"**/*.test.ts"
],
"compilerOptions": {
"incremental": true,
"tsBuildInfoFile": "./node_modules/typescript/tsbuildinfo",
"noEmit": true,
"target": "ES2020",
"module": "ES2022",
"strict": true,
"lib": [
"ES2020",
"dom",
"dom.iterable"
],
"jsx": "preserve",
"esModuleInterop": true,
"skipLibCheck": true,
"allowImportingTsExtensions": true,
"moduleResolution": "bundler",
"downlevelIteration": true,
"baseUrl": ".",
"types": [
"node",
"vite/client",
"express",
"react",
"react-dom"
],
"paths": {
"@/*": [
"./client/src/*"
],
"@shared/*": [
"./shared/*"
]
}
}
}