Repository navigation
Replies: 1 comment
|
最初の opt-in tsrs runtime 対応は #10034( The first opt-in tsrs runtime slice landed in #10034 ( |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Vize now has an explicit experimental path for running
tsrsas its nativeTypeScript checker. This discussion would track the evidence needed before it
can become a supported alternative to the bundled TypeScript/Corsa runtime.
What works today
The compatibility probe used
tsrs@0.18.0-ts7.1.0-dev.20260929on macOS arm64.Its native CLI accepted the flags Vize's batch executor relies on:
--checkers,--incremental,--tsBuildInfoFile,--pretty false, and--project. A publishedvize@0.504.0check of a minimal Vue SFC reported anauthored script error through tsrs with the expected TS2322 code and non-zero
exit status.
tsrs also documents the same
--lsp -stdioprotocol as tsgo and an unstableTypeScript 7 API protocol. That makes it a plausible fit for Vize's batch,
type-aware lint, and editor paths without a second virtual-code implementation.
Gaps observed in the current release
runtime is currently TypeScript 7.0. Projects need a pinned backend version
and a diagnostic comparison before changing CI.
Content-mapper callbacks are not implemented in the tsrs language server.
boundary and avoid taking a package API dependency until it stabilizes.
--initand--showConfigare unsupported. They are not needed by Vize'sruntime adapter, but they prevent a blanket claim of full
tscCLI parity.or Intel macOS package.
Proposed graduation gates
runtime, recording intended diagnostic differences by TypeScript version.
actions against the same virtual Vue project on both runtimes.
declaration emit, and multi-server sharding.
an actionable unsupported-platform message everywhere else.
experimental label.
The first integration remains opt-in through
typeChecker.tsrsPath,--tsrs-path, orTSRS_PATH. The existing backend stays the default whilethese gates are open.
Sources
All reactions