Bundle group added to .yml generation and canvas

This commit is contained in:
2026-06-08 16:34:39 +08:00
parent 75dd78aa33
commit 7953c8b624
5 changed files with 385 additions and 107 deletions
+12
View File
@@ -47,3 +47,15 @@ assert(
canvasHtml.includes('Array.from(new Set([FORGE_COMPONENT_LABEL, ...sameCategoryComponents'),
'loaded PDK selector choices should include forge and same-category library components'
);
assert(
canvasHtml.includes('Object.entries(doc.bundles || {})'),
'project and YAML loading should iterate all saved bundle groups, not only output_bus'
);
assert(
!canvasHtml.includes('doc.bundles?.output_bus?.links'),
'project and YAML loading should not hardcode bundles.output_bus.links'
);
assert(
canvasHtml.includes('bundle_group: bundleName'),
'loaded route metadata should remember the YAML bundle key as route.bundle_group'
);