@code-pushup/core 0.16.5 → 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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -182,7 +182,7 @@ var auditSchema = z2.object({
182
182
  );
183
183
  var pluginAuditsSchema = z2.array(auditSchema, {
184
184
  description: "List of audits maintained in a plugin"
185
- }).refine(
185
+ }).min(1).refine(
186
186
  (auditMetadata) => !getDuplicateSlugsInAudits(auditMetadata),
187
187
  (auditMetadata) => ({
188
188
  message: duplicateSlugsInAuditsErrorMsg(auditMetadata)
@@ -501,7 +501,7 @@ var pluginReportSchema = pluginMetaSchema.merge(
501
501
  })
502
502
  ).merge(
503
503
  z12.object({
504
- audits: z12.array(auditReportSchema),
504
+ audits: z12.array(auditReportSchema).min(1),
505
505
  groups: z12.array(groupSchema).optional()
506
506
  })
507
507
  ).refine(
@@ -1546,7 +1546,7 @@ import chalk4 from "chalk";
1546
1546
 
1547
1547
  // packages/core/package.json
1548
1548
  var name = "@code-pushup/core";
1549
- var version = "0.16.5";
1549
+ var version = "0.16.6";
1550
1550
 
1551
1551
  // packages/core/src/lib/implementation/execute-plugin.ts
1552
1552
  import chalk5 from "chalk";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-pushup/core",
3
- "version": "0.16.5",
3
+ "version": "0.16.6",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@code-pushup/models": "*",