build(deps-dev): bump typescript to 6.0.3 and modernise module resolution - #211
Merged
Conversation
…tion Supersedes #199, which cannot be merged on its own. The bump alone fails type-check: tsconfig.json(16,25): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Rather than silence it with ignoreDeprecations, which only defers the same error to TypeScript 7, this moves both tsconfigs to module esnext with moduleResolution bundler. That is the accurate description of this project since #204: Vite does the bundling, and the published package resolves through an exports map rather than node10 directory walking. tsc no longer emits any JavaScript here, only declarations via vite-plugin-dts, so the change cannot affect the shipped runtime. Confirmed by building main and this branch and diffing lib/: no differences outside sourcemaps, and index.d.ts is byte identical. Verified on typescript 6.0.3: root and examples type-check, lint, 53 library tests, 2 demo tests, the full ESM/CJS/UMD build, attw green on all four resolution modes, and the demo build. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
✅ Deploy Preview for react-xarrows ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe project updates TypeScript development dependencies to ChangesTypeScript configuration
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
eliavVivid
approved these changes
Aug 8, 2026
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.
Supersedes #199.
Why #199 cannot be merged on its own
The bump alone fails
type-check:Dependabot cannot make the tsconfig change that goes with it, so its PR is red by construction.
What this does instead
"ignoreDeprecations": "6.0"would silence it and hand the identical error to TypeScript 7. This moves both tsconfigs tomodule: esnext+moduleResolution: bundlerinstead, which is simply an accurate description of the project since #204: Vite does the bundling, and the published package resolves through anexportsmap rather than node10 directory walking.Risk
None to the shipped artifact.
tscno longer emits any JavaScript here, only declarations throughvite-plugin-dts.Confirmed rather than assumed: built
mainand this branch and diffedlib/.index.d.tsbyte identicalVerified on typescript 6.0.3
type-checkexamplestsc --noEmit.d.tsattw🤖 Generated with Claude Code
Summary by CodeRabbit