@vibgrate/cli 1.0.86 → 1.0.88
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.
|
@@ -1585,6 +1585,7 @@ function parseNpmMetaPayload(data) {
|
|
|
1585
1585
|
var BATCH_SIZE = 24;
|
|
1586
1586
|
var WINDOWS_MAX_COMMAND_CHARS = 7e3;
|
|
1587
1587
|
var POSIX_MAX_COMMAND_CHARS = 3e4;
|
|
1588
|
+
var NPM_COMMAND = process.platform === "win32" ? "npm.cmd" : "npm";
|
|
1588
1589
|
function buildNpmViewChunks(pkgs, platform = process.platform) {
|
|
1589
1590
|
const maxCommandChars = platform === "win32" ? WINDOWS_MAX_COMMAND_CHARS : POSIX_MAX_COMMAND_CHARS;
|
|
1590
1591
|
const chunks = [];
|
|
@@ -1605,10 +1606,9 @@ function buildNpmViewChunks(pkgs, platform = process.platform) {
|
|
|
1605
1606
|
}
|
|
1606
1607
|
async function npmViewJson(args, cwd) {
|
|
1607
1608
|
return new Promise((resolve9, reject) => {
|
|
1608
|
-
const child = spawn2(
|
|
1609
|
+
const child = spawn2(NPM_COMMAND, ["view", ...args, "--json"], {
|
|
1609
1610
|
cwd,
|
|
1610
|
-
stdio: ["ignore", "pipe", "pipe"]
|
|
1611
|
-
shell: true
|
|
1611
|
+
stdio: ["ignore", "pipe", "pipe"]
|
|
1612
1612
|
});
|
|
1613
1613
|
let out = "";
|
|
1614
1614
|
let err = "";
|
|
@@ -7436,10 +7436,6 @@ var ScanProgress = class {
|
|
|
7436
7436
|
return;
|
|
7437
7437
|
}
|
|
7438
7438
|
const lines = [];
|
|
7439
|
-
for (const step of this.steps) {
|
|
7440
|
-
lines.push(this.renderStep(step));
|
|
7441
|
-
}
|
|
7442
|
-
lines.push("");
|
|
7443
7439
|
const totalWeight = this.steps.reduce((sum, s) => sum + (s.weight ?? 1), 0);
|
|
7444
7440
|
let completedWeight = 0;
|
|
7445
7441
|
for (const step of this.steps) {
|
|
@@ -7469,6 +7465,10 @@ var ScanProgress = class {
|
|
|
7469
7465
|
lines.push("");
|
|
7470
7466
|
lines.push(this.renderStats());
|
|
7471
7467
|
lines.push("");
|
|
7468
|
+
for (const step of this.steps) {
|
|
7469
|
+
lines.push(this.renderStep(step));
|
|
7470
|
+
}
|
|
7471
|
+
lines.push("");
|
|
7472
7472
|
const content = lines.join("\n") + "\n";
|
|
7473
7473
|
const rowCount = this.countRenderedRows(lines);
|
|
7474
7474
|
if (content === this.lastFrame && this.lastRowCount === rowCount) {
|
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-2APTTWP4.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-GEQ6YF4F.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-AHO3BW5T.js");
|
|
46
46
|
await runBaseline(rootDir);
|
|
47
47
|
}
|
|
48
48
|
console.log("");
|
package/dist/index.js
CHANGED