@code-pushup/core 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
|
@@ -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
|
-
|
|
166
|
-
|
|
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
|
}
|
|
@@ -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.
|
|
1545
|
+
var version = "0.16.8";
|
|
1547
1546
|
|
|
1548
1547
|
// packages/core/src/lib/implementation/execute-plugin.ts
|
|
1549
1548
|
import chalk5 from "chalk";
|