@vibgrate/cli 1.0.40 → 1.0.42
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-FDWMBM2O.js +10 -0
- package/dist/{chunk-LBZR6G43.js → chunk-LO66M6OC.js} +4 -2
- package/dist/chunk-RNVZIZNL.js +569 -0
- package/dist/{chunk-NU7IIHIG.js → chunk-YFJC5JSQ.js} +1146 -650
- package/dist/cli.js +8 -6
- package/dist/fs-Q63DRR7L.js +30 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/package.json +2 -2
- package/dist/baseline-BTB34JBE.js +0 -9
package/dist/cli.js
CHANGED
|
@@ -4,18 +4,20 @@ import {
|
|
|
4
4
|
} from "./chunk-GN3IWKSY.js";
|
|
5
5
|
import {
|
|
6
6
|
baselineCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LO66M6OC.js";
|
|
8
8
|
import {
|
|
9
9
|
VERSION,
|
|
10
10
|
dsnCommand,
|
|
11
|
-
ensureDir,
|
|
12
11
|
formatText,
|
|
13
|
-
pathExists,
|
|
14
12
|
pushCommand,
|
|
15
|
-
readJsonFile,
|
|
16
13
|
scanCommand,
|
|
17
14
|
writeDefaultConfig
|
|
18
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YFJC5JSQ.js";
|
|
16
|
+
import {
|
|
17
|
+
ensureDir,
|
|
18
|
+
pathExists,
|
|
19
|
+
readJsonFile
|
|
20
|
+
} from "./chunk-RNVZIZNL.js";
|
|
19
21
|
|
|
20
22
|
// src/cli.ts
|
|
21
23
|
import { Command as Command4 } from "commander";
|
|
@@ -38,7 +40,7 @@ var initCommand = new Command("init").description("Initialize vibgrate in a proj
|
|
|
38
40
|
console.log(chalk.green("\u2714") + ` Created ${chalk.bold("vibgrate.config.ts")}`);
|
|
39
41
|
}
|
|
40
42
|
if (opts.baseline) {
|
|
41
|
-
const { runBaseline } = await import("./baseline-
|
|
43
|
+
const { runBaseline } = await import("./baseline-FDWMBM2O.js");
|
|
42
44
|
await runBaseline(rootDir);
|
|
43
45
|
}
|
|
44
46
|
console.log("");
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FileCache,
|
|
3
|
+
countFilesInDir,
|
|
4
|
+
ensureDir,
|
|
5
|
+
findCsprojFiles,
|
|
6
|
+
findFiles,
|
|
7
|
+
findPackageJsonFiles,
|
|
8
|
+
findSolutionFiles,
|
|
9
|
+
pathExists,
|
|
10
|
+
quickTreeCount,
|
|
11
|
+
readJsonFile,
|
|
12
|
+
readTextFile,
|
|
13
|
+
writeJsonFile,
|
|
14
|
+
writeTextFile
|
|
15
|
+
} from "./chunk-RNVZIZNL.js";
|
|
16
|
+
export {
|
|
17
|
+
FileCache,
|
|
18
|
+
countFilesInDir,
|
|
19
|
+
ensureDir,
|
|
20
|
+
findCsprojFiles,
|
|
21
|
+
findFiles,
|
|
22
|
+
findPackageJsonFiles,
|
|
23
|
+
findSolutionFiles,
|
|
24
|
+
pathExists,
|
|
25
|
+
quickTreeCount,
|
|
26
|
+
readJsonFile,
|
|
27
|
+
readTextFile,
|
|
28
|
+
writeJsonFile,
|
|
29
|
+
writeTextFile
|
|
30
|
+
};
|
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';
|
|
3
|
+
type ProjectType = 'node' | 'dotnet' | 'python' | 'java';
|
|
4
4
|
type OutputFormat = 'text' | 'json' | 'sarif';
|
|
5
5
|
interface DependencyRow {
|
|
6
6
|
package: string;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibgrate/cli",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "CLI for measuring upgrade drift across Node
|
|
3
|
+
"version": "1.0.42",
|
|
4
|
+
"description": "CLI for measuring upgrade drift across Node, .NET, Python & Java projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"vibgrate": "./dist/cli.js"
|