Skip to content

docs: add TypeScript 6.x pinning note to CLAUDE.md - #1207

Merged
MartinCa merged 1 commit into
mainfrom
claude/typescript-7-vue-tsc-ckuwv2
Aug 18, 2026
Merged

docs: add TypeScript 6.x pinning note to CLAUDE.md#1207
MartinCa merged 1 commit into
mainfrom
claude/typescript-7-vue-tsc-ckuwv2

Conversation

@MartinCa

Copy link
Copy Markdown
Owner

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

  • Added a note in the "Key Configuration" section explaining the TypeScript 6.x requirement
  • Documented the reason: TypeScript 7.0 removed the Compiler/AST API that vue-tsc depends on, breaking the build
  • Noted that official support is blocked on TypeScript 7.1's plugin interface (referenced TypeScript Native / TypeScript 7 (@typescript/native-preview, tsgo) Support vuejs/language-tools#5381)
  • Mentioned the interim third-party shim (typescript-native-bridge) exists but isn't worth adopting for this project
  • Provided guidance to re-check once vue-tsc ships native TS 7.1 support

Details

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

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.
@MartinCa
MartinCa merged commit 6d8fc70 into main Aug 18, 2026
6 checks passed
@MartinCa
MartinCa deleted the claude/typescript-7-vue-tsc-ckuwv2 branch August 18, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants