@vibgrate/cli 2026.6.5 → 2026.6.5154714
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/baseline-MJNJICDN.js +12 -0
- package/dist/{chunk-42GW43JE.js → chunk-734OP6JR.js} +4 -1
- package/dist/chunk-HAT4W7NZ.js +678 -0
- package/dist/chunk-K2D6JXLA.js +14147 -0
- package/dist/cli.js +15 -13
- package/dist/fs-D24ONFXR-SJOEVGDJ.js +33 -0
- package/dist/index.js +8 -8
- package/package.json +3 -5
- package/dist/baseline-FPO7HS7Y.js +0 -9
package/dist/cli.js
CHANGED
|
@@ -6,10 +6,23 @@ import {
|
|
|
6
6
|
pathExists,
|
|
7
7
|
readJsonFile,
|
|
8
8
|
writeTextFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-734OP6JR.js";
|
|
10
|
+
import {
|
|
11
|
+
computeRepoFingerprint,
|
|
12
|
+
detectVcs,
|
|
13
|
+
fetchScanPreflight,
|
|
14
|
+
parseDsn,
|
|
15
|
+
prepareCompressedUpload,
|
|
16
|
+
resolveRepositoryName,
|
|
17
|
+
runScan,
|
|
18
|
+
writeDefaultConfig
|
|
19
|
+
} from "./chunk-K2D6JXLA.js";
|
|
10
20
|
import {
|
|
11
21
|
require_semver
|
|
12
22
|
} from "./chunk-74ZJFYEM.js";
|
|
23
|
+
import {
|
|
24
|
+
pathExists as pathExists2
|
|
25
|
+
} from "./chunk-HAT4W7NZ.js";
|
|
13
26
|
import {
|
|
14
27
|
__toESM
|
|
15
28
|
} from "./chunk-JSBRDJBE.js";
|
|
@@ -22,7 +35,6 @@ import chalk12 from "chalk";
|
|
|
22
35
|
import * as path from "path";
|
|
23
36
|
import { Command } from "commander";
|
|
24
37
|
import chalk from "chalk";
|
|
25
|
-
import { writeDefaultConfig } from "@vibgrate/core";
|
|
26
38
|
var initCommand = new Command("init").description("Initialize vibgrate in a project").argument("[path]", "Path to initialize", ".").option("--baseline", "Create initial baseline after init").option("--yes", "Skip confirmation prompts").action(async (targetPath, opts) => {
|
|
27
39
|
const rootDir = path.resolve(targetPath);
|
|
28
40
|
const vibgrateDir = path.join(rootDir, ".vibgrate");
|
|
@@ -36,7 +48,7 @@ var initCommand = new Command("init").description("Initialize vibgrate in a proj
|
|
|
36
48
|
console.log(chalk.green("\u2714") + ` Created ${chalk.bold("vibgrate.config.ts")}`);
|
|
37
49
|
}
|
|
38
50
|
if (opts.baseline) {
|
|
39
|
-
const { runBaseline } = await import("./baseline-
|
|
51
|
+
const { runBaseline } = await import("./baseline-MJNJICDN.js");
|
|
40
52
|
await runBaseline(rootDir);
|
|
41
53
|
}
|
|
42
54
|
console.log("");
|
|
@@ -50,16 +62,6 @@ var initCommand = new Command("init").description("Initialize vibgrate in a proj
|
|
|
50
62
|
import * as path3 from "path";
|
|
51
63
|
import { Command as Command3 } from "commander";
|
|
52
64
|
import chalk3 from "chalk";
|
|
53
|
-
import {
|
|
54
|
-
runScan,
|
|
55
|
-
pathExists as pathExists2,
|
|
56
|
-
parseDsn,
|
|
57
|
-
prepareCompressedUpload,
|
|
58
|
-
fetchScanPreflight,
|
|
59
|
-
computeRepoFingerprint,
|
|
60
|
-
detectVcs,
|
|
61
|
-
resolveRepositoryName
|
|
62
|
-
} from "@vibgrate/core";
|
|
63
65
|
|
|
64
66
|
// src/version.ts
|
|
65
67
|
import { createRequire } from "module";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FileCache,
|
|
3
|
+
countFilesInDir,
|
|
4
|
+
ensureDir,
|
|
5
|
+
findCsprojFiles,
|
|
6
|
+
findFiles,
|
|
7
|
+
findPackageJsonFiles,
|
|
8
|
+
findSolutionFiles,
|
|
9
|
+
normalizeGlobForRipgrep,
|
|
10
|
+
pathExists,
|
|
11
|
+
quickTreeCount,
|
|
12
|
+
readJsonFile,
|
|
13
|
+
readTextFile,
|
|
14
|
+
writeJsonFile,
|
|
15
|
+
writeTextFile
|
|
16
|
+
} from "./chunk-HAT4W7NZ.js";
|
|
17
|
+
import "./chunk-JSBRDJBE.js";
|
|
18
|
+
export {
|
|
19
|
+
FileCache,
|
|
20
|
+
countFilesInDir,
|
|
21
|
+
ensureDir,
|
|
22
|
+
findCsprojFiles,
|
|
23
|
+
findFiles,
|
|
24
|
+
findPackageJsonFiles,
|
|
25
|
+
findSolutionFiles,
|
|
26
|
+
normalizeGlobForRipgrep,
|
|
27
|
+
pathExists,
|
|
28
|
+
quickTreeCount,
|
|
29
|
+
readJsonFile,
|
|
30
|
+
readTextFile,
|
|
31
|
+
writeJsonFile,
|
|
32
|
+
writeTextFile
|
|
33
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./chunk-JSBRDJBE.js";
|
|
2
|
-
|
|
3
|
-
// src/index.ts
|
|
4
1
|
import {
|
|
5
|
-
runScan,
|
|
6
2
|
computeDriftScore,
|
|
7
|
-
|
|
8
|
-
formatText,
|
|
3
|
+
formatMarkdown,
|
|
9
4
|
formatSarif,
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
formatText,
|
|
6
|
+
generateFindings,
|
|
7
|
+
runScan
|
|
8
|
+
} from "./chunk-K2D6JXLA.js";
|
|
9
|
+
import "./chunk-74ZJFYEM.js";
|
|
10
|
+
import "./chunk-HAT4W7NZ.js";
|
|
11
|
+
import "./chunk-JSBRDJBE.js";
|
|
12
12
|
export {
|
|
13
13
|
computeDriftScore,
|
|
14
14
|
formatMarkdown,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibgrate/cli",
|
|
3
|
-
"version": "2026.6.
|
|
3
|
+
"version": "2026.6.5154714",
|
|
4
4
|
"description": "CLI for measuring upgrade drift across Node, .NET, Python & Java projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -53,14 +53,12 @@
|
|
|
53
53
|
"semver": "^7.6.0",
|
|
54
54
|
"tsup": "^8.0.0",
|
|
55
55
|
"tsx": "^4.0.0",
|
|
56
|
-
"
|
|
57
|
-
"vitest": "^2.0.0",
|
|
58
|
-
"@vibgrate/hcs-node-worker": "workspace:*"
|
|
56
|
+
"vitest": "^2.0.0"
|
|
59
57
|
},
|
|
60
58
|
"dependencies": {
|
|
61
|
-
"@vibgrate/core": "workspace:*",
|
|
62
59
|
"chalk": "^5.3.0",
|
|
63
60
|
"commander": "^12.0.0",
|
|
61
|
+
"typescript": "^5.4.0",
|
|
64
62
|
"zod": "^3.23.0"
|
|
65
63
|
},
|
|
66
64
|
"engines": {
|