This commit is contained in:
bkellam 2025-02-12 15:10:29 -08:00
parent ba333ddb21
commit 19780aaecf

View file

@ -13,10 +13,6 @@ const BANNER_COMMENT = '// THIS IS A AUTO-GENERATED FILE. DO NOT MODIFY MANUALLY
const outDirRoot = path.resolve(`${cwd}/src`);
const schemas = await glob(`${schemasBasePath}/**/*.json`);
// Clean output directory first
await rm(outDirRoot, { recursive: true, force: true });
await Promise.all(schemas.map(async (schemaPath) => {
const name = path.parse(schemaPath).name;
const version = path.basename(path.dirname(schemaPath));