MUL-6189 docs: align contributor Node version guidance with CI (#7003)

Aligns CONTRIBUTING.md, README.md, README.zh.md, SELF_HOSTING_ADVANCED.md and scripts/dev.sh with the Node 22 / pnpm 10.28.2 / Go 1.26.1 versions used by CI, and adds .nvmrc plus engines.node so version managers and package tooling flag Node 20 early.

Closes #6972
This commit is contained in:
ZIce
2026-08-17 15:25:31 +08:00
committed by GitHub
parent 2a30b01b6d
commit 3be6bccec7
7 changed files with 11 additions and 7 deletions
+1
View File
@@ -0,0 +1 @@
22
+3 -3
View File
@@ -41,9 +41,9 @@ This keeps Docker simple while still isolating schema and data.
## Prerequisites
- Node.js `v20+`
- `pnpm` `v10.28+`
- Go `v1.26+`
- Node.js `22`
- `pnpm` `10.28.2`
- Go `1.26.1`
- Docker
## Important Rules
+1 -1
View File
@@ -221,7 +221,7 @@ Installing and authenticating them: [Install an agent runtime](https://multica.a
Contributors: start with the [Contributing Guide](CONTRIBUTING.md).
**Prerequisites:** [Node.js](https://nodejs.org/) v20+, [pnpm](https://pnpm.io/) v10.28+, [Go](https://go.dev/) v1.26+, [Docker](https://www.docker.com/)
**Prerequisites:** [Node.js](https://nodejs.org/) 22, [pnpm](https://pnpm.io/) 10.28.2, [Go](https://go.dev/) 1.26.1, [Docker](https://www.docker.com/)
```bash
make dev
+1 -1
View File
@@ -213,7 +213,7 @@ Multica 不自带模型。它驱动的是你本来就装好、登录好的那些
想参与贡献,先看[贡献指南](CONTRIBUTING.md)。
**环境要求:**[Node.js](https://nodejs.org/) v20+、[pnpm](https://pnpm.io/) v10.28+、[Go](https://go.dev/) v1.26+、[Docker](https://www.docker.com/)
**环境要求:**[Node.js](https://nodejs.org/) 22、[pnpm](https://pnpm.io/) 10.28.2、[Go](https://go.dev/) 1.26.1、[Docker](https://www.docker.com/)
```bash
make dev
+1 -1
View File
@@ -312,7 +312,7 @@ If you are upgrading from a binary that pre-dates MUL-2957 (or the auto-hook fai
If you prefer to build and run services manually:
**Prerequisites:** Go 1.26+, Node.js 20+, pnpm 10.28+, PostgreSQL 17 with pgvector.
**Prerequisites:** Go 1.26.1, Node.js 22, pnpm 10.28.2, PostgreSQL 17 with pgvector.
```bash
# Start your PostgreSQL (or use: docker compose up -d postgres)
+3
View File
@@ -27,6 +27,9 @@
"ui:add": "cd packages/ui && npx shadcn@latest add",
"generate:reserved-slugs": "node scripts/generate-reserved-slugs.mjs"
},
"engines": {
"node": ">=22"
},
"packageManager": "[email protected]",
"pnpm": {
"onlyBuiltDependencies": [
+1 -1
View File
@@ -13,7 +13,7 @@ command -v docker >/dev/null 2>&1 || missing+=("docker")
if [ ${#missing[@]} -gt 0 ]; then
echo "✗ Missing prerequisites: ${missing[*]}"
echo " Please install: Node.js v20+, pnpm v10.28+, Go v1.26+, Docker"
echo " Please install: Node.js 22, pnpm 10.28.2, Go 1.26.1, Docker"
exit 1
fi