Commit dfe3041
fix(ci): add DOM + node lib support for tsc --noEmit lint
The CI lint step (tsc --noEmit) was failing with 'Cannot find
name fetch/process/console' because the mcp tsconfig omitted
DOM lib and node types. Local tsup builds worked because tsup
has its own type resolution that's more lenient about globals.
Changes
- tsconfig.json: add DOM to lib, add types: ["node"], exclude
**/*.test.ts from lint (matching the sdk tsconfig pattern)
- package.json: add @types/node devDependency
- pnpm-lock.yaml: refreshed
This is a pre-existing lint gap revealed when the lockfile
mismatch blocker was resolved. All tests still pass (19/19).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1bcdf1d commit dfe3041
3 files changed
Lines changed: 29 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
| 16 | + | |
16 | 17 | | |
0 commit comments