npm-regist
查看版本
bash
$ npm view @walle/menu-react versions --registry=http://nexus.istr.cn/repository/npm-flight-fe/
[
'0.0.6-beta.0',
'0.0.6',
'0.0.7'
]yarn config set npmRegistryServer http://nexus.istr.cn/repository/npm-all/yarn 4配置
.yarnrc.yml
yaml
npmRegistryServer: "http://nexus.istr.cn/repository/npm-all/"
npmScopes:
"@walle":
npmRegistryServer: "http://nexus.istr.cn/repository/npm-flight-fe/"