From 54286cf212b018d9762b324b6e55c5b4f7e95cae Mon Sep 17 00:00:00 2001 From: whyour Date: Mon, 25 Dec 2023 22:10:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20qinglong=20=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=20npm=20=E9=BB=98=E8=AE=A4=E9=95=9C=E5=83=8F=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/start.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/shell/start.sh b/shell/start.sh index e78cd01f..0ec300c4 100644 --- a/shell/start.sh +++ b/shell/start.sh @@ -57,7 +57,6 @@ else fi npm install -g pnpm@8.3.1 -cd && pnpm config set registry https://registry.npmmirror.com pnpm add -g pm2 tsx cd ${QL_DIR} @@ -75,15 +74,6 @@ fix_config pm2 l &>/dev/null patch_version -if [[ $PipMirror ]]; then - pip3 config set global.index-url $PipMirror -fi -current_npm_registry=$(cd && pnpm config get registry) -is_equal_registry=$(echo $current_npm_registry | grep "${NpmMirror}") -if [[ "$is_equal_registry" == "" ]]; then - cd && pnpm config set registry $NpmMirror - pnpm install -g -fi reload_pm2