fix: remove pnpm 10 --legacy flag from pnpm deploy in build-deb.sh
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user