Commit 08e9208
fix(ts): TypeScript 6.0 compat — ignoreDeprecations for baseUrl + node types
TS 6.0.3 turns the `baseUrl` deprecation into a hard error (TS5101) and
stops auto-including @types/node ambient globals for the src project, so
test files using fs/path/__dirname fail (TS2591/TS2304).
- add `"ignoreDeprecations": "6.0"` to silence the baseUrl deprecation
- add `"types": ["node"]` so node module/global types resolve
(vite/client stays covered by the /// reference in vite-env.d.ts)
`npm run gate` (tsc --noEmit && build && vitest) green: 79 files,
1107 passed / 3 skipped.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 9358878 commit 08e9208
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments