@allurereport/web-summary 3.8.2 → 3.10.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.
@@ -1,3 +1,3 @@
1
1
  {
2
- "main.js": "app-72ae48c07f80133f2ed4.js"
2
+ "main.js": "app-84de054859fc8311c8fc.js"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allurereport/web-summary",
3
- "version": "3.8.2",
3
+ "version": "3.10.0",
4
4
  "description": "The static files for Allure Report Summary",
5
5
  "keywords": [
6
6
  "allure",
@@ -23,9 +23,9 @@
23
23
  "lint:fix": "oxlint --import-plugin --fix src test features stories"
24
24
  },
25
25
  "dependencies": {
26
- "@allurereport/core-api": "3.8.2",
27
- "@allurereport/web-commons": "3.8.2",
28
- "@allurereport/web-components": "3.8.2",
26
+ "@allurereport/core-api": "3.10.0",
27
+ "@allurereport/web-commons": "3.10.0",
28
+ "@allurereport/web-components": "3.10.0",
29
29
  "@preact/signals": "^2.6.1",
30
30
  "clsx": "^2.1.1",
31
31
  "i18next": "^24.0.2",
@@ -40,7 +40,7 @@
40
40
  "@preact/compat": "^18.3.1",
41
41
  "@types/babel__core": "^7.20.5",
42
42
  "@types/md5": "^2.3.5",
43
- "@types/node": "^20.17.9",
43
+ "@types/node": "^20",
44
44
  "autoprefixer": "^10.4.20",
45
45
  "babel-loader": "^9.2.1",
46
46
  "css-loader": "^7.1.2",
@@ -49,16 +49,16 @@
49
49
  "html-webpack-plugin": "^5.6.3",
50
50
  "mini-css-extract-plugin": "^2.9.1",
51
51
  "npm-run-all2": "^7.0.1",
52
- "postcss": "^8.5.6",
53
- "rimraf": "^6.0.1",
52
+ "postcss": "^8.5.10",
53
+ "rimraf": "^6",
54
54
  "sass": "^1.79.1",
55
55
  "sass-loader": "^16.0.1",
56
56
  "style-loader": "^4.0.0",
57
57
  "svg-sprite-loader": "^6.0.11",
58
- "typescript": "^5.6.3",
58
+ "typescript": "^5",
59
59
  "webpack": "^5.99.9",
60
60
  "webpack-cli": "^5.1.4",
61
- "webpack-dev-server": "^5.2.2",
61
+ "webpack-dev-server": "^5.2.4",
62
62
  "webpack-manifest-plugin": "^5.0.0"
63
63
  },
64
64
  "browserslist": [
@@ -1,7 +1,9 @@
1
- @import "vars.scss";
2
- @import "fonts.scss";
3
- @import "day.scss";
4
- @import "night.scss";
5
- @import "theme.scss";
6
- @import "palette.scss";
1
+ @import "../../../../web-components/src/assets/scss/fonts.scss";
2
+ @import "../../../../web-components/src/assets/scss/typography.scss";
3
+ @import "../../../../web-components/src/assets/scss/palette.scss";
4
+ @import "../../../../web-components/src/assets/scss/semantic.scss";
5
+ @import "../../../../web-components/src/assets/scss/spacing.scss";
6
+ @import "../../../../web-components/src/assets/scss/radius.scss";
7
+ @import "../../../../web-components/src/assets/scss/effects.scss";
8
+ @import "../../../../web-components/src/assets/scss/motion.scss";
7
9
  @import "common.scss";
package/types.d.ts CHANGED
@@ -12,6 +12,23 @@ import type {
12
12
 
13
13
  export type Layout = "base" | "split";
14
14
 
15
+ export type AwesomeRunSummary = {
16
+ start: number;
17
+ stop: number;
18
+ duration: number;
19
+ };
20
+
21
+ export type AwesomeExecutorInfo = {
22
+ name?: string;
23
+ type?: string;
24
+ url?: string;
25
+ buildOrder?: number;
26
+ buildName?: string;
27
+ buildUrl?: string;
28
+ reportName?: string;
29
+ reportUrl?: string;
30
+ };
31
+
15
32
  export type AwesomeReportOptions = {
16
33
  allureVersion: string;
17
34
  reportName?: string;
@@ -22,6 +39,8 @@ export type AwesomeReportOptions = {
22
39
  createdAt: number;
23
40
  reportUuid: string;
24
41
  layout?: Layout;
42
+ executor?: AwesomeExecutorInfo;
43
+ runSummary?: AwesomeRunSummary;
25
44
  };
26
45
 
27
46
  export type AwesomeFixtureResult = Omit<
@@ -97,4 +116,4 @@ export type AwesomeRecursiveTree = DefaultTreeGroup & {
97
116
  // TODO: add worst status
98
117
  export type AwesomeTestResultGroup = Pick<AwesomeTestResult, "name" | "fullName" | "groupOrder"> & {
99
118
  testResults: AwesomeTestResult[];
100
- }
119
+ };
package/webpack.config.js CHANGED
@@ -1,11 +1,14 @@
1
- import ForkTsCheckerPlugin from "fork-ts-checker-webpack-plugin";
2
- import HtmlWebpackPlugin from "html-webpack-plugin";
3
- import MiniCssExtractPlugin from "mini-css-extract-plugin";
1
+ import { createRequire } from "node:module";
4
2
  import { dirname, join } from "node:path";
5
3
  import { fileURLToPath } from "node:url";
6
- import SpriteLoaderPlugin from "svg-sprite-loader/plugin.js";
7
- import webpack from "webpack";
8
- import { WebpackManifestPlugin } from "webpack-manifest-plugin";
4
+
5
+ const require = createRequire(import.meta.url);
6
+ const ForkTsCheckerPlugin = require("fork-ts-checker-webpack-plugin");
7
+ const HtmlWebpackPlugin = require("html-webpack-plugin");
8
+ const MiniCssExtractPlugin = require("mini-css-extract-plugin");
9
+ const SpriteLoaderPlugin = require("svg-sprite-loader/plugin");
10
+ const webpack = require("webpack");
11
+ const { WebpackManifestPlugin } = require("webpack-manifest-plugin");
9
12
 
10
13
  const baseDir = dirname(fileURLToPath(import.meta.url));
11
14