@code-pushup/core 0.16.7 → 0.17.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 +6 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
  import { z as z2 } from "zod";
3
3
 
4
4
  // packages/models/src/lib/implementation/schemas.ts
5
+ import { MATERIAL_ICONS } from "vscode-material-icons";
5
6
  import { z } from "zod";
6
- import { MATERIAL_ICONS } from "@code-pushup/portal-client";
7
7
 
8
8
  // packages/models/src/lib/implementation/limits.ts
9
9
  var MAX_SLUG_LENGTH = 128;
@@ -161,10 +161,9 @@ function scorableSchema(description, refSchema, duplicateCheckFn, duplicateMessa
161
161
  { description }
162
162
  );
163
163
  }
164
- var materialIconSchema = z.enum(
165
- MATERIAL_ICONS,
166
- { description: "Icon from VSCode Material Icons extension" }
167
- );
164
+ var materialIconSchema = z.enum(MATERIAL_ICONS, {
165
+ description: "Icon from VSCode Material Icons extension"
166
+ });
168
167
  function hasWeightedRefsInCategories(categoryRefs) {
169
168
  return categoryRefs.reduce((acc, { weight }) => weight + acc, 0) !== 0;
170
169
  }
@@ -562,7 +561,7 @@ import { join } from "node:path";
562
561
  // packages/utils/src/lib/file-system.ts
563
562
  import { bundleRequire } from "bundle-require";
564
563
  import chalk from "chalk";
565
- import { mkdir, readFile, readdir, stat } from "node:fs/promises";
564
+ import { mkdir, readFile, readdir, rm, stat } from "node:fs/promises";
566
565
 
567
566
  // packages/utils/src/lib/formatting.ts
568
567
  function slugify(text) {
@@ -1543,7 +1542,7 @@ import chalk4 from "chalk";
1543
1542
 
1544
1543
  // packages/core/package.json
1545
1544
  var name = "@code-pushup/core";
1546
- var version = "0.16.7";
1545
+ var version = "0.17.0";
1547
1546
 
1548
1547
  // packages/core/src/lib/implementation/execute-plugin.ts
1549
1548
  import chalk5 from "chalk";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-pushup/core",
3
- "version": "0.16.7",
3
+ "version": "0.17.0",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@code-pushup/models": "*",