From 3a9c38827d06c2cb513d8a853c88f6084f27282a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 24 Nov 2025 12:02:24 +0100 Subject: [PATCH] ci: remove node 20.x MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/ci.yml | 4 ++-- .serena/memories/project_overview.md | 2 +- openspec/project.md | 4 ++-- package.json | 2 +- ui/web/package.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ebbf9f9..2d74a2b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,7 @@ jobs: strategy: matrix: os: [windows-latest, macos-latest, ubuntu-latest] - node: ['20.x', '22.x', '24.x', 'latest'] + node: ['22.x', '24.x', 'latest'] name: Build simulator with Node ${{ matrix.node }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} steps: @@ -98,7 +98,7 @@ jobs: strategy: matrix: os: [windows-latest, macos-latest, ubuntu-latest] - node: ['20.x', '22.x', '24.x', 'latest'] + node: ['22.x', '24.x', 'latest'] name: Build dashboard with Node ${{ matrix.node }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} defaults: diff --git a/.serena/memories/project_overview.md b/.serena/memories/project_overview.md index e54e0a7d..48d7fdfa 100644 --- a/.serena/memories/project_overview.md +++ b/.serena/memories/project_overview.md @@ -6,7 +6,7 @@ Simple Node.js software to simulate and scale a set of charging stations based o ## Tech Stack -- **Runtime**: Node.js (>=20.11.0) +- **Runtime**: Node.js (>=22.0.0) - **Language**: TypeScript - **Package Manager**: pnpm (>=9.0.0) - **Testing Framework**: Node.js native test runner with @std/expect diff --git a/openspec/project.md b/openspec/project.md index b05c8ce9..66498b25 100644 --- a/openspec/project.md +++ b/openspec/project.md @@ -6,7 +6,7 @@ The e-Mobility Charging Stations Simulator provides a scalable, configurable loa ## Tech Stack -- Runtime: Node.js (>=20.11.0) + Worker Threads +- Runtime: Node.js (>=22.0.0) + Worker Threads - Language: TypeScript (~5.9) (ESM modules; `type: module`) - Build: esbuild bundling (custom scripts) + PNPM workspaces - Package Manager: pnpm (>=9) @@ -78,7 +78,7 @@ The e-Mobility Charging Stations Simulator provides a scalable, configurable loa ## Important Constraints -- Node.js >=20.11 runtime features (Worker Threads, ESM) required. +- Node.js >=22.0.0 runtime features (Worker Threads, ESM) required. - Strict OCPP JSON schema validation when `ocppStrictCompliance` is true; deviations require explicit config relaxation (e.g., out-of-order meter values). - Simulator must avoid blocking operations in worker threads; heavy tasks delegated or streamed. - Memory footprint scalability: workerSet auto sizing formula ensures balanced distribution. diff --git a/package.json b/package.json index fb447a22..8928ccf1 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "e-mobility-charging-stations-simulator", "version": "2.1.0", "engines": { - "node": ">=20.11.0", + "node": ">=22.0.0", "pnpm": ">=9.0.0" }, "volta": { diff --git a/ui/web/package.json b/ui/web/package.json index 414b46e4..1697dbfb 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -4,7 +4,7 @@ "version": "2.1.0", "readme": "README.md", "engines": { - "node": ">=20.0.0", + "node": ">=22.0.0", "pnpm": ">=9.0.0" }, "volta": { -- 2.43.0