mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
使用 npm 安装 pm2 tsx
This commit is contained in:
parent
d2fef75e01
commit
c4a44a48c5
|
@ -49,9 +49,8 @@ RUN set -x \
|
||||||
&& git config --global user.email "qinglong@@users.noreply.github.com" \
|
&& git config --global user.email "qinglong@@users.noreply.github.com" \
|
||||||
&& git config --global user.name "qinglong" \
|
&& git config --global user.name "qinglong" \
|
||||||
&& git config --global http.postBuffer 524288000 \
|
&& 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 \
|
&& cd && pnpm config set registry https://registry.npmmirror.com \
|
||||||
&& pnpm add -g pm2 tsx \
|
|
||||||
&& rm -rf /root/.pnpm-store \
|
&& rm -rf /root/.pnpm-store \
|
||||||
&& rm -rf /root/.local/share/pnpm/store \
|
&& rm -rf /root/.local/share/pnpm/store \
|
||||||
&& rm -rf /root/.cache \
|
&& rm -rf /root/.cache \
|
||||||
|
|
|
@ -76,7 +76,7 @@ check_pm2() {
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
echo -e "=====> 开始检测"
|
echo -e "=====> 开始检测"
|
||||||
npm i -g pnpm@8.3.1
|
npm i -g pnpm@8.3.1 pm2 tsx
|
||||||
patch_version
|
patch_version
|
||||||
|
|
||||||
if [[ $PipMirror ]]; then
|
if [[ $PipMirror ]]; then
|
||||||
|
@ -87,7 +87,6 @@ main() {
|
||||||
pnpm install -g
|
pnpm install -g
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pnpm add -g pm2 tsx
|
|
||||||
reset_env
|
reset_env
|
||||||
copy_dep
|
copy_dep
|
||||||
check_ql
|
check_ql
|
||||||
|
|
Loading…
Reference in New Issue
Block a user