@allurereport/charts-api 3.3.1 → 3.4.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 (2) hide show
  1. package/dist/types.d.ts +2 -0
  2. package/package.json +14 -25
package/dist/types.d.ts CHANGED
@@ -238,6 +238,8 @@ export type DurationsChartOptions = {
238
238
  export type StabilityDistributionChartOptions = {
239
239
  type: ChartType.StabilityDistribution;
240
240
  title?: string;
241
+ limit?: number;
242
+ stabilizationPeriod?: number;
241
243
  threshold?: number;
242
244
  skipStatuses?: TestStatus[];
243
245
  groupBy?: "feature" | "epic" | "story" | "suite" | "severity" | "owner" | `label-name:${string}`;
package/package.json CHANGED
@@ -1,53 +1,42 @@
1
1
  {
2
2
  "name": "@allurereport/charts-api",
3
- "version": "3.3.1",
3
+ "version": "3.4.0",
4
4
  "description": "Allure Charts API",
5
5
  "keywords": [
6
6
  "allure",
7
- "testing",
8
- "charts"
7
+ "charts",
8
+ "testing"
9
9
  ],
10
- "repository": "https://github.com/allure-framework/allure3",
11
10
  "license": "Apache-2.0",
12
11
  "author": "Qameta Software",
12
+ "repository": "https://github.com/allure-framework/allure3",
13
+ "files": [
14
+ "dist"
15
+ ],
13
16
  "type": "module",
14
- "exports": {
15
- ".": "./dist/index.js"
16
- },
17
17
  "main": "./dist/index.js",
18
18
  "module": "./dist/index.js",
19
19
  "types": "./dist/index.d.ts",
20
- "files": [
21
- "dist"
22
- ],
20
+ "exports": {
21
+ ".": "./dist/index.js"
22
+ },
23
23
  "scripts": {
24
24
  "build": "run clean && tsc --project ./tsconfig.json",
25
25
  "clean": "rimraf ./dist",
26
- "eslint": "eslint ./src/**/*.{js,jsx,ts,tsx}",
27
- "eslint:format": "eslint --fix ./src/**/*.{js,jsx,ts,tsx}"
26
+ "lint": "oxlint --import-plugin src test features stories",
27
+ "lint:fix": "oxlint --import-plugin --fix src test features stories"
28
28
  },
29
29
  "dependencies": {
30
- "@allurereport/core-api": "3.3.1",
31
- "@allurereport/plugin-api": "3.3.1",
30
+ "@allurereport/core-api": "3.4.0",
31
+ "@allurereport/plugin-api": "3.4.0",
32
32
  "d3-shape": "^3.2.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@stylistic/eslint-plugin": "^2.6.1",
36
35
  "@types/d3-shape": "^3.1.6",
37
- "@types/eslint": "^8.56.11",
38
36
  "@types/mime-types": "^2.1.4",
39
37
  "@types/node": "^20.17.9",
40
- "@typescript-eslint/eslint-plugin": "^8.0.0",
41
- "@typescript-eslint/parser": "^8.0.0",
42
38
  "@vitest/runner": "^2.1.9",
43
39
  "allure-vitest": "^3.3.3",
44
- "eslint": "^8.57.0",
45
- "eslint-config-prettier": "^9.1.0",
46
- "eslint-plugin-import": "^2.29.1",
47
- "eslint-plugin-jsdoc": "^50.0.0",
48
- "eslint-plugin-n": "^17.10.1",
49
- "eslint-plugin-no-null": "^1.0.2",
50
- "eslint-plugin-prefer-arrow": "^1.2.3",
51
40
  "rimraf": "^6.0.1",
52
41
  "ts-node": "^10.9.2",
53
42
  "tslib": "^2.7.0",