Leave the plugin engines floor to the plugins in the toolchain note
Check / check (pull_request) Successful in 3m12s

This commit is contained in:
Danny Kim
2026-10-18 03:11:31 +09:00
parent 0a31dbb820
commit 60c63dee98
+2 -2
View File
@@ -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