mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-14 04:39:43 +08:00
* feat: add Node.js compatibility matrix - Add generated Node.js v24 compatibility inventory with static and dynamic support classifications. - Publish the interactive /compatibility matrix and wire manifest generation into runtime and docs checks. * fix: correct compatibility matrix generation * fix: address PR 284 review findings * fix: address PR 284 review findings * test: exercise stream web loader through npm graph * fix: correct dynamic global availability * fix: keep compatibility module mappings precise
13 lines
437 B
JavaScript
13 lines
437 B
JavaScript
#!/usr/bin/env node
|
|
|
|
import { spawnSync } from "node:child_process";
|
|
|
|
const check = process.argv.slice(2).includes("--check");
|
|
const args = check ? ["--check"] : [];
|
|
|
|
for (const script of ["generate-island-header.mjs", "generate.mjs"]) {
|
|
const result = spawnSync(process.execPath, [`src/${script}`, ...args], { stdio: "inherit" });
|
|
if (result.error) throw result.error;
|
|
if (result.status !== 0) process.exit(result.status ?? 1);
|
|
}
|