@code-pushup/cli 0.16.4 → 0.16.6
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 +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -190,7 +190,7 @@ var auditSchema = z2.object({
|
|
|
190
190
|
);
|
|
191
191
|
var pluginAuditsSchema = z2.array(auditSchema, {
|
|
192
192
|
description: "List of audits maintained in a plugin"
|
|
193
|
-
}).refine(
|
|
193
|
+
}).min(1).refine(
|
|
194
194
|
(auditMetadata) => !getDuplicateSlugsInAudits(auditMetadata),
|
|
195
195
|
(auditMetadata) => ({
|
|
196
196
|
message: duplicateSlugsInAuditsErrorMsg(auditMetadata)
|
|
@@ -509,7 +509,7 @@ var pluginReportSchema = pluginMetaSchema.merge(
|
|
|
509
509
|
})
|
|
510
510
|
).merge(
|
|
511
511
|
z12.object({
|
|
512
|
-
audits: z12.array(auditReportSchema),
|
|
512
|
+
audits: z12.array(auditReportSchema).min(1),
|
|
513
513
|
groups: z12.array(groupSchema).optional()
|
|
514
514
|
})
|
|
515
515
|
).refine(
|
|
@@ -1564,7 +1564,7 @@ function link2(text) {
|
|
|
1564
1564
|
|
|
1565
1565
|
// packages/core/package.json
|
|
1566
1566
|
var name = "@code-pushup/core";
|
|
1567
|
-
var version = "0.16.
|
|
1567
|
+
var version = "0.16.6";
|
|
1568
1568
|
|
|
1569
1569
|
// packages/core/src/lib/implementation/execute-plugin.ts
|
|
1570
1570
|
import chalk5 from "chalk";
|