@code-pushup/eslint-plugin 0.8.24 → 0.9.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.
Files changed (3) hide show
  1. package/bin.js +4 -3
  2. package/index.js +5 -4
  3. package/package.json +1 -1
package/bin.js CHANGED
@@ -455,7 +455,8 @@ var uploadConfigSchema = z10.object({
455
455
  description: "API key with write access to portal (use `process.env` for security)"
456
456
  }),
457
457
  organization: slugSchema("Organization slug from Code PushUp portal"),
458
- project: slugSchema("Project slug from Code PushUp portal")
458
+ project: slugSchema("Project slug from Code PushUp portal"),
459
+ timeout: z10.number({ description: "Request timeout in minutes (default is 5)" }).positive().int().optional()
459
460
  });
460
461
 
461
462
  // packages/models/src/lib/core-config.ts
@@ -601,7 +602,7 @@ function compareIssueSeverity(severity1, severity2) {
601
602
  }
602
603
 
603
604
  // packages/utils/src/lib/git.ts
604
- import simpleGit from "simple-git";
605
+ import { simpleGit } from "simple-git";
605
606
  var git = simpleGit();
606
607
 
607
608
  // packages/utils/src/lib/progress.ts
@@ -611,7 +612,7 @@ import { MultiProgressBars } from "multi-progress-bars";
611
612
  // packages/utils/src/lib/reports/generate-stdout-summary.ts
612
613
  import cliui from "@isaacs/cliui";
613
614
  import chalk3 from "chalk";
614
- import Table from "cli-table3";
615
+ import CliTable3 from "cli-table3";
615
616
 
616
617
  // packages/utils/src/lib/transform.ts
617
618
  function toArray(val) {
package/index.js CHANGED
@@ -5,7 +5,7 @@ import { fileURLToPath } from "node:url";
5
5
 
6
6
  // packages/plugin-eslint/package.json
7
7
  var name = "@code-pushup/eslint-plugin";
8
- var version = "0.8.24";
8
+ var version = "0.9.0";
9
9
 
10
10
  // packages/plugin-eslint/src/lib/config.ts
11
11
  import { z } from "zod";
@@ -477,7 +477,8 @@ var uploadConfigSchema = z11.object({
477
477
  description: "API key with write access to portal (use `process.env` for security)"
478
478
  }),
479
479
  organization: slugSchema("Organization slug from Code PushUp portal"),
480
- project: slugSchema("Project slug from Code PushUp portal")
480
+ project: slugSchema("Project slug from Code PushUp portal"),
481
+ timeout: z11.number({ description: "Request timeout in minutes (default is 5)" }).positive().int().optional()
481
482
  });
482
483
 
483
484
  // packages/models/src/lib/core-config.ts
@@ -604,7 +605,7 @@ function pluginWorkDir(slug) {
604
605
  }
605
606
 
606
607
  // packages/utils/src/lib/git.ts
607
- import simpleGit from "simple-git";
608
+ import { simpleGit } from "simple-git";
608
609
  var git = simpleGit();
609
610
 
610
611
  // packages/utils/src/lib/progress.ts
@@ -614,7 +615,7 @@ import { MultiProgressBars } from "multi-progress-bars";
614
615
  // packages/utils/src/lib/reports/generate-stdout-summary.ts
615
616
  import cliui from "@isaacs/cliui";
616
617
  import chalk3 from "chalk";
617
- import Table from "cli-table3";
618
+ import CliTable3 from "cli-table3";
618
619
 
619
620
  // packages/utils/src/lib/transform.ts
620
621
  function toArray(val) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-pushup/eslint-plugin",
3
- "version": "0.8.24",
3
+ "version": "0.9.0",
4
4
  "dependencies": {
5
5
  "@code-pushup/utils": "*",
6
6
  "@code-pushup/models": "*",