Files
Miguel Ángel b3d2b82fe9 feat(core): the renderer's font pipeline is importable from @hyperframes/core/fonts/embed (#5041)
* feat(core): the renderer's font pipeline is importable from @hyperframes/core/fonts/embed

* style(core): format the font pipeline and state the bundled-subset invariant

* test(producer): repin the test lane map after the font tests moved to core

* fix(core): images build fonts once, CLI bundles one pipeline, font tests pass on Windows

* test(core): font retry tests get a budget no slow machine can exhaust

* test(core): the Retry-After budget test fails when the budget is ignored
2026-10-05 04:54:53 +00:00

15 lines
386 B
JavaScript

#!/usr/bin/env node
import { existsSync } from "node:fs";
import { execSync } from "node:child_process";
const target = "src/fonts/fontData.generated.ts";
if (existsSync(target)) {
console.log("[build:fonts] skipped — fontData.generated.ts already exists");
process.exit(0);
}
execSync("node --experimental-strip-types scripts/generate-font-data.ts", {
stdio: "inherit",
});