fix(mana-analytics): copy shared-logger into installer (transitive workspace dep)

shared-hono depends on @mana/shared-logger; without it, the bun runtime
crashes on first import with ENOENT for the workspace symlink target.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-27 00:52:33 +02:00
parent db01ddccc7
commit 5387681936

View file

@ -10,6 +10,7 @@ WORKDIR /app
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
COPY services/mana-analytics/package.json ./services/mana-analytics/
COPY packages/shared-hono ./packages/shared-hono
COPY packages/shared-logger ./packages/shared-logger
# Install only mana-analytics and its workspace deps
RUN pnpm install --filter @mana/analytics... --no-frozen-lockfile --ignore-scripts