chore(ui): upgrade TypeScript to 6.0.3#200
Merged
Merged
Conversation
Move the UI package from TypeScript 5.9 to 6.0, the latest release that still works with vue-tsc/Volar. TypeScript 7 drops the classic JS API those tools need, so build:ui fails on 7.x until that ecosystem catches up. Also drop deprecated baseUrl and use explicit path mappings so TS 6 typecheck succeeds without ignoreDeprecations.
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.
Related Issues
N/A — dependency upgrade after TypeScript 7 broke
vue-tsc/task build:uiwhen resolving the latest release.Summary
~5.9.3to~6.0.3.6.0.3is the latest TypeScript release that still works withvue-tsc/ Volar.baseUrlso TS 6 typecheck succeeds withoutignoreDeprecations.Changes
ui/package.json: bumptypescriptfrom~5.9.3to~6.0.3.ui/pnpm-lock.yaml: lockfile updated for TypeScript 6.0.3 and peer resolution.ui/tsconfig.app.json:baseUrl"@/*": ["./src/*"]Test Result
Succeeded (
vue-tsc -b+ Vite embed build).All tests passed (30 files, 458 tests).
Notes
@vue/tsconfigstill peers on[email protected]; this is a soft warning and does not block build.vue-tsc/ Volar support TypeScript 7.