mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 14:56:07 +08:00
修改pnpm安装源
This commit is contained in:
parent
3c5925ff67
commit
1b88853a8d
|
@ -212,11 +212,11 @@ fix_config() {
|
|||
|
||||
npm_install_sub() {
|
||||
if [[ $is_termux -eq 1 ]]; then
|
||||
npm install --production --no-save --no-bin-links --registry=https://registry.npm.taobao.org || npm install --production --no-bin-links --no-save
|
||||
npm install --production --no-bin-links --registry=https://registry.npm.taobao.org || npm install --production --no-bin-links
|
||||
elif ! type pnpm &>/dev/null; then
|
||||
npm install --production --no-save --registry=https://registry.npm.taobao.org || npm install --production --no-save
|
||||
npm install --production --registry=https://registry.npm.taobao.org || npm install --production
|
||||
else
|
||||
pnpm install --prod
|
||||
pnpm install --production --registry=https://registry.npm.taobao.org || pnpm install --production
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user