fix: self-update accepts ranges; drop exact-semver gate

`pnpm self-update` resolves semver ranges to a specific version, so
`devEngines.packageManager.version: ">=10 <11"` can also go through
the self-update path. That makes readTargetVersion total — it always
returns a string or throws — so the runtime auto-switch fallback (and
the `pnpm_config_pm_on_fail=download` export from #252) is no longer
reachable and gets removed.

Adds a range case to the cache_store_path matrix.
This commit is contained in:
Zoltan Kochan
2026-05-11 13:56:24 +02:00
parent 29b3fcd571
commit 964ca0db93
3 changed files with 95 additions and 114 deletions

142
dist/index.js vendored

File diff suppressed because one or more lines are too long