mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 01:21:09 +02:00
Running pnpm type-check inside apps/api failed before any real error could run, blocked by two structural errors: drizzle.presi.config.ts and scripts/generate-who-dossiers.ts are deliberately outside src/ but are matched by the include pattern, tripping TS6059 against rootDir=src. And @mana/shared-types imports peer files with explicit .ts extensions, which needs allowImportingTsExtensions under moduleResolution=bundler. Remove rootDir (we're noEmit anyway — Bun runs src/index.ts directly, tsc is only a lint pass), drop the unused outDir, add noEmit explicitly, and enable allowImportingTsExtensions. Type-check now completes cleanly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
327 B
JSON
14 lines
327 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"noEmit": true,
|
|
"allowImportingTsExtensions": true,
|
|
"types": ["bun-types"]
|
|
},
|
|
"include": ["src/**/*.ts", "scripts/**/*.ts", "drizzle.*.config.ts"]
|
|
}
|