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
+6 -1
View File
@@ -2,10 +2,15 @@ import { existsSync, readFileSync, readdirSync, writeFileSync } from "node:fs";
import console from "node:console";
import { dirname, join, relative, resolve } from "node:path";
import { fileURLToPath } from "node:url";
import { createRequire } from "node:module";
import process from "node:process";
import ts from "typescript";
const root = resolve(dirname(fileURLToPath(import.meta.url)), "..");
const require = createRequire(import.meta.url);
// TypeScript 7's root package is the native CLI and no longer exposes the
// legacy compiler API. Public API extraction intentionally uses the compiler
// version embedded by @wrnexus/typecheck.
const ts = require(join(root, "packages", "typecheck", "node_modules", "typescript"));
const baselinePath = join(root, "docs", "public-api-0.8.json");
function flattenTargets(value) {