Commit 4aaebc8
authored
chore(deps): bump typescript ^5.4.0 → ^6.0 (#8)
## Summary
- Bump `typescript` `^5.4.0` → `^6.0` (resolves to 6.0.3). TS 6 is the
transitional cleanup release ahead of TS 7 (the Go-native compiler) —
mostly turns 5.x deprecations into errors.
- `tsc --noEmit` passes clean with no source changes.
- Added `"ignoreDeprecations": "6.0"` to `tsconfig.json`: `tsup`'s DTS
build internally sets `baseUrl` (deprecated in 6.0, stops functioning in
7.0), which makes `tsup --dts` error out and emit **no `.d.ts` files** —
a regression for a published SDK. `ignoreDeprecations: "6.0"` is the
TS-team-recommended interim silencer (see https://aka.ms/ts6); drop it
once `tsup` stops injecting `baseUrl`.
- Verified: `npm run typecheck` ✅, `npm run build` (ESM + CJS + **DTS**)
✅ — `dist/index.d.ts` emitted.
## Test plan
- [x] `npm run typecheck` clean
- [x] `npm run build` produces ESM + CJS + `.d.ts`
- [ ] CI green
- [ ] (npm publish is gated separately — version bump not included here)
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent ceef747 commit 4aaebc8
3 files changed
Lines changed: 6 additions & 5 deletions
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 | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments