@vibgrate/cli 1.0.21 → 1.0.23

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
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-GN3IWKSY.js";
5
5
  import {
6
6
  baselineCommand
7
- } from "./chunk-74QSNBZA.js";
7
+ } from "./chunk-KQUBDWWG.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-L6R5WSCC.js";
18
+ } from "./chunk-PG7GQN5E.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-7WI3SI6H.js");
41
+ const { runBaseline } = await import("./baseline-4KY5EKYR.js");
42
42
  await runBaseline(rootDir);
43
43
  }
44
44
  console.log("");
package/dist/index.d.ts CHANGED
@@ -123,6 +123,9 @@ interface ScannersConfig {
123
123
  interface VibgrateConfig {
124
124
  include?: string[];
125
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;
126
129
  scanners?: ScannersConfig | false;
127
130
  thresholds?: {
128
131
  failOnError?: {
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  formatText,
8
8
  generateFindings,
9
9
  runScan
10
- } from "./chunk-L6R5WSCC.js";
10
+ } from "./chunk-PG7GQN5E.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.21",
3
+ "version": "1.0.23",
4
4
  "description": "CLI for measuring upgrade drift across Node & .NET projects",
5
5
  "type": "module",
6
6
  "bin": {