FN-8372: fix html2canvas dependency resolution

Allow the dashboard screenshot utility to resolve its bundled html2canvas types.

- Declare html2canvas with the compatible caret range in dashboard metadata.
- Add a patch changeset documenting the dashboard build fix.

Files changed:
 .changeset/fn-8372-html2canvas.md | 7 +++++++
 packages/dashboard/package.json   | 2 +-
 pnpm-lock.yaml                    | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

Fusion-Task-Id: FN-8372

Fusion-Task-Lineage: ca4d2ff6-7c23-474a-a271-ff7d329b4bbe

Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
This commit is contained in:
gsxdsm
2026-07-19 16:21:56 -07:00
parent c77488e0fa
commit d768501274
3 changed files with 9 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
---
"@runfusion/fusion": patch
---
summary: Fix dashboard build failure caused by missing html2canvas dependency.
category: fix
dev: Add html2canvas@^1.4.1 to @fusion/dashboard deps (bundled types) so app/utils/capture-screenshot.ts resolves.

View File

@@ -133,7 +133,7 @@
"@xyflow/react": "^12.11.0",
"archiver": "^7.0.1",
"express": "^5.1.0",
"html2canvas": "1.4.1",
"html2canvas": "^1.4.1",
"i18next": "^26.3.1",
"i18next-browser-languagedetector": "^8.2.1",
"i18next-resources-to-backend": "^1.2.1",

2
pnpm-lock.yaml generated
View File

@@ -333,7 +333,7 @@ importers:
specifier: ^5.1.0
version: 5.2.1
html2canvas:
specifier: 1.4.1
specifier: ^1.4.1
version: 1.4.1
i18next:
specifier: ^26.3.1