使用 npm 安装 pm2 tsx

This commit is contained in:
whyour 2023-11-02 19:37:24 +08:00
parent d2fef75e01
commit c4a44a48c5
2 changed files with 2 additions and 4 deletions

View File

@ -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 \

View File

@ -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