@code-pushup/cli 0.95.1 → 0.95.2
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/bin/index.js +11 -0
- package/package.json +5 -5
package/bin/index.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file serves as the CLI entry point.
|
|
5
|
+
*
|
|
6
|
+
* We use a separate bin file (instead of pointing directly to src/index.js)
|
|
7
|
+
* because TypeScript build processes don't preserve file permissions.
|
|
8
|
+
* By tracking this file in git with executable permissions (+x), we ensure
|
|
9
|
+
* the CLI remains executable after npm publish without needing post-install scripts.
|
|
10
|
+
*/
|
|
11
|
+
import '../src/index.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-pushup/cli",
|
|
3
|
-
"version": "0.95.
|
|
3
|
+
"version": "0.95.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A CLI to run all kinds of code quality measurements to align your team with company goals",
|
|
6
6
|
"homepage": "https://code-pushup.dev",
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
},
|
|
40
40
|
"type": "module",
|
|
41
41
|
"bin": {
|
|
42
|
-
"code-pushup": "./
|
|
42
|
+
"code-pushup": "./bin/index.js"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=20"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@code-pushup/models": "0.95.
|
|
49
|
-
"@code-pushup/core": "0.95.
|
|
50
|
-
"@code-pushup/utils": "0.95.
|
|
48
|
+
"@code-pushup/models": "0.95.2",
|
|
49
|
+
"@code-pushup/core": "0.95.2",
|
|
50
|
+
"@code-pushup/utils": "0.95.2",
|
|
51
51
|
"yargs": "^17.7.2",
|
|
52
52
|
"ansis": "^3.3.0",
|
|
53
53
|
"simple-git": "^3.20.0"
|