refactor(Terminal):设置 NPM 源的命令名称调整

This commit is contained in:
妙码生花 2024-09-09 16:42:06 +08:00
parent a8f364cd4d
commit 10d3eb2494
4 changed files with 16 additions and 16 deletions

View File

@ -121,8 +121,8 @@ return [
'command' => 'nr build', 'command' => 'nr build',
], ],
], ],
// 设置 // 设置 NPM
'set-registry' => [ 'set-npm-registry' => [
'npm' => 'npm config set registry https://registry.npmjs.org/ && npm config get registry', 'npm' => 'npm config set registry https://registry.npmjs.org/ && npm config get registry',
'taobao' => 'npm config set registry https://registry.npmmirror.com/ && npm config get registry', 'taobao' => 'npm config set registry https://registry.npmmirror.com/ && npm config get registry',
'tencent' => 'npm config set registry https://mirrors.cloud.tencent.com/npm/ && npm config get registry' 'tencent' => 'npm config set registry https://mirrors.cloud.tencent.com/npm/ && npm config get registry'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long