@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.
|
@@ -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-
|
|
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-
|
|
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-
|
|
44
|
+
const { runBaseline } = await import("./baseline-M6HQP4E5.js");
|
|
45
45
|
await runBaseline(rootDir);
|
|
46
46
|
}
|
|
47
47
|
console.log("");
|
package/dist/index.js
CHANGED