Commit 65a78df
Include scripts in typecheck (#2928)
The `scripts/` directory was excluded from type checking entirely.
Add a dedicated `scripts/tsconfig.json` and run it as part of `npm run typecheck`.
Also add `scripts/**/*` to the root `tsconfig.json` for IDE coverage.
A root `tsconfig.json` change alone would not make `npm run typecheck`
validate `scripts/`.
The previous root `typecheck` command only ran workspace checks, and
`scripts/` is not a workspace.
Using the root `tsconfig.json` directly for CI is also not viable yet
because it still surfaces pre-existing `import.meta` errors from
`apps/cli`, which has its own tsconfig with the correct module settings.
This means the dedicated `scripts/tsconfig.json` and the `package.json`
update are the functional part of the fix, while the root
`tsconfig.json` include improves IDE coverage.
---
Generated with the help of Claude Code, https://claude.ai/code
Co-Authored-By: Claude Code Opus 4.6 <noreply@anthropic.com>1 parent df41da2 commit 65a78df
3 files changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
0 commit comments