Change8

v10.14.0-0

📦 pnpmView on GitHub →
3 features🐛 3 fixes🔧 5 symbols

Summary

This release adds new CLI flags for architecture selection, introduces devEngines‑based Node.js runtime resolution, improves dlx flag parsing, and fixes several bugs around package downloading and production installs.

✨ New Features

  • Add `--cpu`, `--libc`, and `--os` flags to `pnpm install`, `pnpm add`, and `pnpm dlx` for customizing `supportedArchitectures` via the CLI.
  • Support resolving and downloading the Node.js runtime specified in the `devEngines` field of `package.json`, with version range locking and lockfile storage.
  • `pnpm dlx` can now parse CLI flags and options placed between the `dlx` command and the command to run, or between `dlx` and `--`.

🐛 Bug Fixes

  • Fix bug where `pnpm add` downloaded packages whose `libc` differed from `pnpm.supportedArchitectures.libc`.
  • `pnpm install --prod` now correctly removes hoisted dev dependencies.
  • The integrity of downloaded Node.js artifacts is now verified.

🔧 Affected Symbols

pnpm installpnpm addpnpm dlxdevEnginespnpm.supportedArchitectures.libc