NPM Mirror Bot 2022-02-12 03:59:23 +00:00
parent 01ab8c7d1e
commit 4b774583b4
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. 运行这些容器。