feat: restrict Node engine to 24.x (E00-S01-T08)
This commit is contained in:
@@ -4,6 +4,9 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "EPPP — a modular personal blogging platform. Workspace bootstrap (E00-S01).",
|
"description": "EPPP — a modular personal blogging platform. Workspace bootstrap (E00-S01).",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=24.0.0 <25.0.0"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pnpm -r run build",
|
"build": "pnpm -r run build",
|
||||||
"test": "node --test \"tests/**/*.test.mjs\"",
|
"test": "node --test \"tests/**/*.test.mjs\"",
|
||||||
|
|||||||
@@ -2,3 +2,8 @@ packages:
|
|||||||
- 'apps/*'
|
- 'apps/*'
|
||||||
- 'packages/*'
|
- 'packages/*'
|
||||||
- 'extensions/*'
|
- '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
|
||||||
|
|||||||
Reference in New Issue
Block a user