@vibgrate/cli 1.0.63 → 1.0.64

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.
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  baselineCommand,
3
3
  runBaseline
4
- } from "./chunk-OTM4RHGU.js";
5
- import "./chunk-LDOI47RO.js";
4
+ } from "./chunk-GCMUJKM7.js";
5
+ import "./chunk-IQ4T2HLG.js";
6
6
  import "./chunk-TBE6NQ5Z.js";
7
7
  export {
8
8
  baselineCommand,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runScan
3
- } from "./chunk-LDOI47RO.js";
3
+ } from "./chunk-IQ4T2HLG.js";
4
4
  import {
5
5
  writeJsonFile
6
6
  } from "./chunk-TBE6NQ5Z.js";
@@ -1401,10 +1401,10 @@ function buildNpmViewChunks(pkgs, platform = process.platform) {
1401
1401
  }
1402
1402
  async function npmViewJson(args, cwd) {
1403
1403
  return new Promise((resolve10, reject) => {
1404
- const npmCommand = process.platform === "win32" ? "npm.cmd" : "npm";
1405
- const child = spawn2(npmCommand, ["view", ...args, "--json"], {
1404
+ const child = spawn2("npm", ["view", ...args, "--json"], {
1406
1405
  cwd,
1407
- stdio: ["ignore", "pipe", "pipe"]
1406
+ stdio: ["ignore", "pipe", "pipe"],
1407
+ shell: true
1408
1408
  });
1409
1409
  let out = "";
1410
1410
  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-OTM4RHGU.js";
4
+ } from "./chunk-GCMUJKM7.js";
5
5
  import {
6
6
  VERSION,
7
7
  dsnCommand,
@@ -10,7 +10,7 @@ import {
10
10
  pushCommand,
11
11
  scanCommand,
12
12
  writeDefaultConfig
13
- } from "./chunk-LDOI47RO.js";
13
+ } from "./chunk-IQ4T2HLG.js";
14
14
  import {
15
15
  ensureDir,
16
16
  pathExists,
@@ -39,7 +39,7 @@ var initCommand = new Command("init").description("Initialize vibgrate in a proj
39
39
  console.log(chalk.green("\u2714") + ` Created ${chalk.bold("vibgrate.config.ts")}`);
40
40
  }
41
41
  if (opts.baseline) {
42
- const { runBaseline } = await import("./baseline-R73UP7VO.js");
42
+ const { runBaseline } = await import("./baseline-HGBNL6CN.js");
43
43
  await runBaseline(rootDir);
44
44
  }
45
45
  console.log("");
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  formatText,
6
6
  generateFindings,
7
7
  runScan
8
- } from "./chunk-LDOI47RO.js";
8
+ } from "./chunk-IQ4T2HLG.js";
9
9
  import "./chunk-TBE6NQ5Z.js";
10
10
  export {
11
11
  computeDriftScore,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibgrate/cli",
3
- "version": "1.0.63",
3
+ "version": "1.0.64",
4
4
  "description": "CLI for measuring upgrade drift across Node, .NET, Python & Java projects",
5
5
  "type": "module",
6
6
  "bin": {