From c4a44a48c5e3960aaa88205112bd18149a166fb2 Mon Sep 17 00:00:00 2001 From: whyour Date: Thu, 2 Nov 2023 19:37:24 +0800 Subject: [PATCH] =?UTF-8?q?=20=E4=BD=BF=E7=94=A8=20npm=20=E5=AE=89?= =?UTF-8?q?=E8=A3=85=20pm2=20tsx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/Dockerfile | 3 +-- shell/check.sh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 1e5307fca2f..45fd4c190c4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -49,9 +49,8 @@ RUN set -x \ && git config --global user.email "qinglong@@users.noreply.github.com" \ && git config --global user.name "qinglong" \ && git config --global http.postBuffer 524288000 \ - && npm install -g pnpm@8.3.1 \ + && npm install -g pnpm@8.3.1 pm2 tsx \ && cd && pnpm config set registry https://registry.npmmirror.com \ - && pnpm add -g pm2 tsx \ && rm -rf /root/.pnpm-store \ && rm -rf /root/.local/share/pnpm/store \ && rm -rf /root/.cache \ diff --git a/shell/check.sh b/shell/check.sh index 3886c73f7e1..03f3d23746c 100755 --- a/shell/check.sh +++ b/shell/check.sh @@ -76,7 +76,7 @@ check_pm2() { main() { echo -e "=====> 开始检测" - npm i -g pnpm@8.3.1 + npm i -g pnpm@8.3.1 pm2 tsx patch_version if [[ $PipMirror ]]; then @@ -87,7 +87,6 @@ main() { pnpm install -g fi - pnpm add -g pm2 tsx reset_env copy_dep check_ql