Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update npm.taobao.org to npmmirror.com #6824

Merged
merged 1 commit into from Nov 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/guide/creating-a-project.md
Expand Up @@ -28,7 +28,7 @@ If you chose to manually select features, at the end of the prompts you also hav
::: tip ~/.vuerc
Saved presets will be stored in a JSON file named `.vuerc` in your user home directory. If you wish to modify saved presets / options, you can do so by editing this file.

During the project creation process, you may also be prompted to select a preferred package manager, or use the [Taobao npm registry mirror](https://npm.taobao.org/) for faster dependency installation. Your choices will also be saved in `~/.vuerc`.
During the project creation process, you may also be prompted to select a preferred package manager, or use the [Taobao npm registry mirror](https://npmmirror.com/) for faster dependency installation. Your choices will also be saved in `~/.vuerc`.
:::

The `vue create` command has a number of options and you can explore them all by running:
Expand Down
2 changes: 1 addition & 1 deletion docs/ru/guide/creating-a-project.md
Expand Up @@ -28,7 +28,7 @@ vue create hello-world
::: tip ~/.vuerc
Создаваемые пресеты сохраняются в JSON-файле `.vuerc` в домашнем каталоге вашего пользователя. Если вы захотите изменить сохранённые пресеты / настройки, можете это сделать отредактировав этот файл.

В процессе создания проекта, также может быть предложено выбрать предпочитаемый менеджер пакетов или использовать [Taobao зеркало для npm регистра](https://npm.taobao.org/), чтобы ускорить установку зависимостей. Этот выбор также будет сохранён в `~/.vuerc`.
В процессе создания проекта, также может быть предложено выбрать предпочитаемый менеджер пакетов или использовать [Taobao зеркало для npm регистра](https://npmmirror.com/), чтобы ускорить установку зависимостей. Этот выбор также будет сохранён в `~/.vuerc`.
:::

Команда `vue create` предоставляет множество опций — вы можете изучить их все выполнив:
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/guide/creating-a-project.md
Expand Up @@ -27,7 +27,7 @@ vue create hello-world
::: tip ~/.vuerc
被保存的 preset 将会存在用户的 home 目录下一个名为 `.vuerc` 的 JSON 文件里。如果你想要修改被保存的 preset / 选项,可以编辑这个文件。

在项目创建的过程中,你也会被提示选择喜欢的包管理器或使用[淘宝 npm 镜像源](https://npm.taobao.org/)以更快地安装依赖。这些选择也将会存入 `~/.vuerc`。
在项目创建的过程中,你也会被提示选择喜欢的包管理器或使用[淘宝 npm 镜像源](https://npmmirror.com/)以更快地安装依赖。这些选择也将会存入 `~/.vuerc`。
:::

`vue create` 命令有一些可选项,你可以通过运行以下命令进行探索:
Expand Down
2 changes: 1 addition & 1 deletion packages/@vue/cli/lib/util/registries.js
@@ -1,7 +1,7 @@
const registries = {
npm: 'https://registry.npmjs.org',
yarn: 'https://registry.yarnpkg.com',
taobao: 'https://registry.npm.taobao.org',
taobao: 'https://registry.npmmirror.com',
pnpm: 'https://registry.npmjs.org'
}

Expand Down