@code-pushup/core 0.4.2 → 0.4.3
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 +8 -9
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -243,19 +243,18 @@ var auditGroupRefSchema = weightedRefSchema(
|
|
|
243
243
|
"Weighted references to audits",
|
|
244
244
|
"Reference slug to an audit within this plugin (e.g. 'max-lines')"
|
|
245
245
|
);
|
|
246
|
+
var auditGroupMetaSchema = metaSchema({
|
|
247
|
+
titleDescription: "Descriptive name for the group",
|
|
248
|
+
descriptionDescription: "Description of the group (markdown)",
|
|
249
|
+
docsUrlDescription: "Group documentation site",
|
|
250
|
+
description: "Group metadata"
|
|
251
|
+
});
|
|
246
252
|
var auditGroupSchema = scorableSchema(
|
|
247
253
|
'An audit group aggregates a set of audits into a single score which can be referenced from a category. E.g. the group slug "performance" groups audits and can be referenced in a category',
|
|
248
254
|
auditGroupRefSchema,
|
|
249
255
|
getDuplicateRefsInGroups,
|
|
250
256
|
duplicateRefsInGroupsErrorMsg
|
|
251
|
-
).merge(
|
|
252
|
-
metaSchema({
|
|
253
|
-
titleDescription: "Descriptive name for the group",
|
|
254
|
-
descriptionDescription: "Description of the group (markdown)",
|
|
255
|
-
docsUrlDescription: "Group documentation site",
|
|
256
|
-
description: "Group metadata"
|
|
257
|
-
})
|
|
258
|
-
);
|
|
257
|
+
).merge(auditGroupMetaSchema);
|
|
259
258
|
var auditGroupsSchema = z5.array(auditGroupSchema, {
|
|
260
259
|
description: "List of groups"
|
|
261
260
|
}).optional().refine(
|
|
@@ -1633,7 +1632,7 @@ function auditOutputsCorrelateWithPluginOutput(auditOutputs, pluginConfigAudits)
|
|
|
1633
1632
|
|
|
1634
1633
|
// packages/core/package.json
|
|
1635
1634
|
var name = "@code-pushup/core";
|
|
1636
|
-
var version = "0.4.
|
|
1635
|
+
var version = "0.4.3";
|
|
1637
1636
|
|
|
1638
1637
|
// packages/core/src/lib/implementation/collect.ts
|
|
1639
1638
|
async function collect(options) {
|