Yarn 显示配置信息的命令为: yarn config
我们使用上面的命令,比较关注的是仓库下载的地址。
├─ npmRegistryServer
│ ├─ Description: URL of the selected npm registry (note: npm enterprise isn't supported)
│ ├─ Source: D:\WorkDir\Repository\iSharkfly-Docs\Docs\docs-isharkfly-com\.yarnrc.yml
│ └─ Value: 'https://repo.isharkfly.com/repository/npm/'
│
希望通过上面的配置信息来了解下下载依赖使用的仓库的路径。