@vibgrate/cli 1.0.82 → 1.0.83
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.
|
@@ -7290,6 +7290,15 @@ var ScanProgress = class {
|
|
|
7290
7290
|
setSteps(steps) {
|
|
7291
7291
|
this.steps = steps.map((s) => ({ ...s, status: "pending", weight: s.weight ?? 1 }));
|
|
7292
7292
|
if (this.isTTY) {
|
|
7293
|
+
const header = [
|
|
7294
|
+
"",
|
|
7295
|
+
` ${ROBOT[0]} ${BRAND[0]}`,
|
|
7296
|
+
` ${ROBOT[1]} ${BRAND[1]}`,
|
|
7297
|
+
` ${ROBOT[2]}`,
|
|
7298
|
+
` ${ROBOT[3]} ${chalk4.dim(this.rootDir)}`,
|
|
7299
|
+
""
|
|
7300
|
+
].join("\n") + "\n";
|
|
7301
|
+
process.stderr.write(header);
|
|
7293
7302
|
this.startSpinner();
|
|
7294
7303
|
}
|
|
7295
7304
|
this.render();
|
|
@@ -7421,12 +7430,6 @@ var ScanProgress = class {
|
|
|
7421
7430
|
return;
|
|
7422
7431
|
}
|
|
7423
7432
|
const lines = [];
|
|
7424
|
-
lines.push("");
|
|
7425
|
-
lines.push(` ${ROBOT[0]} ${BRAND[0]}`);
|
|
7426
|
-
lines.push(` ${ROBOT[1]} ${BRAND[1]}`);
|
|
7427
|
-
lines.push(` ${ROBOT[2]}`);
|
|
7428
|
-
lines.push(` ${ROBOT[3]} ${chalk4.dim(this.rootDir)}`);
|
|
7429
|
-
lines.push("");
|
|
7430
7433
|
for (const step of this.steps) {
|
|
7431
7434
|
lines.push(this.renderStep(step));
|
|
7432
7435
|
}
|
|
@@ -7589,7 +7592,8 @@ var ScanProgress = class {
|
|
|
7589
7592
|
if (this.estimatedTotalMs !== null && this.estimatedTotalMs > 0) {
|
|
7590
7593
|
const histRemaining = Math.max(0, this.estimatedTotalMs - elapsedMs);
|
|
7591
7594
|
const histWeight = Math.max(0.1, 1 - fraction);
|
|
7592
|
-
|
|
7595
|
+
const blended = histRemaining * histWeight + liveRemaining * (1 - histWeight);
|
|
7596
|
+
remainingMs = Math.min(histRemaining, blended);
|
|
7593
7597
|
} else {
|
|
7594
7598
|
remainingMs = liveRemaining;
|
|
7595
7599
|
}
|
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
baselineCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BAV5Z7AD.js";
|
|
5
5
|
import {
|
|
6
6
|
VERSION,
|
|
7
7
|
computeHmac,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
pushCommand,
|
|
13
13
|
scanCommand,
|
|
14
14
|
writeDefaultConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TGBW3GQE.js";
|
|
16
16
|
import {
|
|
17
17
|
Semaphore,
|
|
18
18
|
ensureDir,
|
|
@@ -42,7 +42,7 @@ var initCommand = new Command("init").description("Initialize vibgrate in a proj
|
|
|
42
42
|
console.log(chalk.green("\u2714") + ` Created ${chalk.bold("vibgrate.config.ts")}`);
|
|
43
43
|
}
|
|
44
44
|
if (opts.baseline) {
|
|
45
|
-
const { runBaseline } = await import("./baseline-
|
|
45
|
+
const { runBaseline } = await import("./baseline-WNGVBOCO.js");
|
|
46
46
|
await runBaseline(rootDir);
|
|
47
47
|
}
|
|
48
48
|
console.log("");
|
package/dist/index.js
CHANGED