@code-pushup/cli 0.60.0 → 0.60.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/package.json +4 -4
- package/src/index.d.ts +1 -1
- package/src/index.js +3 -0
- package/src/index.js.map +1 -1
- package/src/lib/polyfills.d.ts +0 -0
- package/src/lib/polyfills.js +8 -0
- package/src/lib/polyfills.js.map +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-pushup/cli",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.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",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"code-pushup": "./src/index.js"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@code-pushup/models": "0.60.
|
|
46
|
-
"@code-pushup/core": "0.60.
|
|
47
|
-
"@code-pushup/utils": "0.60.
|
|
45
|
+
"@code-pushup/models": "0.60.2",
|
|
46
|
+
"@code-pushup/core": "0.60.2",
|
|
47
|
+
"@code-pushup/utils": "0.60.2",
|
|
48
48
|
"yargs": "^17.7.2",
|
|
49
49
|
"ansis": "^3.3.0",
|
|
50
50
|
"simple-git": "^3.20.0"
|
package/src/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#! /usr/bin/env node
|
|
2
|
-
|
|
2
|
+
import './lib/polyfills.js';
|
package/src/index.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
#! /usr/bin/env node
|
|
2
2
|
import { hideBin } from 'yargs/helpers';
|
|
3
3
|
import { cli } from './lib/cli.js';
|
|
4
|
+
// FIXME: this is a hot fix for github action running in node 18 instead of node 20
|
|
5
|
+
// eslint-disable-next-line import/no-unassigned-import
|
|
6
|
+
import './lib/polyfills.js';
|
|
4
7
|
// bootstrap Yargs, parse arguments and execute command
|
|
5
8
|
await cli(hideBin(process.argv)).argv;
|
|
6
9
|
// we need to explicitly exit with successful code otherwise we risk hanging process in certain situations
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/cli/src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/cli/src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,mFAAmF;AACnF,uDAAuD;AACvD,OAAO,oBAAoB,CAAC;AAE5B,uDAAuD;AACvD,MAAM,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AAEtC,0GAA0G;AAC1G,6CAA6C;AAC7C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"polyfills.js","sourceRoot":"","sources":["../../../../../packages/cli/src/lib/polyfills.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;IAC9B,qDAAqD;IACrD,KAAK,CAAC,SAAS,CAAC,QAAQ,GAAG,UAEzB,SAAkC;QAElC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACnC,CAAC,CAAC;AACJ,CAAC"}
|