diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 4384e6aad..ca9e11697 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -16,15 +16,15 @@ Install pnpm: `npm install -g pnpm` Set the Electron mirror environment variable and install Electron: -* macOS/Linux: `ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@28.1.4 -D` +* macOS/Linux: `ELECTRON_MIRROR=https://registry.npmmirror.com/mirrors/electron/ pnpm install electron@28.1.4 -D` * Windows: - * `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/` + * `SET ELECTRON_MIRROR=https://registry.npmmirror.com/mirrors/electron/` * `pnpm install electron@28.1.4 -D` NPM mirror: -* Use npmmirror China mirror repository `pnpm --registry https://r.cnpmjs.org/ i` -* Revert to using official repository `pnpm --registry https://registry.npmjs.org i` +* Use npmmirror China mirror repository `pnpm --registry https://registry.npmmirror.com/ i` +* Revert to using official repository `pnpm --registry https://registry.npmmirror.com i` diff --git a/.github/CONTRIBUTING_zh_CN.md b/.github/CONTRIBUTING_zh_CN.md index ea0606fad..e095b1003 100644 --- a/.github/CONTRIBUTING_zh_CN.md +++ b/.github/CONTRIBUTING_zh_CN.md @@ -18,16 +18,16 @@ * macOS/Linux: ``` - ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install electron@28.1.4 -D + ELECTRON_MIRROR=https://registry.npmmirror.com/mirrors/electron/ pnpm install electron@28.1.4 -D ``` * Windows: - * `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/` + * `SET ELECTRON_MIRROR=https://registry.npmmirror.com/mirrors/electron/` * `pnpm install electron@28.1.4 -D` NPM 镜像: -* 使用 npmmirror 中国镜像仓库 `pnpm --registry https://r.cnpmjs.org/ i` -* 恢复使用官方仓库 `pnpm --registry https://registry.npmjs.org i` +* 使用 npmmirror 中国镜像仓库 `pnpm --registry https://registry.npmmirror.com/ i` +* 恢复使用官方仓库 `pnpm --registry https://registry.npmmirror.com i` 桌面端进入 app 文件夹运行: