Commit f90ee52
Make type-consumer fixture hermetic with types: []
Without an explicit types option, tsc auto-includes every
node_modules/@types package from parent directories, so the monorepo
root's hoisted typings leaked into the fixture program. In CI,
@types/pg failed to resolve pg-protocol/dist/messages under
skipLibCheck: false and broke the bundler consumer check. The fixture
must only type-check the packed permissionless tarball, not workspace
typings.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent ddb762f commit f90ee52
2 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
0 commit comments