From 39a6f42209124c9b93163aea32f32092fa0d486d Mon Sep 17 00:00:00 2001 From: Till JS Date: Mon, 27 Apr 2026 14:27:18 +0200 Subject: [PATCH] fix(mana-credits): correct pnpm workspace filter (@mana/credits-service, not @mana/credits) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Build was succeeding-by-luck because the wrong filter resolved to nothing → pnpm installed all workspace deps. After Phase 3.A added the new grant route, the install pruning must have changed enough that the build started failing with /app/node_modules: not found. Fix the filter to match the real package name. Co-Authored-By: Claude Opus 4.7 (1M context) --- services/mana-credits/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/services/mana-credits/Dockerfile b/services/mana-credits/Dockerfile index 06be68349..498ba67e0 100644 --- a/services/mana-credits/Dockerfile +++ b/services/mana-credits/Dockerfile @@ -12,8 +12,10 @@ COPY packages/shared-hono ./packages/shared-hono COPY packages/shared-logger ./packages/shared-logger COPY packages/shared-types ./packages/shared-types -# Install only mana-credits and its workspace deps -RUN pnpm install --filter @mana/credits... --no-frozen-lockfile --ignore-scripts +# Install only mana-credits-service and its workspace deps. +# Note the suffix — the workspace name is `@mana/credits-service`, not +# `@mana/credits` (which is a different package under packages/credits). +RUN pnpm install --filter @mana/credits-service... --no-frozen-lockfile --ignore-scripts # Runtime stage: bun FROM oven/bun:1 AS production