@code-pushup/coverage-plugin 0.35.0 → 0.39.0
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/bin.js +7 -3
- package/index.js +8 -4
- package/package.json +3 -3
package/bin.js
CHANGED
|
@@ -579,10 +579,14 @@ function makeArraysComparisonSchema(diffSchema, resultSchema, description) {
|
|
|
579
579
|
{ description }
|
|
580
580
|
);
|
|
581
581
|
}
|
|
582
|
-
var scorableMetaSchema = z14.object({
|
|
582
|
+
var scorableMetaSchema = z14.object({
|
|
583
|
+
slug: slugSchema,
|
|
584
|
+
title: titleSchema,
|
|
585
|
+
docsUrl: docsUrlSchema
|
|
586
|
+
});
|
|
583
587
|
var scorableWithPluginMetaSchema = scorableMetaSchema.merge(
|
|
584
588
|
z14.object({
|
|
585
|
-
plugin: pluginMetaSchema.pick({ slug: true, title: true }).describe("Plugin which defines it")
|
|
589
|
+
plugin: pluginMetaSchema.pick({ slug: true, title: true, docsUrl: true }).describe("Plugin which defines it")
|
|
586
590
|
})
|
|
587
591
|
);
|
|
588
592
|
var scorableDiffSchema = scorableMetaSchema.merge(
|
|
@@ -704,7 +708,7 @@ async function ensureDirectoryExists(baseDir) {
|
|
|
704
708
|
await mkdir(baseDir, { recursive: true });
|
|
705
709
|
return;
|
|
706
710
|
} catch (error) {
|
|
707
|
-
ui().logger.
|
|
711
|
+
ui().logger.info(error.message);
|
|
708
712
|
if (error.code !== "EEXIST") {
|
|
709
713
|
throw error;
|
|
710
714
|
}
|
package/index.js
CHANGED
|
@@ -578,10 +578,14 @@ function makeArraysComparisonSchema(diffSchema, resultSchema, description) {
|
|
|
578
578
|
{ description }
|
|
579
579
|
);
|
|
580
580
|
}
|
|
581
|
-
var scorableMetaSchema = z14.object({
|
|
581
|
+
var scorableMetaSchema = z14.object({
|
|
582
|
+
slug: slugSchema,
|
|
583
|
+
title: titleSchema,
|
|
584
|
+
docsUrl: docsUrlSchema
|
|
585
|
+
});
|
|
582
586
|
var scorableWithPluginMetaSchema = scorableMetaSchema.merge(
|
|
583
587
|
z14.object({
|
|
584
|
-
plugin: pluginMetaSchema.pick({ slug: true, title: true }).describe("Plugin which defines it")
|
|
588
|
+
plugin: pluginMetaSchema.pick({ slug: true, title: true, docsUrl: true }).describe("Plugin which defines it")
|
|
585
589
|
})
|
|
586
590
|
);
|
|
587
591
|
var scorableDiffSchema = scorableMetaSchema.merge(
|
|
@@ -692,7 +696,7 @@ async function ensureDirectoryExists(baseDir) {
|
|
|
692
696
|
await mkdir(baseDir, { recursive: true });
|
|
693
697
|
return;
|
|
694
698
|
} catch (error) {
|
|
695
|
-
ui().logger.
|
|
699
|
+
ui().logger.info(error.message);
|
|
696
700
|
if (error.code !== "EEXIST") {
|
|
697
701
|
throw error;
|
|
698
702
|
}
|
|
@@ -736,7 +740,7 @@ import chalk4 from "chalk";
|
|
|
736
740
|
|
|
737
741
|
// packages/plugin-coverage/package.json
|
|
738
742
|
var name = "@code-pushup/coverage-plugin";
|
|
739
|
-
var version = "0.
|
|
743
|
+
var version = "0.39.0";
|
|
740
744
|
|
|
741
745
|
// packages/plugin-coverage/src/lib/config.ts
|
|
742
746
|
import { z as z15 } from "zod";
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-pushup/coverage-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@code-pushup/models": "0.
|
|
6
|
-
"@code-pushup/utils": "0.
|
|
5
|
+
"@code-pushup/models": "0.39.0",
|
|
6
|
+
"@code-pushup/utils": "0.39.0",
|
|
7
7
|
"parse-lcov": "^1.0.4",
|
|
8
8
|
"chalk": "^5.3.0",
|
|
9
9
|
"zod": "^3.22.4"
|