@vibgrate/cli 1.0.86 → 1.0.87
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 = "";
|
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-2VJCLUTR.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-XCIPC2J7.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-QZZXBT74.js");
|
|
46
46
|
await runBaseline(rootDir);
|
|
47
47
|
}
|
|
48
48
|
console.log("");
|
package/dist/index.js
CHANGED