@code-pushup/cli 0.29.0 → 0.34.0
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/index.js +3 -3
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -1254,7 +1254,7 @@ var ProcessError = class extends Error {
|
|
|
1254
1254
|
}
|
|
1255
1255
|
};
|
|
1256
1256
|
function executeProcess(cfg) {
|
|
1257
|
-
const { observer, cwd, command, args,
|
|
1257
|
+
const { observer, cwd, command, args, ignoreExitCode = false } = cfg;
|
|
1258
1258
|
const { onStdout, onError, onComplete } = observer ?? {};
|
|
1259
1259
|
const date = (/* @__PURE__ */ new Date()).toISOString();
|
|
1260
1260
|
const start = performance.now();
|
|
@@ -1274,7 +1274,7 @@ function executeProcess(cfg) {
|
|
|
1274
1274
|
});
|
|
1275
1275
|
process2.on("close", (code) => {
|
|
1276
1276
|
const timings = { date, duration: calcDuration(start) };
|
|
1277
|
-
if (code === 0 ||
|
|
1277
|
+
if (code === 0 || ignoreExitCode) {
|
|
1278
1278
|
onComplete?.();
|
|
1279
1279
|
resolve({ code, stdout, stderr, ...timings });
|
|
1280
1280
|
} else {
|
|
@@ -2061,7 +2061,7 @@ var verboseUtils = (verbose = false) => ({
|
|
|
2061
2061
|
|
|
2062
2062
|
// packages/core/package.json
|
|
2063
2063
|
var name = "@code-pushup/core";
|
|
2064
|
-
var version = "0.
|
|
2064
|
+
var version = "0.34.0";
|
|
2065
2065
|
|
|
2066
2066
|
// packages/core/src/lib/implementation/execute-plugin.ts
|
|
2067
2067
|
import chalk5 from "chalk";
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-pushup/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bin": {
|
|
6
6
|
"code-pushup": "index.js"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@code-pushup/models": "
|
|
10
|
-
"@code-pushup/core": "
|
|
9
|
+
"@code-pushup/models": "0.34.0",
|
|
10
|
+
"@code-pushup/core": "0.34.0",
|
|
11
11
|
"yargs": "^17.7.2",
|
|
12
12
|
"chalk": "^5.3.0",
|
|
13
|
-
"@code-pushup/utils": "
|
|
13
|
+
"@code-pushup/utils": "0.34.0"
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/code-pushup/cli#readme",
|
|
16
16
|
"bugs": {
|