docs: add TypeScript 6.x pinning note to CLAUDE.md - #1207
Merged
Conversation
vue-tsc depends on the Compiler/AST API that TypeScript 7.0 removed, so npm run build breaks on it. Note the pin to TS 6.x and the upstream tracking issue so future upgrade attempts don't repeat the investigation.
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
Added documentation to CLAUDE.md clarifying that TypeScript must remain pinned to the 6.x version and should not be upgraded to TypeScript 7 yet.
Changes
vue-tscdepends on, breaking the build@typescript/native-preview,tsgo) Support vuejs/language-tools#5381)typescript-native-bridge) exists but isn't worth adopting for this projectvue-tscships native TS 7.1 supportDetails
This is a documentation-only change to prevent accidental TypeScript upgrades that would break the frontend build process. The note serves as a reference for future maintainers and CI/CD configurations.
https://claude.ai/code/session_019dtMxNRsAHtd17S5BADL2B