Files
pleno-vue/scripts/test-graph/load-graph.mjs
T
Jeppe B 12a2d73b32 Replace monolithic E2E matrices with dependency-aware component CI
Generate small reusable component partitions with explicit provider dependencies, GitHub-hosted concurrency, fail-closed evidence, and exact mobile store gates. Include the literal-i18n fix from #206 so validation covers the exact post-merge tree.
2026-07-20 23:52:15 +02:00

13 lines
727 B
JavaScript

import { componentNodeCatalog, compositionImportRules } from "./component-node-catalog.mjs";
import { createDependencyGraph, parseCatalog } from "./graph.mjs";
import { inferImportGraph } from "./import-resolver.mjs";
import { attachTestInventory } from "./test-inventory.mjs";
export async function loadRepositoryTestGraph(repositoryRoot) {
const parsedCatalog = parseCatalog(componentNodeCatalog);
const importGraph = await inferImportGraph(repositoryRoot, parsedCatalog, compositionImportRules);
const graph = createDependencyGraph(parsedCatalog, importGraph.dependencies, { collapseCycles: true });
await attachTestInventory(repositoryRoot, parsedCatalog, graph);
return { parsedCatalog, importGraph, graph };
}