@ganakailabs/cloudeval-cli 0.29.1 → 0.29.2
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/{App-OLD5LMTA.js → App-ISTB45LE.js} +2 -2
- package/dist/{Banner-6W7U2C44.js → Banner-USFUJC3Y.js} +2 -2
- package/dist/{chunk-AO4LJZTG.js → chunk-FWCQ4PWL.js} +1 -1
- package/dist/{chunk-VRLH2WYY.js → chunk-YAD6SGBL.js} +1 -1
- package/dist/cli.js +13 -8
- package/package.json +1 -1
- package/sbom.spdx.json +1 -1
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
} from "./chunk-ERGQHMNT.js";
|
|
39
39
|
import {
|
|
40
40
|
Banner
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YAD6SGBL.js";
|
|
42
42
|
import {
|
|
43
43
|
CLI_VERSION
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-FWCQ4PWL.js";
|
|
45
45
|
import {
|
|
46
46
|
raisedButtonStyle,
|
|
47
47
|
terminalTheme
|
package/dist/cli.js
CHANGED
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-ERGQHMNT.js";
|
|
40
40
|
import {
|
|
41
41
|
CLI_VERSION
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-FWCQ4PWL.js";
|
|
43
43
|
|
|
44
44
|
// src/runtime/prepareInk.ts
|
|
45
45
|
import fs from "fs";
|
|
@@ -3604,6 +3604,11 @@ var buildMarkdownSummary = (data) => {
|
|
|
3604
3604
|
{ maxRows: 5, remainderLabel: "Unallocated" }
|
|
3605
3605
|
);
|
|
3606
3606
|
const positiveResourceCosts = resourceCostRows.filter((resource) => resource.amount > 0);
|
|
3607
|
+
const namedResourceCosts = positiveResourceCosts.filter(
|
|
3608
|
+
(resource) => resource.name !== "Unallocated"
|
|
3609
|
+
);
|
|
3610
|
+
const costPieRows = namedResourceCosts.length ? positiveResourceCosts : costServices.filter((service) => service.amount > 0);
|
|
3611
|
+
const costPieTitle = namedResourceCosts.length ? "Monthly cost by resource" : "Monthly cost by service";
|
|
3607
3612
|
const openLinks = openInCloudEvalLines(data.links);
|
|
3608
3613
|
const architectureLines = architectureSignalLines({
|
|
3609
3614
|
architecture,
|
|
@@ -3666,13 +3671,13 @@ var buildMarkdownSummary = (data) => {
|
|
|
3666
3671
|
`- Estimated savings: **${formatMonthlyMoney(data.gate.cost.estimatedSavings.amount, data.gate.cost.estimatedSavings.currency)}**`
|
|
3667
3672
|
);
|
|
3668
3673
|
}
|
|
3669
|
-
if (
|
|
3674
|
+
if (costPieRows.length) {
|
|
3670
3675
|
costLines.push(
|
|
3671
3676
|
"",
|
|
3672
3677
|
"```mermaid",
|
|
3673
|
-
|
|
3674
|
-
...
|
|
3675
|
-
(
|
|
3678
|
+
`pie title ${costPieTitle}`,
|
|
3679
|
+
...costPieRows.map(
|
|
3680
|
+
(row) => ` "${mermaidLabel(row.name)}" : ${trimNumber(row.amount, 3)}`
|
|
3676
3681
|
),
|
|
3677
3682
|
"```"
|
|
3678
3683
|
);
|
|
@@ -16568,7 +16573,7 @@ program.command("tui").description("Open the CloudEval Terminal UI").option(
|
|
|
16568
16573
|
const { assertSecureBaseUrl } = await import("./dist-QYIPN7MD.js");
|
|
16569
16574
|
const [{ render }, { App }] = await Promise.all([
|
|
16570
16575
|
import("ink"),
|
|
16571
|
-
import("./App-
|
|
16576
|
+
import("./App-ISTB45LE.js")
|
|
16572
16577
|
]);
|
|
16573
16578
|
const baseUrl = await resolveBaseUrl(options, command);
|
|
16574
16579
|
assertSecureBaseUrl(baseUrl);
|
|
@@ -16626,7 +16631,7 @@ program.command("chat").description("Start an interactive chat session").option(
|
|
|
16626
16631
|
const { assertSecureBaseUrl } = await import("./dist-QYIPN7MD.js");
|
|
16627
16632
|
const [{ render }, { App }] = await Promise.all([
|
|
16628
16633
|
import("ink"),
|
|
16629
|
-
import("./App-
|
|
16634
|
+
import("./App-ISTB45LE.js")
|
|
16630
16635
|
]);
|
|
16631
16636
|
const baseUrl = await resolveBaseUrl(options, command);
|
|
16632
16637
|
assertSecureBaseUrl(baseUrl);
|
|
@@ -17380,7 +17385,7 @@ Error: ${errorMsg}
|
|
|
17380
17385
|
program.command("banner").description("Preview the startup banner and terminal capabilities").action(async () => {
|
|
17381
17386
|
const { render } = await import("ink");
|
|
17382
17387
|
const BannerPreview = React.lazy(async () => ({
|
|
17383
|
-
default: (await import("./Banner-
|
|
17388
|
+
default: (await import("./Banner-USFUJC3Y.js")).Banner
|
|
17384
17389
|
}));
|
|
17385
17390
|
render(
|
|
17386
17391
|
/* @__PURE__ */ jsx(React.Suspense, { fallback: null, children: /* @__PURE__ */ jsx(BannerPreview, { disable: false }) })
|
package/package.json
CHANGED
package/sbom.spdx.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
{
|
|
15
15
|
"SPDXID": "SPDXRef-Package-CloudEval-CLI",
|
|
16
16
|
"name": "CloudEval CLI",
|
|
17
|
-
"versionInfo": "0.29.
|
|
17
|
+
"versionInfo": "0.29.2",
|
|
18
18
|
"downloadLocation": "https://github.com/ganakailabs/cloudeval-cli",
|
|
19
19
|
"filesAnalyzed": false,
|
|
20
20
|
"licenseConcluded": "LicenseRef-CloudEval-CLI",
|