chore: harden release checks and package coverage
Quality / quality (ubuntu-latest) (push) Failing after 9m57s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-24 11:36:13 +05:30
parent 354082ebc3
commit e372ae571a
24 changed files with 563 additions and 279 deletions
+9 -1
View File
@@ -19,7 +19,15 @@ function sha256(value) {
}
function loadTypeScript() {
const candidates = [process.env.TYPESCRIPT_PATH, "typescript"].filter(Boolean);
// TypeScript 7's root package is the native CLI and no longer exposes the
// legacy compiler API used by the embedded editor compiler. Keep that API
// isolated behind @wrnexus/typecheck's explicit TypeScript 6 dependency
// while the workspace itself type-checks with TypeScript 7.
const candidates = [
process.env.TYPESCRIPT_PATH,
join(root, "packages", "typecheck", "node_modules", "typescript"),
"typescript",
].filter(Boolean);
for (const candidate of candidates) {
try {
return require(candidate);