stable
Clone or download
Read-only
In order to avoid DRY between TestPlan and DocGen, we should have common stuff in a dedicated library. This will be mostly useful for artifact generation. As a baby step, this contribution only export the image loader. No functional changes are expected: * Test plan document has a cover page with the platform logo * Tracker report document has a cover page with the platform logo and images in the exported artifacts Part story #23462: export test plan as a docx document Change-Id: I3ba1f0d4e2fb821412fbf3212bb67d10b4baab9a
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/document_generation/package.json | +1 | −0 | Go to diff View file |
M | plugins/document_generation/pnpm-lock.yaml | +2 | −0 | Go to diff View file |
A | plugins/document_generation/scripts/lib/docx/.gitignore | +1 | −0 | Go to diff View file |
R | plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/Image/image-loader.ts | Go to diff View file | ||
A | plugins/document_generation/scripts/lib/docx/package.json | +21 | −0 | Go to diff View file |
A | plugins/document_generation/scripts/lib/docx/pnpm-lock.yaml | +119 | −0 | Go to diff View file |
R | plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/Image/image-loader.test.ts | Go to diff View file | ||
R | plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/Image/image-loader.ts | Go to diff View file | ||
R | plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/Image/image-transformation.test.ts | Go to diff View file | ||
R | plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/Image/image-transformation.ts | Go to diff View file | ||
A | plugins/document_generation/scripts/lib/docx/src/index.ts | +20 | −0 | Go to diff View file |
A | plugins/document_generation/scripts/lib/docx/vite.config.ts | +43 | −0 | Go to diff View file |
M | plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/transform-html-into-paragraphs.test.ts | +1 | −1 | Go to diff View file |
M | plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/TextContent/transform-html-into-paragraphs.ts | +1 | −1 | Go to diff View file |
M | plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/download-docx.test.ts | +1 | −1 | Go to diff View file |
M | plugins/document_generation/scripts/tracker-report-action/src/Exporter/DOCX/download-docx.ts | +1 | −1 | Go to diff View file |
M | plugins/document_generation/vite.config.ts | +3 | −0 | Go to diff View file |
M | plugins/testplan/package.json | +1 | −0 | Go to diff View file |
M | plugins/testplan/pnpm-lock.yaml | +2 | −0 | Go to diff View file |
D | plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/Image/image-loader.test.ts | +0 | −46 | Go to diff View file |
D | plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/Image/image-transformation.test.ts | +0 | −47 | Go to diff View file |
D | plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/Image/image-transformation.ts | +0 | −54 | Go to diff View file |
M | plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/cover-builder.test.ts | +1 | −1 | Go to diff View file |
M | plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/cover-builder.ts | +1 | −1 | Go to diff View file |
M | plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Exporter/DOCX/download-docx.test.ts | +1 | −1 | Go to diff View file |
M | plugins/testplan/webpack.common.js | +3 | −0 | Go to diff View file |