Repository navigation
chore(deps): bump TypeScript 5 -> 6 in mcp-server + vscode - #1146
Merged
Merged
Conversation
Major version bump. Both packages compile and test cleanly with TS 6 — no source code changes required. Bumps: - packages/mcp-server: typescript ^5.7.0 -> ^6.0.0 - packages/vscode: typescript ^5.5.0 -> ^6.0.0 Not bumped: - @types/node in mcp-server stays ^24.0.0 (matches the Node 24 LTS pinned in .nvmrc by #1144). @types/node 25 would target the current-but-non-LTS Node 25 line. - @types/node in vscode stays ^22.0.0 (matches VS Code's extension- host runtime, also set by #1144). Verified: - mcp-server: tsc clean; 166/166 vitest tests pass. - vscode: tsc clean; npm run package produces rustledger-vscode.vsix (105 KB) without errors. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Bumps the typescript devDependency from ^5.x to ^6.0.0 in both packages/mcp-server and packages/vscode, with the resulting package-lock.json updates resolving [email protected].
Changes:
- Update
typescriptspec to^6.0.0inmcp-serverandvscodepackage.json files - Refresh both
package-lock.jsonfiles to pin[email protected]
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/mcp-server/package.json | TypeScript devDependency ^5.7.0 → ^6.0.0 |
| packages/mcp-server/package-lock.json | Lockfile pins [email protected] |
| packages/vscode/package.json | TypeScript devDependency ^5.5.0 → ^6.0.0 |
| packages/vscode/package-lock.json | Lockfile pins [email protected] |
Files not reviewed (2)
- packages/mcp-server/package-lock.json: Language not supported
- packages/vscode/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
✅ Compatibility Test Results
What's tested
Full results available in workflow artifacts |
2 tasks done
robcohen
added a commit
that referenced
this pull request
May 18, 2026
…1147) Two small tsconfig.json tweaks now that we're on TS 6 (PR #1146): packages/mcp-server/tsconfig.json: target/lib ES2022 -> ES2024 Node 24 is now pinned via .nvmrc (#1144), so we can take advantage of ES2024 built-ins (Object.groupBy, Promise.withResolvers, etc.) without runtime-availability concerns. Deliberately stopping short of ES2025 to avoid tying us to APIs that need the very latest Node minor; revisit later if a concrete use surfaces. packages/vscode/tsconfig.json: - Add explicit moduleResolution: node10 + ignoreDeprecations: "6.0" - Add explicit types: ["node"] TS 6 deprecates the implicit `node10` resolution. We can't migrate to nodenext/bundler yet because @vscode/vsce (the extension publisher tooling) hasn't sanctioned that path for VS Code extensions. Setting the resolution explicitly + suppressing the deprecation keeps us building cleanly through the TS 6 line; a comment in-line documents when to revisit (TS 7 adoption). TS 6 also changes `types` default from [<all>] to []. Locking it to ["node"] makes the previously-implicit auto-include explicit so a future ignoreDeprecations drop doesn't silently lose types. Skipped (not enough payoff in our code): - Subpath imports (`#/`): only 8 sibling files in mcp-server, no deep `../../` patterns. - Map.getOrInsert / RegExp.escape / Temporal: no natural insertion points found; would be a speculative refactor. - --stableTypeOrdering flag: TS 7 prep with ~25% type-check overhead; not worth it until we're actively migrating. Verified: - mcp-server: tsc clean; 166/166 vitest tests pass - vscode: tsc clean; npm run package produces vsix without errors Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Last item from the dep-audit menu (D→E→F). TypeScript major-version bump in both Node packages.
Bumps
Not bumped
Test plan
Surprisingly clean — TypeScript 6 didn't surface any breaking changes in either codebase. No source code edits required.
🤖 Generated with Claude Code