@vibgrate/cli 1.0.48 → 1.0.49

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-XPDOGGRY.js";
5
- import "./chunk-EOULHF5E.js";
4
+ } from "./chunk-4M7MNV6G.js";
5
+ import "./chunk-E53FDKZE.js";
6
6
  import "./chunk-RNVZIZNL.js";
7
7
  export {
8
8
  baselineCommand,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runScan
3
- } from "./chunk-EOULHF5E.js";
3
+ } from "./chunk-E53FDKZE.js";
4
4
  import {
5
5
  writeJsonFile
6
6
  } from "./chunk-RNVZIZNL.js";
@@ -7197,9 +7197,10 @@ function generateWorkspaceRelationshipMermaid(projects) {
7197
7197
  connectedIds.add(toId);
7198
7198
  }
7199
7199
  }
7200
+ const showAll = connectedIds.size === 0;
7200
7201
  for (const project of projects) {
7201
7202
  const id = sanitizeId(project.projectId || project.path || project.name);
7202
- if (!connectedIds.has(id)) continue;
7203
+ if (!showAll && !connectedIds.has(id)) continue;
7203
7204
  lines.push(`${id}["${escapeLabel(nodeLabel(project))}"]`);
7204
7205
  lines.push(`class ${id} ${scoreClass(project.drift?.score)}`);
7205
7206
  }
package/dist/cli.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-PTMLMDZU.js";
5
5
  import {
6
6
  baselineCommand
7
- } from "./chunk-XPDOGGRY.js";
7
+ } from "./chunk-4M7MNV6G.js";
8
8
  import {
9
9
  VERSION,
10
10
  dsnCommand,
@@ -12,7 +12,7 @@ import {
12
12
  pushCommand,
13
13
  scanCommand,
14
14
  writeDefaultConfig
15
- } from "./chunk-EOULHF5E.js";
15
+ } from "./chunk-E53FDKZE.js";
16
16
  import {
17
17
  ensureDir,
18
18
  pathExists,
@@ -41,7 +41,7 @@ var initCommand = new Command("init").description("Initialize vibgrate in a proj
41
41
  console.log(chalk.green("\u2714") + ` Created ${chalk.bold("vibgrate.config.ts")}`);
42
42
  }
43
43
  if (opts.baseline) {
44
- const { runBaseline } = await import("./baseline-37IN66KS.js");
44
+ const { runBaseline } = await import("./baseline-M6HQP4E5.js");
45
45
  await runBaseline(rootDir);
46
46
  }
47
47
  console.log("");
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  formatText,
8
8
  generateFindings,
9
9
  runScan
10
- } from "./chunk-EOULHF5E.js";
10
+ } from "./chunk-E53FDKZE.js";
11
11
  import "./chunk-RNVZIZNL.js";
12
12
  export {
13
13
  computeDriftScore,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibgrate/cli",
3
- "version": "1.0.48",
3
+ "version": "1.0.49",
4
4
  "description": "CLI for measuring upgrade drift across Node, .NET, Python & Java projects",
5
5
  "type": "module",
6
6
  "bin": {