Leave the plugin engines floor to the plugins in the toolchain note
Check / check (pull_request) Successful in 3m12s
Check / check (pull_request) Successful in 3m12s
This commit is contained in:
@@ -7,8 +7,8 @@ description: Node.js (no engines in apps; images pin 24) with Vite+ (vp) and npm
|
|||||||
- **Runtime:** Node.js. App repos have no `engines` field (user decision
|
- **Runtime:** Node.js. App repos have no `engines` field (user decision
|
||||||
2026-10-18): the container or runner image decides the version, so the
|
2026-10-18): the container or runner image decides the version, so the
|
||||||
Containerfile base image (`node:24-alpine`) and CI's `node-version: "24"`
|
Containerfile base image (`node:24-alpine`) and CI's `node-version: "24"`
|
||||||
are the pins. Published packages (the lint plugins) keep
|
are the pins. Published packages (the lint plugins) keep their own
|
||||||
`engines: { "node": ">=22" }`. `npm run lit-check` runs
|
`engines.node` floor. `npm run lit-check` runs
|
||||||
`node scripts/lit-check.ts`, which needs Node 22.18+ (unflagged type
|
`node scripts/lit-check.ts`, which needs Node 22.18+ (unflagged type
|
||||||
stripping and `module.registerHooks`); Node 24 satisfies it. Without
|
stripping and `module.registerHooks`); Node 24 satisfies it. Without
|
||||||
`engines` or a `.node-version`, local `vp` uses its default Node
|
`engines` or a `.node-version`, local `vp` uses its default Node
|
||||||
|
|||||||
Reference in New Issue
Block a user