@wipcomputer/wip-ldm-os 0.4.31 → 0.4.32
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/SKILL.md +1 -1
- package/bin/ldm.js +5 -3
- package/package.json +1 -1
package/SKILL.md
CHANGED
package/bin/ldm.js
CHANGED
|
@@ -895,9 +895,11 @@ async function cmdInstallCatalog() {
|
|
|
895
895
|
// Check parent packages for toolbox-style repos (#132)
|
|
896
896
|
// If sub-tools are installed but the parent npm package has a newer version,
|
|
897
897
|
// report the parent as needing an update (not the individual sub-tool).
|
|
898
|
-
|
|
898
|
+
// Don't skip packages already found by the extension loop. The parent check
|
|
899
|
+
// REPLACES sub-tool entries with the parent name.
|
|
900
|
+
const checkedParentNpm = new Set();
|
|
899
901
|
for (const comp of components) {
|
|
900
|
-
if (!comp.npm ||
|
|
902
|
+
if (!comp.npm || checkedParentNpm.has(comp.npm)) continue;
|
|
901
903
|
if (!comp.registryMatches || comp.registryMatches.length === 0) continue;
|
|
902
904
|
|
|
903
905
|
// If any registryMatch is installed, check the parent package
|
|
@@ -929,7 +931,7 @@ async function cmdInstallCatalog() {
|
|
|
929
931
|
});
|
|
930
932
|
}
|
|
931
933
|
} catch {}
|
|
932
|
-
|
|
934
|
+
checkedParentNpm.add(comp.npm);
|
|
933
935
|
}
|
|
934
936
|
|
|
935
937
|
const totalUpdates = npmUpdates.length;
|