---
id: TASK-24
title: Add infrastructure dependencies for shape migration
status: Done
assignee: []
created_date: '2026-02-18 19:49'
updated_date: '2026-03-12 04:50'
labels:
  - infrastructure
  - phase-1
milestone: m-0
dependencies: []
priority: high
---

## Description

<!-- SECTION:DESCRIPTION:BEGIN -->
Install npm dependencies required by shapes being ported from canvas-website:
- h3-js (HolonShape geospatial)
- @xterm/xterm + @xterm/addon-fit (Multmux terminal)
- safe-apps-sdk or ethers (TransactionBuilder, if needed)

Also verify existing deps like perfect-freehand are sufficient for Drawfast.
<!-- SECTION:DESCRIPTION:END -->

## Acceptance Criteria
<!-- AC:BEGIN -->
- [x] #1 All required npm packages installed
- [x] #2 No build errors after adding dependencies
- [x] #3 WASM plugins configured if needed (h3-js)
<!-- AC:END -->

## Implementation Notes

<!-- SECTION:NOTES:BEGIN -->
**2026-03-11:** Installed h3-js, @xterm/xterm, @xterm/addon-fit. vite.config.ts already has wasm() plugin. perfect-freehand and perfect-arrows already installed. ethers/safe-apps-sdk NOT needed (TASK-37 uses rwallet API). Build passes (pre-existing TS error in rcart unrelated).
<!-- SECTION:NOTES:END -->
