Add CI check for missing workspace packages in Dockerfiles
Adds a script that verifies every packages/*/package.json is listed in all app Dockerfiles. Catches the recurring issue where adding a new workspace package breaks production because the Dockerfile deps stage doesn't know about it. Also fixes two pre-existing missing packages in the planner Dockerfile (api, map-core) caught by the new check. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
fe57a690c0
commit
7c207a2a98
3 changed files with 36 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ COPY packages/ui/package.json packages/ui/
|
|||
COPY packages/map/package.json packages/map/
|
||||
COPY packages/gpx/package.json packages/gpx/
|
||||
COPY packages/i18n/package.json packages/i18n/
|
||||
COPY packages/api/package.json packages/api/
|
||||
COPY packages/map-core/package.json packages/map-core/
|
||||
COPY packages/db/package.json packages/db/
|
||||
COPY packages/jobs/package.json packages/jobs/
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue