@code-pushup/core 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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -1238,7 +1238,7 @@ var ProcessError = class extends Error {
1238
1238
  }
1239
1239
  };
1240
1240
  function executeProcess(cfg) {
1241
- const { observer, cwd, command, args, alwaysResolve = false } = cfg;
1241
+ const { observer, cwd, command, args, ignoreExitCode = false } = cfg;
1242
1242
  const { onStdout, onError, onComplete } = observer ?? {};
1243
1243
  const date = (/* @__PURE__ */ new Date()).toISOString();
1244
1244
  const start = performance.now();
@@ -1258,7 +1258,7 @@ function executeProcess(cfg) {
1258
1258
  });
1259
1259
  process2.on("close", (code) => {
1260
1260
  const timings = { date, duration: calcDuration(start) };
1261
- if (code === 0 || alwaysResolve) {
1261
+ if (code === 0 || ignoreExitCode) {
1262
1262
  onComplete?.();
1263
1263
  resolve({ code, stdout, stderr, ...timings });
1264
1264
  } else {
@@ -2034,7 +2034,7 @@ var verboseUtils = (verbose = false) => ({
2034
2034
 
2035
2035
  // packages/core/package.json
2036
2036
  var name = "@code-pushup/core";
2037
- var version = "0.29.0";
2037
+ var version = "0.34.0";
2038
2038
 
2039
2039
  // packages/core/src/lib/implementation/execute-plugin.ts
2040
2040
  import chalk5 from "chalk";
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@code-pushup/core",
3
- "version": "0.29.0",
3
+ "version": "0.34.0",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
- "@code-pushup/models": "*",
7
- "@code-pushup/utils": "*",
6
+ "@code-pushup/models": "0.34.0",
7
+ "@code-pushup/utils": "0.34.0",
8
8
  "@code-pushup/portal-client": "^0.6.1",
9
9
  "chalk": "^5.3.0",
10
10
  "simple-git": "^3.20.0"