@nockdev/hsa 1.1.1 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dashboard.html CHANGED
@@ -1718,20 +1718,28 @@
1718
1718
  )
1719
1719
  .join("");
1720
1720
 
1721
- if (stack.buildSystem) {
1721
+ // B7: Show ALL build systems, not just primary
1722
+ const systems =
1723
+ stack.buildSystems && stack.buildSystems.length > 0
1724
+ ? stack.buildSystems
1725
+ : stack.buildSystem
1726
+ ? [stack.buildSystem]
1727
+ : [];
1728
+
1729
+ if (systems.length > 0) {
1722
1730
  buildEl.style.display = "flex";
1723
- buildEl.innerHTML = [
1724
- stack.buildSystem.buildCommand
1725
- ? `<span>Build: <code>${stack.buildSystem.buildCommand}</code></span>`
1726
- : "",
1727
- stack.buildSystem.testCommand
1728
- ? `<span>Test: <code>${stack.buildSystem.testCommand}</code></span>`
1729
- : "",
1730
- stack.buildSystem.devCommand
1731
- ? `<span>Dev: <code>${stack.buildSystem.devCommand}</code></span>`
1732
- : "",
1733
- ]
1734
- .filter(Boolean)
1731
+ buildEl.innerHTML = systems
1732
+ .map((bs) => {
1733
+ const name = bs.name || "unknown";
1734
+ const parts = [];
1735
+ if (bs.buildCommand)
1736
+ parts.push(`Build: <code>${bs.buildCommand}</code>`);
1737
+ if (bs.testCommand)
1738
+ parts.push(`Test: <code>${bs.testCommand}</code>`);
1739
+ if (bs.devCommand)
1740
+ parts.push(`Dev: <code>${bs.devCommand}</code>`);
1741
+ return `<span title="${name}"><strong style="color:var(--cat-build-tool)">${name}</strong> ${parts.join(" · ")}</span>`;
1742
+ })
1735
1743
  .join("");
1736
1744
  } else {
1737
1745
  buildEl.style.display = "none";