mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-10-30 09:16:55 +00:00
* 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
15 lines
386 B
JavaScript
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",
|
|
});
|