@code-pushup/coverage-plugin 0.53.1 → 0.54.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 (3) hide show
  1. package/bin.js +2 -2
  2. package/index.js +2 -3
  3. package/package.json +6 -6
package/bin.js CHANGED
@@ -111,7 +111,6 @@ var fileNameSchema = z.string().trim().regex(filenameRegex, {
111
111
  message: `The filename has to be valid`
112
112
  }).min(1, { message: "file name is invalid" });
113
113
  var positiveIntSchema = z.number().int().positive();
114
- var nonnegativeIntSchema = z.number().int().nonnegative();
115
114
  var nonnegativeNumberSchema = z.number().nonnegative();
116
115
  function packageVersionSchema(options) {
117
116
  const { versionDescription = "NPM version of the package", required } = options ?? {};
@@ -655,7 +654,7 @@ var auditDiffSchema = scorableWithPluginDiffSchema.merge(
655
654
  z16.object({
656
655
  values: makeComparisonSchema(auditValueSchema).merge(
657
656
  z16.object({
658
- diff: z16.number().int().describe("Value change (`values.after - values.before`)")
657
+ diff: z16.number().describe("Value change (`values.after - values.before`)")
659
658
  })
660
659
  ).describe("Audit `value` comparison"),
661
660
  displayValues: makeComparisonSchema(auditDisplayValueSchema).describe(
@@ -740,6 +739,7 @@ function executeProcess(cfg) {
740
739
  return new Promise((resolve, reject) => {
741
740
  const spawnedProcess = spawn(command, args ?? [], {
742
741
  shell: true,
742
+ windowsHide: true,
743
743
  ...options
744
744
  });
745
745
  let stdout = "";
package/index.js CHANGED
@@ -110,7 +110,6 @@ var fileNameSchema = z.string().trim().regex(filenameRegex, {
110
110
  message: `The filename has to be valid`
111
111
  }).min(1, { message: "file name is invalid" });
112
112
  var positiveIntSchema = z.number().int().positive();
113
- var nonnegativeIntSchema = z.number().int().nonnegative();
114
113
  var nonnegativeNumberSchema = z.number().nonnegative();
115
114
  function packageVersionSchema(options) {
116
115
  const { versionDescription = "NPM version of the package", required } = options ?? {};
@@ -654,7 +653,7 @@ var auditDiffSchema = scorableWithPluginDiffSchema.merge(
654
653
  z16.object({
655
654
  values: makeComparisonSchema(auditValueSchema).merge(
656
655
  z16.object({
657
- diff: z16.number().int().describe("Value change (`values.after - values.before`)")
656
+ diff: z16.number().describe("Value change (`values.after - values.before`)")
658
657
  })
659
658
  ).describe("Audit `value` comparison"),
660
659
  displayValues: makeComparisonSchema(auditDisplayValueSchema).describe(
@@ -814,7 +813,7 @@ import { bold as bold4, cyan, cyanBright, green as green2, red } from "ansis";
814
813
 
815
814
  // packages/plugin-coverage/package.json
816
815
  var name = "@code-pushup/coverage-plugin";
817
- var version = "0.53.1";
816
+ var version = "0.54.0";
818
817
 
819
818
  // packages/plugin-coverage/src/lib/config.ts
820
819
  import { z as z17 } from "zod";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-pushup/coverage-plugin",
3
- "version": "0.53.1",
3
+ "version": "0.54.0",
4
4
  "description": "Code PushUp plugin for tracking code coverage ☂",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/code-pushup/cli/tree/main/packages/plugin-coverage#readme",
@@ -36,16 +36,16 @@
36
36
  "main": "./index.js",
37
37
  "types": "./src/index.d.ts",
38
38
  "dependencies": {
39
- "@code-pushup/models": "0.53.1",
40
- "@code-pushup/utils": "0.53.1",
39
+ "@code-pushup/models": "0.54.0",
40
+ "@code-pushup/utils": "0.54.0",
41
41
  "ansis": "^3.3.0",
42
42
  "parse-lcov": "^1.0.4",
43
43
  "zod": "^3.22.4"
44
44
  },
45
45
  "peerDependencies": {
46
- "@nx/devkit": "^17.0.0 || ^18.0.0 || ^19.0.0",
47
- "@nx/jest": "^17.0.0 || ^18.0.0 || ^19.0.0",
48
- "@nx/vite": "^17.0.0 || ^18.0.0 || ^19.0.0"
46
+ "@nx/devkit": ">=17.0.0",
47
+ "@nx/jest": ">=17.0.0",
48
+ "@nx/vite": ">=17.0.0"
49
49
  },
50
50
  "peerDependenciesMeta": {
51
51
  "@nx/devkit": {