quality/package-engines
Adds a devEngines field to package.json declaring the expected Node.js and
package manager versions. Downstream tools (engines-check, IDE plugins, CI
guards) can read this field to enforce a consistent development environment.
The task generates:
{ "devEngines": { "runtime": { "name": "node", "version": ">=24" }, "packageManager": { "name": "pnpm", "version": ">=9" } }}The packageManager.version is set based on the detected package manager:
>=9 for pnpm, >=10 for npm, yarn, or bun.
Details
Section titled “Details”| Property | Value |
|---|---|
| Task ID | quality/package-engines |
| Group | Quality |
| Scope | Root (monorepo root only) |
| Applicable When | Always |
| Config Target | package.json |