fix(build): build frontend image from repo root so backend type imports resolve

↗ view on GitHub · terpstra-209 · 2026-08-24 · 68719b5c

frontend/src/app/components/shared/types.ts reaches into ../../../../../backend
for shared types. Building with context: ./frontend never had backend/ in the
image, so those imports silently degraded to any and next build failed on the
first implicit-any it hit. Build from repo root and mirror the layout instead.
LOCAL PATCH (not upstream).
Repository terpstra-209/mike
Author terpstra-209 <261108509+terpstra-209@users.noreply.github.com>
Authored
Committed
Parents 45d8ff3d
Stats 2 files changed , +16 , -4
Part of Build frontend with backend type sources

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-68719b5c.md from inside the repo you want the change in.

⬇ Download capture-commit-68719b5c.md