@code-pushup/coverage-plugin 0.16.7 → 0.16.8
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 +5 -6
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import { join as join3 } from "node:path";
|
|
|
5
5
|
import { z as z2 } from "zod";
|
|
6
6
|
|
|
7
7
|
// packages/models/src/lib/implementation/schemas.ts
|
|
8
|
+
import { MATERIAL_ICONS } from "vscode-material-icons";
|
|
8
9
|
import { z } from "zod";
|
|
9
|
-
import { MATERIAL_ICONS } from "@code-pushup/portal-client";
|
|
10
10
|
|
|
11
11
|
// packages/models/src/lib/implementation/limits.ts
|
|
12
12
|
var MAX_SLUG_LENGTH = 128;
|
|
@@ -164,10 +164,9 @@ function scorableSchema(description, refSchema, duplicateCheckFn, duplicateMessa
|
|
|
164
164
|
{ description }
|
|
165
165
|
);
|
|
166
166
|
}
|
|
167
|
-
var materialIconSchema = z.enum(
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
);
|
|
167
|
+
var materialIconSchema = z.enum(MATERIAL_ICONS, {
|
|
168
|
+
description: "Icon from VSCode Material Icons extension"
|
|
169
|
+
});
|
|
171
170
|
function hasWeightedRefsInCategories(categoryRefs) {
|
|
172
171
|
return categoryRefs.reduce((acc, { weight }) => weight + acc, 0) !== 0;
|
|
173
172
|
}
|
|
@@ -615,7 +614,7 @@ import chalk4 from "chalk";
|
|
|
615
614
|
|
|
616
615
|
// packages/plugin-coverage/package.json
|
|
617
616
|
var name = "@code-pushup/coverage-plugin";
|
|
618
|
-
var version = "0.16.
|
|
617
|
+
var version = "0.16.8";
|
|
619
618
|
|
|
620
619
|
// packages/plugin-coverage/src/lib/config.ts
|
|
621
620
|
import { z as z13 } from "zod";
|