making more explicit

This commit is contained in:
Danny 2026-05-03 12:16:57 +01:00
parent 81e3dadf1b
commit acad4f365d

View File

@ -12,7 +12,7 @@ Install pnpm package manager.
Version of pnpm to install.
**Optional** when there is a [`packageManager` field or `devEngines.packageManager.version` field in the `package.json`](https://nodejs.org/api/corepack.html).
**Optional** when there is a [`packageManager` field or `devEngines.packageManager.name` is equal to "pnpm" and a `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`.