From f66e6412af89e595ac691b70a1daf89ef5ce0d5d Mon Sep 17 00:00:00 2001 From: Greper Date: Thu, 3 Oct 2024 23:41:57 +0800 Subject: [PATCH] =?UTF-8?q?pref:=20=E4=BC=98=E5=8C=96start.sh=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/start.sh b/start.sh index 3b783012..5c625eda 100755 --- a/start.sh +++ b/start.sh @@ -1,5 +1,5 @@ - # +set -e echo "即将删除packages下除ui之外的其他目录,按y确认" read -p "y/n: " confirm if [ $confirm != "y" ]; then @@ -11,9 +11,9 @@ find ./packages -mindepth 1 -maxdepth 1 -type d ! -name 'ui' -exec rm -rf {} + echo "删除成功" echo "安装pnpm 8.15.7, 前提是已经安装了nodejs" -npm install -g pnpm@8.15.7 +npm install -g pnpm@8.15.7 --registry https://registry.npmmirror.com echo "安装依赖" -pnpm install +pnpm install --registry https://registry.npmmirror.com echo "开始构建" echo "构建certd-client"