@decantr/cli 2.5.0 → 2.5.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/dist/bin.js
CHANGED
|
@@ -6542,6 +6542,11 @@ function formatBlueprintPortfolioSummary(value) {
|
|
|
6542
6542
|
const alternative = portfolio.recommended_alternative ? `; recommended alternative: ${portfolio.recommended_alternative}` : "";
|
|
6543
6543
|
return `Blueprint set: ${labels.join(" + ")}${alternative}`;
|
|
6544
6544
|
}
|
|
6545
|
+
function formatRegistryListIdentifier(item) {
|
|
6546
|
+
if (!item || typeof item !== "object") return String(item ?? "");
|
|
6547
|
+
const record = item;
|
|
6548
|
+
return typeof record.slug === "string" && record.slug || typeof record.id === "string" && record.id || typeof record.name === "string" && record.name || "";
|
|
6549
|
+
}
|
|
6545
6550
|
function printBlueprintPortfolioNotice(blueprint) {
|
|
6546
6551
|
const portfolio = getBlueprintPortfolioMetadata(blueprint);
|
|
6547
6552
|
if (!portfolio) return;
|
|
@@ -6779,7 +6784,9 @@ async function cmdList(type, sort, recommended, intelligenceSource, blueprintSet
|
|
|
6779
6784
|
} else {
|
|
6780
6785
|
console.log(heading2(`${items.length} ${type} found`));
|
|
6781
6786
|
for (const item of items) {
|
|
6782
|
-
console.log(
|
|
6787
|
+
console.log(
|
|
6788
|
+
` ${cyan3(formatRegistryListIdentifier(item))} ${dim3(item.description || item.name || "")}`
|
|
6789
|
+
);
|
|
6783
6790
|
const intelligenceSummary = formatIntelligenceSummary(
|
|
6784
6791
|
item.intelligence
|
|
6785
6792
|
);
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decantr/cli",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Decantr CLI - scaffold, audit, inspect Project Health, and maintain Decantr projects from the terminal",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"decantr",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"ajv": "^8.20.0",
|
|
51
|
-
"@decantr/essence-spec": "2.0.1",
|
|
52
51
|
"@decantr/core": "2.1.0",
|
|
53
|
-
"@decantr/
|
|
52
|
+
"@decantr/essence-spec": "2.0.1",
|
|
53
|
+
"@decantr/verifier": "2.1.0",
|
|
54
54
|
"@decantr/registry": "2.1.0",
|
|
55
|
-
"@decantr/
|
|
55
|
+
"@decantr/telemetry": "2.2.1"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsup",
|