The default registry reads as such with the host pnpm names, the mirror carries its host too, and no line under them repeats it or describes the order the Host would ask; the order shows only as the Host asks it.
517 B
517 B
- group "从哪个 npm 源下载插件":
- radio "默认安装源(registry.npmjs.org)"
- text: 默认安装源(registry.npmjs.org)
- radio "中国大陆镜像源(registry.npmmirror.com)" [checked]
- text: 中国大陆镜像源(registry.npmmirror.com)
- radio "自定义地址"
- text: 自定义地址
- textbox "自定义地址" [disabled]:
- /placeholder: https://npm.example.com/
- text: 公司内网或私有 npm 源;需要登录的源,把凭据放在本机的 ~/.npmrc 里