@vibgrate/cli 1.0.37 → 1.0.39
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.
|
@@ -1666,6 +1666,14 @@ var pushCommand = new Command2("push").description("Push scan results to Vibgrat
|
|
|
1666
1666
|
}
|
|
1667
1667
|
const result = await response.json();
|
|
1668
1668
|
console.log(chalk3.green("\u2714") + ` Uploaded successfully (${result.ingestId ?? "ok"})`);
|
|
1669
|
+
console.log();
|
|
1670
|
+
console.log(chalk3.cyan("We love feedback! Use the button shown on the report."));
|
|
1671
|
+
console.log();
|
|
1672
|
+
if (result.ingestId) {
|
|
1673
|
+
const dashHost = host.includes("eu.") ? "dash.vibgrate.eu" : "dash.vibgrate.com";
|
|
1674
|
+
const reportUrl = `https://${dashHost}/${parsed.workspaceId}/scan/${result.ingestId}`;
|
|
1675
|
+
console.log(chalk3.dim("View report: ") + chalk3.underline(reportUrl));
|
|
1676
|
+
}
|
|
1669
1677
|
} catch (e) {
|
|
1670
1678
|
const msg = e instanceof Error ? e.message : String(e);
|
|
1671
1679
|
console.error(chalk3.red(`Upload failed: ${msg}`));
|
package/dist/cli.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-GN3IWKSY.js";
|
|
5
5
|
import {
|
|
6
6
|
baselineCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LBZR6G43.js";
|
|
8
8
|
import {
|
|
9
9
|
VERSION,
|
|
10
10
|
dsnCommand,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
readJsonFile,
|
|
16
16
|
scanCommand,
|
|
17
17
|
writeDefaultConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NU7IIHIG.js";
|
|
19
19
|
|
|
20
20
|
// src/cli.ts
|
|
21
21
|
import { Command as Command4 } from "commander";
|
|
@@ -38,7 +38,7 @@ var initCommand = new Command("init").description("Initialize vibgrate in a proj
|
|
|
38
38
|
console.log(chalk.green("\u2714") + ` Created ${chalk.bold("vibgrate.config.ts")}`);
|
|
39
39
|
}
|
|
40
40
|
if (opts.baseline) {
|
|
41
|
-
const { runBaseline } = await import("./baseline-
|
|
41
|
+
const { runBaseline } = await import("./baseline-BTB34JBE.js");
|
|
42
42
|
await runBaseline(rootDir);
|
|
43
43
|
}
|
|
44
44
|
console.log("");
|
package/dist/index.js
CHANGED