@vibgrate/cli 1.0.20 → 1.0.22

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.
package/dist/cli.js CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  formatMarkdown
4
- } from "./chunk-VXZT34Y5.js";
4
+ } from "./chunk-GN3IWKSY.js";
5
5
  import {
6
6
  baselineCommand
7
- } from "./chunk-YWBGG2KK.js";
7
+ } from "./chunk-IMK7DUPY.js";
8
8
  import {
9
9
  VERSION,
10
10
  dsnCommand,
@@ -15,7 +15,7 @@ import {
15
15
  readJsonFile,
16
16
  scanCommand,
17
17
  writeDefaultConfig
18
- } from "./chunk-T6WMUKLV.js";
18
+ } from "./chunk-JFMGFWKC.js";
19
19
 
20
20
  // src/cli.ts
21
21
  import { Command as Command4 } from "commander";
@@ -38,7 +38,7 @@ var initCommand = new Command("init").description("Initialize vibgrate in a proj
38
38
  console.log(chalk.green("\u2714") + ` Created ${chalk.bold("vibgrate.config.ts")}`);
39
39
  }
40
40
  if (opts.baseline) {
41
- const { runBaseline } = await import("./baseline-7KBX56UU.js");
41
+ const { runBaseline } = await import("./baseline-IOXJPCX7.js");
42
42
  await runBaseline(rootDir);
43
43
  }
44
44
  console.log("");
package/dist/index.d.ts CHANGED
@@ -64,6 +64,12 @@ interface VcsInfo {
64
64
  shortSha?: string;
65
65
  branch?: string;
66
66
  }
67
+ interface TreeCount {
68
+ /** Total files discovered (excluding skipped dirs like node_modules, .git, dist) */
69
+ totalFiles: number;
70
+ /** Total subdirectories discovered (excluding skipped dirs) */
71
+ totalDirs: number;
72
+ }
67
73
  interface ScanArtifact {
68
74
  schemaVersion: '1.0';
69
75
  timestamp: string;
@@ -80,6 +86,8 @@ interface ScanArtifact {
80
86
  durationMs?: number;
81
87
  /** Number of manifest/config files scanned */
82
88
  filesScanned?: number;
89
+ /** Workspace tree summary (file & directory counts from discovery) */
90
+ treeSummary?: TreeCount;
83
91
  }
84
92
  interface ScanOptions {
85
93
  out?: string;
@@ -115,6 +123,9 @@ interface ScannersConfig {
115
123
  interface VibgrateConfig {
116
124
  include?: string[];
117
125
  exclude?: string[];
126
+ /** Maximum file size (bytes) the CLI will read during a scan. Files larger
127
+ * than this are silently skipped. Default: 5 242 880 (5 MB). */
128
+ maxFileSizeToScan?: number;
118
129
  scanners?: ScannersConfig | false;
119
130
  thresholds?: {
120
131
  failOnError?: {
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  formatMarkdown
3
- } from "./chunk-VXZT34Y5.js";
3
+ } from "./chunk-GN3IWKSY.js";
4
4
  import {
5
5
  computeDriftScore,
6
6
  formatSarif,
7
7
  formatText,
8
8
  generateFindings,
9
9
  runScan
10
- } from "./chunk-T6WMUKLV.js";
10
+ } from "./chunk-JFMGFWKC.js";
11
11
  export {
12
12
  computeDriftScore,
13
13
  formatMarkdown,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibgrate/cli",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "CLI for measuring upgrade drift across Node & .NET projects",
5
5
  "type": "module",
6
6
  "bin": {