@vibgrate/cli 1.0.46 → 1.0.48

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,6 +1,6 @@
1
1
  import {
2
2
  runScan
3
- } from "./chunk-HEILEAVO.js";
3
+ } from "./chunk-EOULHF5E.js";
4
4
  import {
5
5
  writeJsonFile
6
6
  } from "./chunk-RNVZIZNL.js";
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-SKROLJET.js";
7
+ } from "./chunk-XPDOGGRY.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-HEILEAVO.js";
15
+ } from "./chunk-EOULHF5E.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-AWRL3ITR.js");
44
+ const { runBaseline } = await import("./baseline-37IN66KS.js");
45
45
  await runBaseline(rootDir);
46
46
  }
47
47
  console.log("");
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  type DepSection = 'dependencies' | 'devDependencies' | 'peerDependencies' | 'optionalDependencies';
2
2
  type RiskLevel = 'low' | 'moderate' | 'high';
3
- type ProjectType = 'node' | 'dotnet' | 'python' | 'java';
3
+ type ProjectType = 'node' | 'dotnet' | 'python' | 'java' | 'go' | 'rust' | 'php' | 'typescript' | 'ruby' | 'swift' | 'kotlin' | 'dart' | 'scala' | 'r' | 'objective-c' | 'elixir' | 'haskell' | 'lua' | 'perl' | 'julia' | 'shell' | 'clojure' | 'groovy' | 'c' | 'cpp' | 'cobol' | 'fortran' | 'visual-basic' | 'pascal' | 'ada' | 'assembly' | 'rpg';
4
4
  type OutputFormat = 'text' | 'json' | 'sarif';
5
5
  interface DependencyRow {
6
6
  package: string;
@@ -31,6 +31,10 @@ interface ProjectScan {
31
31
  name: string;
32
32
  /** Deterministic project ID: SHA-256 hash of `${path}:${name}:${workspaceId}` */
33
33
  projectId?: string;
34
+ /** Optional solution identifier when project belongs to a solution/workspace file */
35
+ solutionId?: string;
36
+ /** Optional solution name resolved from solution/workspace metadata */
37
+ solutionName?: string;
34
38
  runtime?: string;
35
39
  runtimeLatest?: string;
36
40
  runtimeMajorsBehind?: number;
@@ -54,6 +58,22 @@ interface ProjectScan {
54
58
  /** Project-level relationship diagram (first-level parents + children) */
55
59
  relationshipDiagram?: MermaidDiagram;
56
60
  }
61
+ interface SolutionScan {
62
+ /** Deterministic solution ID: SHA-256 hash of `${path}:${name}:${workspaceId}` */
63
+ solutionId: string;
64
+ /** Relative path to solution file */
65
+ path: string;
66
+ /** Solution display name */
67
+ name: string;
68
+ /** Solution file type */
69
+ type: 'dotnet-sln';
70
+ /** Projects resolved as belonging to this solution (by relative project path) */
71
+ projectPaths: string[];
72
+ /** Aggregate drift score for all resolved projects in this solution */
73
+ drift?: DriftScore;
74
+ /** Solution relationship diagram with top-level solution node and project links */
75
+ relationshipDiagram?: MermaidDiagram;
76
+ }
57
77
  interface MermaidDiagram {
58
78
  mermaid: string;
59
79
  svg?: string;
@@ -83,6 +103,13 @@ interface VcsInfo {
83
103
  sha?: string;
84
104
  shortSha?: string;
85
105
  branch?: string;
106
+ remoteUrl?: string;
107
+ }
108
+ interface RepositoryInfo {
109
+ name: string;
110
+ version?: string;
111
+ pipeline?: string;
112
+ remoteUrl?: string;
86
113
  }
87
114
  interface TreeCount {
88
115
  /** Total files discovered (excluding skipped dirs like node_modules, .git, dist) */
@@ -96,7 +123,9 @@ interface ScanArtifact {
96
123
  vibgrateVersion: string;
97
124
  rootPath: string;
98
125
  vcs?: VcsInfo;
126
+ repository?: RepositoryInfo;
99
127
  projects: ProjectScan[];
128
+ solutions?: SolutionScan[];
100
129
  drift: DriftScore;
101
130
  findings: Finding[];
102
131
  baseline?: string;
@@ -129,6 +158,14 @@ interface ScanOptions {
129
158
  installTools?: boolean;
130
159
  /** Enable optional UI-purpose evidence extraction (slower, richer context for dashboard) */
131
160
  uiPurpose?: boolean;
161
+ /** Prevent writing .vibgrate JSON artifacts to disk */
162
+ noLocalArtifacts?: boolean;
163
+ /** Enable strongest privacy profile: minimize scanners and suppress local artifacts */
164
+ maxPrivacy?: boolean;
165
+ /** Run without any network calls; drift may be partial without a package manifest */
166
+ offline?: boolean;
167
+ /** Path to package-version manifest JSON or ZIP used in offline/privacy workflows */
168
+ packageManifest?: string;
132
169
  /** Fail the run if drift score is above this absolute budget */
133
170
  driftBudget?: number;
134
171
  /** Fail when drift worsens by more than this percentage vs baseline */
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  formatText,
8
8
  generateFindings,
9
9
  runScan
10
- } from "./chunk-HEILEAVO.js";
10
+ } from "./chunk-EOULHF5E.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.46",
3
+ "version": "1.0.48",
4
4
  "description": "CLI for measuring upgrade drift across Node, .NET, Python & Java projects",
5
5
  "type": "module",
6
6
  "bin": {