mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 16:41:08 +02:00
fix(apps/api): COPY packages/eslint-config in Dockerfile
Root package.json devDeps reference @mana/eslint-config (workspace:*). Even with `--filter @mana/api...`, pnpm resolves the root workspace manifest and chokes on the missing package. Copy eslint-config into the builder stage so the root resolves cleanly. Same pattern as the platform mana-auth Dockerfile already uses. Discovered while running the 8-Doppel-Cutover smoke test on Mac Mini: mana-api build failed with ERR_PNPM_WORKSPACE_PKG_NOT_FOUND. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
774852ba2d
commit
467d8339cc
1 changed files with 4 additions and 0 deletions
|
|
@ -42,6 +42,10 @@ COPY packages/shared-storage ./packages/shared-storage
|
|||
COPY packages/shared-types ./packages/shared-types
|
||||
COPY packages/shared-ai ./packages/shared-ai
|
||||
COPY packages/shared-rss ./packages/shared-rss
|
||||
# Root package.json devDeps reference @mana/eslint-config; pnpm filter
|
||||
# install still resolves the root, so the package needs to be present
|
||||
# even though apps/api itself doesn't import from it.
|
||||
COPY packages/eslint-config ./packages/eslint-config
|
||||
# `@mana/media-client` kommt seit dem 8-Doppel-Cutover (2026-05-08) aus
|
||||
# Verdaccio (`npm.mana.how`), nicht mehr als Workspace-COPY aus
|
||||
# `services/mana-media/packages/client/` (das Verzeichnis verschwindet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue