@contextforge/core 0.1.8 → 0.1.9
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/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1012,7 +1012,11 @@ async function syncInstalledPacks(projectRoot, providedConfig) {
|
|
|
1012
1012
|
const registry = await fetchRegistry(config.registry);
|
|
1013
1013
|
const installed = [];
|
|
1014
1014
|
const missing = [];
|
|
1015
|
-
|
|
1015
|
+
const detectedPackNames = recommendPackNames(analysis).filter(
|
|
1016
|
+
(packName) => Boolean(findPackSummary(registry, packName))
|
|
1017
|
+
);
|
|
1018
|
+
const packNames = [.../* @__PURE__ */ new Set([...config.installedPacks, ...detectedPackNames])];
|
|
1019
|
+
for (const packName of packNames) {
|
|
1016
1020
|
const summary = findPackSummary(registry, packName);
|
|
1017
1021
|
if (!summary) {
|
|
1018
1022
|
missing.push(packName);
|