mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 01:41:08 +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> |
||
|---|---|---|
| .. | ||
| drizzle/research | ||
| scripts | ||
| src | ||
| Dockerfile | ||
| drizzle.config.ts | ||
| drizzle.presi.config.ts | ||
| package.json | ||
| tsconfig.json | ||