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

View File

@ -1,14 +1,14 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" href="/install/favicon.ico" /> <link rel="icon" href="/install/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BuildAdmin-安装</title> <title>BuildAdmin-安装</title>
<script type="module" crossorigin src="/install/assets/index.js"></script> <script type="module" crossorigin src="/install/assets/index.js"></script>
<link rel="stylesheet" crossorigin href="/install/assets/index.css"> <link rel="stylesheet" crossorigin href="/install/assets/index.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
</body> </body>
</html> </html>