Merge pull request #3145 from npmmirror/master

Update https://registry.npm.taobao.org to https://registry.npmmirror.com
This commit is contained in:
Shao Yu-Lung (Allen) 2022-02-15 19:51:17 +08:00 committed by GitHub
commit e032d58f3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -97,7 +97,7 @@ In China, the origin source of composer and npm is very slow. You can add `WORKS
Example:
```bash
WORKSPACE_NPM_REGISTRY=https://registry.npm.taobao.org
WORKSPACE_NPM_REGISTRY=https://registry.npmmirror.com
WORKSPACE_COMPOSER_REPO_PACKAGIST=https://packagist.phpcomposer.com
```

View File

@ -81,9 +81,9 @@ CHANGE_SOURCE=true
# composer镜像源
WORKSPACE_COMPOSER_REPO_PACKAGIST=https://mirrors.aliyun.com/composer/
# nvm镜像源
WORKSPACE_NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node
WORKSPACE_NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node
# npm镜像源
WORKSPACE_NPM_REGISTRY=https://registry.npm.taobao.org
WORKSPACE_NPM_REGISTRY=https://registry.npmmirror.com
```
3. 运行这些容器。