mirror of
https://gh-proxy.org/https://github.com/klinsmaya/multica.git
synced 2026-11-08 01:16:45 +08:00
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:
+3
-3
@@ -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
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user