@allurereport/plugin-allure2 3.0.1 → 3.1.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/dist/generators.js +3 -4
- package/package.json +4 -4
package/dist/generators.js
CHANGED
|
@@ -12,6 +12,9 @@ const template = `<!DOCTYPE html>
|
|
|
12
12
|
<meta charset="utf-8">
|
|
13
13
|
<title>{{reportName}}</title>
|
|
14
14
|
{{{ headTags }}}
|
|
15
|
+
<script>
|
|
16
|
+
window.allureReportOptions = {{{ reportOptions }}};
|
|
17
|
+
</script>
|
|
15
18
|
</head>
|
|
16
19
|
<body>
|
|
17
20
|
<svg id="__SVG_SPRITE_NODE__" aria-hidden="true" style="position: absolute; width: 0; height: 0"></svg>
|
|
@@ -38,9 +41,6 @@ const template = `<!DOCTYPE html>
|
|
|
38
41
|
});
|
|
39
42
|
</script>
|
|
40
43
|
{{/if}}
|
|
41
|
-
<script>
|
|
42
|
-
window.allureReportOptions = {{{ reportOptions }}};
|
|
43
|
-
</script>
|
|
44
44
|
{{{ reportFilesScript }}}
|
|
45
45
|
</body>
|
|
46
46
|
</html>
|
|
@@ -132,7 +132,6 @@ export const generateStaticFiles = async (payload) => {
|
|
|
132
132
|
if (err instanceof RangeError) {
|
|
133
133
|
console.error("The report is too large to be generated in the single file mode!");
|
|
134
134
|
process.exit(1);
|
|
135
|
-
return;
|
|
136
135
|
}
|
|
137
136
|
throw err;
|
|
138
137
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allurereport/plugin-allure2",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "The classic version of Allure HTML report",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"allure",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"test": "rimraf ./out && vitest run"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@allurereport/core-api": "3.0
|
|
34
|
-
"@allurereport/plugin-api": "3.0
|
|
35
|
-
"@allurereport/web-allure2": "3.0
|
|
33
|
+
"@allurereport/core-api": "3.1.0",
|
|
34
|
+
"@allurereport/plugin-api": "3.1.0",
|
|
35
|
+
"@allurereport/web-allure2": "3.1.0",
|
|
36
36
|
"handlebars": "^4.7.8"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|