diff --git a/package.json b/package.json index 65f155f..8b9a001 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "private": true, "type": "module", "description": "EPPP — a modular personal blogging platform. Workspace bootstrap (E00-S01).", + "engines": { + "node": ">=24.0.0 <25.0.0" + }, "scripts": { "build": "pnpm -r run build", "test": "node --test \"tests/**/*.test.mjs\"", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 9cf8977..8db344c 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -2,3 +2,8 @@ packages: - 'apps/*' - 'packages/*' - 'extensions/*' + +# E00-S01-T08 — reject installs on unsupported Node versions instead of +# warning: root package.json restricts engines.node to 24.x, and engineStrict +# turns a mismatch into a hard install error (ERR_PNPM_UNSUPPORTED_ENGINE). +engineStrict: true