Commit aa48bdd
fix(v2): scope the tools typecheck to the two src/lib files it imports
tools/tsconfig.json included ../src/lib/**/*.ts, which drags in prisma.ts,
redis.ts and mqtt.ts -- the tinyhttp server's infrastructure. prisma.ts needs
types that exist only after `prisma generate`, so typecheck:v2 still failed on
the legacy server's codegen even after CI stopped running the root tsc. Same
coupling, one layer down.
The tooling imports exactly two files from src/lib: resource.ts (the hardware
list) and deviceLinks.ts. The include now names them.
Verified by moving the generated Prisma client aside and re-running: typecheck:v2
passes without it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent fb79feb commit aa48bdd
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 | | |
0 commit comments