chore: update to pnpm 12 (#2843)

This commit is contained in:
Alex
2026-10-04 12:13:40 +00:00
committed by GitHub
parent 3c8c3987b8
commit 54b5562c2a
7 changed files with 185 additions and 32 deletions
+12 -7
View File
@@ -35,15 +35,20 @@ services:
- ./shared/bookdrop:/bookdrop
frontend:
image: node:24-alpine
command: |-
sh -c "\
cd /workspace &&\
npm install -g pnpm@11.19.0 &&\
pnpm config set store-dir /workspace/node_modules/.pnpm-store &&\
pnpm install --frozen-lockfile --ignore-scripts &&\
pnpm -C frontend exec ng serve --host 0.0.0.0 --watch --configuration development"
command:
- sh
- -ec
- |
cd /workspace
export PATH="$${PNPM_HOME}/bin:$${PATH}"
PNPM_VERSION="$$(node -p "require('./package.json').packageManager.split('@')[1]")"
ENV="/root/.shrc" SHELL="/bin/sh" npx --yes get-pnpm "$${PNPM_VERSION}"
pnpm install --frozen-lockfile --ignore-scripts
pnpm -C frontend exec ng serve --host 0.0.0.0 --watch --configuration development
environment:
- NODE_ENV=development
- PNPM_HOME=/pnpm
- PNPM_CONFIG_STORE_DIR=/workspace/node_modules/.pnpm-store
stdin_open: true
tty: true
restart: unless-stopped