Files
hyperframes/scripts/catalog-generated-paths.mjs
T
Miguel Ángel b1cf88aeba ci: generate catalog artifacts through a standing publish PR (#4337)
* ci: generate catalog artifacts through a standing publish PR

* fix(catalog): reconcile obsolete publication snapshots

* refactor(catalog): report failures after staging cleanup

* refactor(catalog): separate generation and publication decisions

* fix(catalog): unpublish deleted items with their sources

* docs(catalog): keep scaffolding guidance concise
2026-09-23 12:09:46 -04:00

16 lines
495 B
JavaScript

export const GENERATED_CATALOG_PATHS = [
"registry/registry.json",
"registry/catalog-artifact/local-vectors.json",
"registry/catalog-artifact/local-vectors.bin",
"docs/catalog/blocks",
"docs/catalog/components",
"docs/public/catalog",
"docs/public/catalog-index.json",
"docs/snippets/catalog-gallery-data.mdx",
"docs/docs.json",
];
export function isGeneratedCatalogPath(path) {
return GENERATED_CATALOG_PATHS.some((root) => path === root || path.startsWith(`${root}/`));
}