From 5505cc820025b8b1298161f02af40ba9ae3143b2 Mon Sep 17 00:00:00 2001 From: Sebastian Friedrich <35170732+sebfried@users.noreply.github.com> Date: Thu, 21 May 2026 02:52:10 +0200 Subject: [PATCH] fix: bump Node pin from 22.12 to 24.15 to satisfy pnpm 11.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cloudflare Pages installs Node from .node-version, which was pinned to 22.12.0. pnpm 11.1.2 requires Node ≥22.13 and corepack 0.35 requires ≥22.22.2 || ≥24.15.0, so CF was failing on the engine check: ERROR: This version of pnpm requires at least Node.js v22.13 The current version of Node.js is v22.12.0 Pinning to 24.15.0 to match the local dev Node version exactly (zero dev/prod drift) and to clear both the pnpm and corepack engine constraints. AGENTS.md and the engines fields are updated to match. Co-Authored-By: Claude Opus 4.7 (1M context) --- .node-version | 2 +- AGENTS.md | 2 +- package.json | 4 ++-- starlight/package.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.node-version b/.node-version index 1d9b783..5bf4400 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -22.12.0 +24.15.0 diff --git a/AGENTS.md b/AGENTS.md index ff6958a..6c62bd4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -5,7 +5,7 @@ Agent-facing entry point. Optimize edits here for agent consumption — facts, t ## Toolchain - pnpm + workspaces (never `npm`/`yarn` — silently breaks docs build) -- Node ≥22.12 +- Node ≥24.15 (pinned to `24.15.0` in `.node-version`; CF Pages installs from that) - **If pnpm missing: ASK USER FIRST** before suggesting `corepack enable && corepack prepare pnpm@latest --activate`. Both affect the user's global toolchain. - Always `pnpm install` from repo root diff --git a/package.json b/package.json index c81dd29..85f0dfe 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "ui.plan.ai", "type": "module", - "version": "0.0.15", + "version": "0.0.16", "packageManager": "pnpm@11.1.2", "engines": { - "node": ">=22.12.0" + "node": ">=24.15.0" }, "scripts": { "dev": "concurrently -n app,docs -c blue,magenta \"pnpm dev:app\" \"pnpm dev:docs\"", diff --git a/starlight/package.json b/starlight/package.json index ac03f4a..28a6fd3 100644 --- a/starlight/package.json +++ b/starlight/package.json @@ -1,9 +1,9 @@ { "name": "starlight-docs", "type": "module", - "version": "0.0.18", + "version": "0.0.19", "engines": { - "node": ">=22.12.0" + "node": ">=24.15.0" }, "scripts": { "dev": "astro dev",