Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .changeset/typescript-7-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
"@milaboratories/ts-builder": patch
"@milaboratories/build-configs": patch
"@platforma-sdk/ui-vue": patch
---

Support TypeScript 7 (the native compiler) across the build toolchain.

TS7 no longer exposes the classic JS Compiler API that Volar-based tooling
requires, so:

- ts-builder runs `vue-tsc` against the official `@typescript/typescript6`
bridge, passes a TS7-compatible `--customConditions` value (a bare `,` is
parsed as a source file on TS7), provides an explicit `fs` to
`@vue/compiler-sfc` (`ts.sys` is gone on TS7), and uses `Bundler`
`moduleResolution` for declaration emit.
- build-configs provides the same explicit `fs` to the vitest Vue config so
SFC-compiling tests pass on TS7.
- ui-vue's `AnnotationsSidebar`/`FilterSidebar` title/label handlers accept
`string | undefined`, matching `PlEditableTitle`'s model emit type.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
},
"devDependencies": {
"@changesets/cli": "catalog:",
"@typescript/typescript6": "catalog:",
"@platforma-sdk/block-tools": "workspace:*",
"@types/node": "catalog:",
"@zed-industries/vscode-langservers-extracted": "catalog:",
Expand All @@ -62,7 +63,7 @@
"packageManager": "pnpm@9.14.4+sha512.c8180b3fbe4e4bca02c94234717896b5529740a6cbadf19fa78254270403ea2f27d4e1d46a08a0f56c89b63dc8ebfd3ee53326da720273794e6200fcf0d184ab",
"pnpm": {
"overrides": {
"@microsoft/api-extractor>typescript": "catalog:"
"@microsoft/api-extractor>typescript": "npm:@typescript/typescript6@6.0.2"
}
},
"//": {
Expand Down
Loading
Loading