From 412695841babf121101b812f5edf8f341f5be7b3 Mon Sep 17 00:00:00 2001 From: chan Date: Fri, 15 May 2026 11:37:39 +0900 Subject: [PATCH] fix(frontend): use pnpm with no-frozen-lockfile to bypass docker mount issues --- adminfront/scripts/runtime-mode.sh | 2 +- devfront/scripts/runtime-mode.sh | 2 +- orgfront/scripts/runtime-mode.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/adminfront/scripts/runtime-mode.sh b/adminfront/scripts/runtime-mode.sh index 95ba9e53..8f85dcac 100644 --- a/adminfront/scripts/runtime-mode.sh +++ b/adminfront/scripts/runtime-mode.sh @@ -61,7 +61,7 @@ ensure_frontend_dependencies() { echo "Installing frontend dependencies..." if [ "$WORKSPACE_DIR" = "/common" ]; then npm install -g pnpm - (cd /common && npm install --legacy-peer-deps --no-fund --no-audit) + (cd /common && rm -rf node_modules .pnpm-store && npm install -g pnpm && pnpm config set store-dir /root/.pnpm-store && CI=true pnpm install --no-frozen-lockfile --ignore-scripts) else npm ci fi diff --git a/devfront/scripts/runtime-mode.sh b/devfront/scripts/runtime-mode.sh index cfcb285f..03416cf9 100644 --- a/devfront/scripts/runtime-mode.sh +++ b/devfront/scripts/runtime-mode.sh @@ -61,7 +61,7 @@ ensure_frontend_dependencies() { echo "Installing frontend dependencies..." if [ "$WORKSPACE_DIR" = "/common" ]; then npm install -g pnpm - (cd /common && npm install --legacy-peer-deps --no-fund --no-audit) + (cd /common && rm -rf node_modules .pnpm-store && npm install -g pnpm && pnpm config set store-dir /root/.pnpm-store && CI=true pnpm install --no-frozen-lockfile --ignore-scripts) else npm ci fi diff --git a/orgfront/scripts/runtime-mode.sh b/orgfront/scripts/runtime-mode.sh index 7d35fd0b..ce9f7d74 100644 --- a/orgfront/scripts/runtime-mode.sh +++ b/orgfront/scripts/runtime-mode.sh @@ -61,7 +61,7 @@ ensure_frontend_dependencies() { echo "Installing frontend dependencies..." if [ "$WORKSPACE_DIR" = "/common" ]; then npm install -g pnpm - (cd /common && npm install --legacy-peer-deps --no-fund --no-audit) + (cd /common && rm -rf node_modules .pnpm-store && npm install -g pnpm && pnpm config set store-dir /root/.pnpm-store && CI=true pnpm install --no-frozen-lockfile --ignore-scripts) else npm ci fi