@code-pushup/coverage-plugin 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 +3 -43
package/index.js
CHANGED
|
@@ -185,7 +185,7 @@ var auditSchema = z2.object({
|
|
|
185
185
|
);
|
|
186
186
|
var pluginAuditsSchema = z2.array(auditSchema, {
|
|
187
187
|
description: "List of audits maintained in a plugin"
|
|
188
|
-
}).refine(
|
|
188
|
+
}).min(1).refine(
|
|
189
189
|
(auditMetadata) => !getDuplicateSlugsInAudits(auditMetadata),
|
|
190
190
|
(auditMetadata) => ({
|
|
191
191
|
message: duplicateSlugsInAuditsErrorMsg(auditMetadata)
|
|
@@ -495,7 +495,7 @@ var pluginReportSchema = pluginMetaSchema.merge(
|
|
|
495
495
|
})
|
|
496
496
|
).merge(
|
|
497
497
|
z12.object({
|
|
498
|
-
audits: z12.array(auditReportSchema),
|
|
498
|
+
audits: z12.array(auditReportSchema).min(1),
|
|
499
499
|
groups: z12.array(groupSchema).optional()
|
|
500
500
|
})
|
|
501
501
|
).refine(
|
|
@@ -615,7 +615,7 @@ import chalk4 from "chalk";
|
|
|
615
615
|
|
|
616
616
|
// packages/plugin-coverage/package.json
|
|
617
617
|
var name = "@code-pushup/coverage-plugin";
|
|
618
|
-
var version = "0.16.
|
|
618
|
+
var version = "0.16.6";
|
|
619
619
|
|
|
620
620
|
// packages/plugin-coverage/src/lib/config.ts
|
|
621
621
|
import { z as z13 } from "zod";
|
package/package.json
CHANGED
|
@@ -1,50 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-pushup/coverage-plugin",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.6",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@code-pushup/models": "*",
|
|
6
6
|
"@code-pushup/utils": "*",
|
|
7
7
|
"parse-lcov": "^1.0.4",
|
|
8
8
|
"zod": "^3.22.4"
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
"homepage": "https://github.com/code-pushup/cli#readme",
|
|
12
|
-
"bugs": {
|
|
13
|
-
"url": "https://github.com/code-pushup/cli/issues"
|
|
14
|
-
},
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "https://github.com/code-pushup/cli.git",
|
|
18
|
-
"directory": "packages/plugin-coverage"
|
|
19
|
-
},
|
|
20
|
-
"contributors": [
|
|
21
|
-
{
|
|
22
|
-
"name": "Igor Katsuba",
|
|
23
|
-
"email": "igor@katsuba.dev",
|
|
24
|
-
"url": "https://katsuba.dev"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "Kateřina Pilátová",
|
|
28
|
-
"email": "katerina.pilatova@flowup.cz",
|
|
29
|
-
"url": "https://github.com/Tlacenka"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "Matěj Chalk",
|
|
33
|
-
"email": "matej.chalk@flowup.cz",
|
|
34
|
-
"url": "https://github.com/matejchalk"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"name": "Michael Hladky",
|
|
38
|
-
"email": "michael.hladky@push-based.io",
|
|
39
|
-
"url": "https://push-based.io"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "Michael Seredenko",
|
|
43
|
-
"email": "misha.seredenko@push-based.io",
|
|
44
|
-
"url": "https://github.com/MishaSeredenkoPushBased"
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
"type": "module",
|
|
48
|
-
"main": "./index.js",
|
|
49
|
-
"types": "./src/index.d.ts"
|
|
50
|
-
}
|
|
9
|
+
}
|
|
10
|
+
}
|