From 565b1822b106a8b04db6ef23a717700d962d8946 Mon Sep 17 00:00:00 2001 From: leiyun Date: Tue, 4 Aug 2026 17:35:29 +0800 Subject: [PATCH] fix: approve pnpm build scripts for deploy --- pnpm-workspace.yaml | 6 +++--- restart.sh | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 4e768fe..a23eae0 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,3 @@ -onlyBuiltDependencies: - - esbuild - - vue-demi +allowBuilds: + esbuild: true + vue-demi: true diff --git a/restart.sh b/restart.sh index ae0709a..b28a201 100644 --- a/restart.sh +++ b/restart.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash +if [ -z "${BASH_VERSION:-}" ]; then + exec bash "$0" "$@" +fi + set -Eeuo pipefail APP_NAME="${APP_NAME:-pc_nuxt}"