Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Update npm mirror

Daniel05fad5f0310c
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 4384e6aad7..ca9e116970 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 [email protected] -D`
+* macOS/Linux: `ELECTRON_MIRROR=https://registry.npmmirror.com/mirrors/electron/ pnpm install [email protected] -D`
* Windows:
- * `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`
+ * `SET ELECTRON_MIRROR=https://registry.npmmirror.com/mirrors/electron/`
* `pnpm install [email protected] -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`
</details>
diff --git a/.github/CONTRIBUTING_zh_CN.md b/.github/CONTRIBUTING_zh_CN.md
index ea0606fadb..e095b10035 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 [email protected] -D
+ ELECTRON_MIRROR=https://registry.npmmirror.com/mirrors/electron/ pnpm install [email protected] -D
```
* Windows:
- * `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`
+ * `SET ELECTRON_MIRROR=https://registry.npmmirror.com/mirrors/electron/`
* `pnpm install [email protected] -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`
</details>
桌面端进入 app 文件夹运行: