Skip to content

Commit 4aaebc8

Browse files
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

File tree

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"devDependencies": {
5656
"@biomejs/biome": "2.4.12",
5757
"tsup": "^8.0.0",
58-
"typescript": "^5.4.0",
58+
"typescript": "^6.0.3",
5959
"vitest": "^3.0.0"
6060
}
6161
}

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"module": "ESNext",
55
"moduleResolution": "bundler",
66
"lib": ["ES2020", "DOM"],
7+
"ignoreDeprecations": "6.0",
78
"strict": true,
89
"esModuleInterop": true,
910
"skipLibCheck": true,

0 commit comments

Comments
 (0)