Skip to content

Commit

Permalink
使用 npm 安装 pm2 tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
whyour committed Nov 2, 2023
1 parent d2fef75 commit c4a44a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
3 changes: 1 addition & 2 deletions shell/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -87,7 +87,6 @@ main() {
pnpm install -g
fi

pnpm add -g pm2 tsx
reset_env
copy_dep
check_ql
Expand Down

0 comments on commit c4a44a4

Please sign in to comment.