updating readme to include devEngines.packageManager.version in selecting version

This commit is contained in:
Danny 2026-05-03 09:28:01 +01:00
parent 8912a9102a
commit 81e3dadf1b

View File

@ -12,7 +12,7 @@ Install pnpm package manager.
Version of pnpm to install.
**Optional** when there is a [`packageManager` field in the `package.json`](https://nodejs.org/api/corepack.html).
**Optional** when there is a [`packageManager` field or `devEngines.packageManager.version` field in the `package.json`](https://nodejs.org/api/corepack.html).
otherwise, this field is **required** It supports npm versioning scheme, it could be an exact version (such as `10.9.8`), or a version range (such as `10`, `10.x.x`, `10.9.x`, `^10.9.8`, `*`, etc.), or `latest`.