@code-pushup/cli 0.20.0 → 0.20.2

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 CHANGED
@@ -1562,7 +1562,7 @@ var verboseUtils = (verbose = false) => ({
1562
1562
 
1563
1563
  // packages/core/package.json
1564
1564
  var name = "@code-pushup/core";
1565
- var version = "0.20.0";
1565
+ var version = "0.20.2";
1566
1566
 
1567
1567
  // packages/core/src/lib/implementation/execute-plugin.ts
1568
1568
  import chalk5 from "chalk";
@@ -2257,10 +2257,10 @@ function filterCategoryByPluginSlug(categories, {
2257
2257
  }
2258
2258
  return categories.filter(
2259
2259
  (category) => category.refs.every((ref) => {
2260
- const isNotSkipped = onlyPlugins.includes(ref.slug);
2260
+ const isNotSkipped = onlyPlugins.includes(ref.plugin);
2261
2261
  if (!isNotSkipped && verbose) {
2262
2262
  console.info(
2263
- `${chalk10.yellow("\u26A0")} Category "${category.title}" is ignored because it references audits from skipped plugin "${ref.slug}"`
2263
+ `${chalk10.yellow("\u26A0")} Category "${category.title}" is ignored because it references audits from skipped plugin "${ref.plugin}"`
2264
2264
  );
2265
2265
  }
2266
2266
  return isNotSkipped;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-pushup/cli",
3
- "version": "0.20.0",
3
+ "version": "0.20.2",
4
4
  "license": "MIT",
5
5
  "bin": {
6
6
  "code-pushup": "index.js"
@@ -12,5 +12,44 @@
12
12
  "chalk": "^5.3.0",
13
13
  "@code-pushup/utils": "*",
14
14
  "@poppinss/cliui": "^6.3.0"
15
- }
16
- }
15
+ },
16
+ "homepage": "https://github.com/code-pushup/cli#readme",
17
+ "bugs": {
18
+ "url": "https://github.com/code-pushup/cli/issues"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "https://github.com/code-pushup/cli.git",
23
+ "directory": "packages/cli"
24
+ },
25
+ "contributors": [
26
+ {
27
+ "name": "Igor Katsuba",
28
+ "email": "igor@katsuba.dev",
29
+ "url": "https://katsuba.dev"
30
+ },
31
+ {
32
+ "name": "Kateřina Pilátová",
33
+ "email": "katerina.pilatova@flowup.cz",
34
+ "url": "https://github.com/Tlacenka"
35
+ },
36
+ {
37
+ "name": "Matěj Chalk",
38
+ "email": "matej.chalk@flowup.cz",
39
+ "url": "https://github.com/matejchalk"
40
+ },
41
+ {
42
+ "name": "Michael Hladky",
43
+ "email": "michael.hladky@push-based.io",
44
+ "url": "https://push-based.io"
45
+ },
46
+ {
47
+ "name": "Michael Seredenko",
48
+ "email": "misha.seredenko@push-based.io",
49
+ "url": "https://github.com/MishaSeredenkoPushBased"
50
+ }
51
+ ],
52
+ "type": "module",
53
+ "main": "./index.js",
54
+ "types": "./src/index.d.ts"
55
+ }
@@ -1,4 +1,4 @@
1
- import { CategoryConfig, CoreConfig } from '@code-pushup/models';
1
+ import type { CategoryConfig, CoreConfig } from '@code-pushup/models';
2
2
  export declare function filterPluginsBySlug(plugins: CoreConfig['plugins'], { onlyPlugins }: {
3
3
  onlyPlugins?: string[];
4
4
  }): CoreConfig['plugins'];