chore: upgrade Node.js runtime to v24 across codebase
- Update .woodpecker/codex-review.yml: node:22-slim → node:24-slim - Update packages/cli-tools engines: >=18 → >=24.0.0 - Update README.md, CONTRIBUTING.md, prerequisites docs to reference Node 24+ - Rename eslint.config.js → eslint.config.mjs to eliminate Node 24 MODULE_TYPELESS_PACKAGE_JSON warnings (ESM detection overhead) - Add .nvmrc targeting Node 24 - Fix pre-existing no-unsafe-return lint error in matrix-room.service.ts - Add Campsite Rule to CLAUDE.md - Regenerate Prisma client for Node 24 compatibility All Dockerfiles and main CI pipelines already used node:24. This commit aligns the remaining stragglers (codex-review CI, cli-tools engines, documentation) and resolves Node 24 ESM module detection warnings. Quality gates: lint ✅ typecheck ✅ tests ✅ (6 pre-existing API failures) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,26 +4,26 @@ Required and optional software for Mosaic Stack development.
|
||||
|
||||
## Required
|
||||
|
||||
### Node.js 20+
|
||||
### Node.js 24+
|
||||
|
||||
```bash
|
||||
# Install using nvm (recommended)
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
|
||||
nvm install 20
|
||||
nvm use 20
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
|
||||
nvm install 24
|
||||
nvm use 24
|
||||
|
||||
# Verify installation
|
||||
node --version # Should be v20.x.x
|
||||
node --version # Should be v24.x.x
|
||||
```
|
||||
|
||||
### pnpm 9+
|
||||
### pnpm 10+
|
||||
|
||||
```bash
|
||||
# Install globally
|
||||
npm install -g pnpm@9
|
||||
npm install -g pnpm@10
|
||||
|
||||
# Verify installation
|
||||
pnpm --version # Should be 9.x.x
|
||||
pnpm --version # Should be 10.x.x
|
||||
```
|
||||
|
||||
### PostgreSQL 17+
|
||||
@@ -158,8 +158,8 @@ Configure `OLLAMA_MODE=remote` and `OLLAMA_ENDPOINT` in `.env`.
|
||||
Check all required tools are installed:
|
||||
|
||||
```bash
|
||||
node --version # v20.x.x or higher
|
||||
pnpm --version # 9.x.x or higher
|
||||
node --version # v24.x.x or higher
|
||||
pnpm --version # 10.x.x or higher
|
||||
git --version # 2.x.x or higher
|
||||
docker --version # 24.x.x or higher (if using Docker)
|
||||
psql --version # 17.x.x or higher (if using native PostgreSQL)
|
||||
|
||||
Reference in New Issue
Block a user