mirror of
https://github.com/hanzoai/desktop.git
synced 2026-10-30 14:58:42 +00:00
Point the desktop wallet stack at the canonical published @luxwallet/store (replaces the file-linked @luxwallet/core): import swaps in store/keychain, and inline the SIWx (CAIP-122/EIP-191) flow + web3 session store, which the store package deliberately does not ship (SIWx lives in @luxwallet/connect).
Drop the @hanzo/ui-shadcn alias entirely: its @hookform/resolvers@^3.3.2 peer conflicted with the root ^5.4.0, the ERESOLVE that hard-failed the mac release leg's npm ci. Vendor the two consumed subpaths (network switcher + wallet menu, 7 symbols) into libs/hanzo-ui/src/{network,wallet}, repoint the 5 consumers, and follow with the Tailwind @source globs.
Regenerate package-lock.json so every @luxwallet/* resolves from the npm registry — the committed lock's file:../../luxwallet/* links could never install on a CI runner.
Co-authored-by: Hanzo Dev <[email protected]>
e2e-tests — frontend smoke (NOT Tauri E2E)
These Playwright specs load the Vite dev frontend (http://localhost:1420)
in headless Chromium. There is no Tauri runtime and no IPC here — they smoke
test UI rendering only (page.goto(...), not the native app).
Run: pnpm test:smoke (needs the dev server up: pnpm dev).
The real end-to-end suite — which launches the actual hanzo-desktop
binary and drives the native webview over WebDriver (tauri-driver +
WebdriverIO) — lives in ../e2e. Run it with pnpm test:e2e.
| script | drives | dir |
|---|---|---|
pnpm test:smoke |
Vite frontend in Chromium (no IPC) | e2e-tests/ |
pnpm test:e2e |
real native Tauri app (real IPC) | e2e/ |