Code to reproduce the issue:
Step 1: Create package.json with the following content
{
"private": true,
"version": "0.0.0",
"engines": {
"pnpm": ">= 99999.0.0"
}
}
Step 2: Run pnpm install ...
Expected behavior:
pnpm should at least warn user for not using demanded version.
Actual behavior:
pnpm goes ahead and installs dependencies anyway
Why?
- pnpm can be used to manage monorepo.
- Different pnpm versions might provide different monorepo features.
- Different monorepos might demand different features from pnpm.
Code to reproduce the issue:
Step 1: Create
package.jsonwith the following content{ "private": true, "version": "0.0.0", "engines": { "pnpm": ">= 99999.0.0" } }Step 2: Run
pnpm install ...Expected behavior:
pnpm should at least warn user for not using demanded version.
Actual behavior:
pnpm goes ahead and installs dependencies anyway
Why?