fix: remove pnpm 10 --legacy flag from pnpm deploy in build-deb.sh

This commit is contained in:
Schwitzz
2026-10-30 13:02:05 -05:00
parent 6bc681df5f
commit 02b824b6ab
+1 -1
View File
@@ -27,7 +27,7 @@ mkdir -p \
"$STAGE_DIR/opt/pubscript/server/dist"
echo "==> [3/6] Deploying production server dependencies and bundling server entry..."
pnpm --filter @pubscript/server --prod deploy --legacy "$STAGE_DIR/opt/pubscript/server-runtime"
pnpm --filter @pubscript/server --prod deploy "$STAGE_DIR/opt/pubscript/server-runtime"
cp -a "$STAGE_DIR/opt/pubscript/server-runtime/node_modules" "$STAGE_DIR/opt/pubscript/node_modules"
rm -rf "$STAGE_DIR/opt/pubscript/server-runtime"