perf(ci): use tsgo for sdk declaration emit

This commit is contained in:
Peter Steinberger
2026-04-22 04:39:17 +01:00
parent a197b544fe
commit 4d223950a0
3 changed files with 10 additions and 6 deletions

View File

@@ -37,8 +37,9 @@ const RUNTIME_SHIMS: Partial<Record<string, string>> = {
].join("\n"),
};
// `tsc` emits declarations under `dist/plugin-sdk/src/plugin-sdk/*` because the source lives
// at `src/plugin-sdk/*` and `rootDir` is `.` (repo root, to support cross-src/extensions refs).
// TypeScript declaration emit writes files under `dist/plugin-sdk/src/plugin-sdk/*` because the
// source lives at `src/plugin-sdk/*` and `rootDir` is `.` (repo root, to support
// cross-src/extensions refs).
//
// Our package export map points subpath `types` at `dist/plugin-sdk/<entry>.d.ts`, so we
// generate stable entry d.ts files that re-export the real declarations.