Skip to content

Commit e4aad7b

Browse files
damonbauerclaude
andcommitted
chore(typescript): upgrade to TypeScript 6 and modernize moduleResolution
TypeScript 6.0 is the newest release typescript-eslint supports (peer range `>=4.8.4 <6.1.0`). TypeScript 7 is not viable yet: the plugin hard-errors with "typescript-eslint does not support TS 7.0", and vite-plugin-dts crashes reading the compiler API that the Go-based 7.0 package no longer exposes. `moduleResolution` moves from the deprecated `node`/node10 to `bundler`, which matches how Vite actually resolves this library and clears the TS5107 deprecation error that 6.0 raises. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ttm65yYvBRc7DBwguJW1XE
1 parent b040b73 commit e4aad7b

3 files changed

Lines changed: 6 additions & 6 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
@@ -47,7 +47,7 @@
4747
"eslint-plugin-prettier": "^5.5.6",
4848
"globals": "^16.5.0",
4949
"prettier": "^3.2.5",
50-
"typescript": "^5.9.3",
50+
"typescript": "^6.0.3",
5151
"vite": "^7.0.0",
5252
"vite-plugin-dts": "^4.1.0",
5353
"vitest": "^4.0.18"

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"declaration": true,
44
"lib": ["esnext"],
55
"module": "esnext",
6-
"moduleResolution": "node",
6+
"moduleResolution": "bundler",
77
"noImplicitReturns": true,
88
"noUnusedLocals": true,
99
"noUnusedParameters": true,

0 commit comments

Comments
 (0)