@allurereport/summary 3.21.0 → 3.22.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.d.ts +0 -2
- package/dist/generators.js +0 -4
- package/dist/static/report.tar +0 -0
- package/package.json +12 -10
package/dist/generators.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { PluginSummary } from "@allurereport/plugin-api";
|
|
2
|
-
export type TemplateManifest = Record<string, string>;
|
|
3
|
-
export declare const readTemplateManifest: () => Promise<TemplateManifest>;
|
|
4
2
|
export declare const generateSummaryStaticFiles: (payload: {
|
|
5
3
|
summaries: PluginSummary[];
|
|
6
4
|
}) => Promise<string>;
|
package/dist/generators.js
CHANGED
|
@@ -23,10 +23,6 @@ const template = `<!DOCTYPE html>
|
|
|
23
23
|
</body>
|
|
24
24
|
</html>
|
|
25
25
|
`;
|
|
26
|
-
export const readTemplateManifest = async () => {
|
|
27
|
-
const { manifest } = await readReportStaticAssets(reportStaticArchive);
|
|
28
|
-
return manifest;
|
|
29
|
-
};
|
|
30
26
|
export const generateSummaryStaticFiles = async (payload) => {
|
|
31
27
|
const compile = Handlebars.compile(template);
|
|
32
28
|
const staticAssets = await readReportStaticAssets(reportStaticArchive);
|
package/dist/static/report.tar
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allurereport/summary",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0",
|
|
4
4
|
"description": "Allure Summary Plugin – dashboard page generator with charts for Allure Report",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"allure",
|
|
@@ -25,26 +25,28 @@
|
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "run clean && tsc --project ./tsconfig.json && node ../../scripts/pack-report-static.mjs ../web-summary/dist/multi ./dist/static/report.tar",
|
|
27
27
|
"clean": "rimraf ./dist",
|
|
28
|
-
"test": "rimraf
|
|
28
|
+
"test": "rimraf out && vp test run",
|
|
29
29
|
"test:unit": "yarn test",
|
|
30
|
-
"lint": "
|
|
31
|
-
"lint:fix": "
|
|
30
|
+
"lint": "vp lint --import-plugin src test features stories",
|
|
31
|
+
"lint:fix": "vp lint --import-plugin --fix src test features stories"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@allurereport/core-api": "3.
|
|
35
|
-
"@allurereport/plugin-api": "3.
|
|
34
|
+
"@allurereport/core-api": "3.22.0",
|
|
35
|
+
"@allurereport/plugin-api": "3.22.0",
|
|
36
36
|
"handlebars": "4.7.10"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@allurereport/
|
|
40
|
-
"@allurereport/web-summary": "3.
|
|
39
|
+
"@allurereport/common-config": "3.22.0",
|
|
40
|
+
"@allurereport/web-summary": "3.22.0",
|
|
41
41
|
"@types/node": "^20",
|
|
42
|
-
"@vitest/coverage-istanbul": "
|
|
42
|
+
"@vitest/coverage-istanbul": "5.0.4",
|
|
43
43
|
"@vitest/runner": "^2",
|
|
44
44
|
"allure-js-commons": "^3",
|
|
45
45
|
"allure-vitest": "^3",
|
|
46
46
|
"rimraf": "^6",
|
|
47
47
|
"typescript": "^5",
|
|
48
|
-
"
|
|
48
|
+
"vite": "@voidzero-dev/vite-plus-core@1.2.0",
|
|
49
|
+
"vite-plus": "1.2.0",
|
|
50
|
+
"vitest": "5.0.4"
|
|
49
51
|
}
|
|
50
52
|
}
|