mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-12 10:11:42 -04:00
* fix: allow `pnpm runtime set` in workspace root `pnpm runtime set <name> <version>` previously failed in the root of a multi-package workspace with the `ADDING_TO_ROOT` error. Since installing a runtime is workspace-wide configuration, pass `--workspace-root` to the underlying `pnpm add` call when not running globally. * fix: use --ignore-workspace-root-check instead of --workspace-root The previous fix forced every non-global runtime install to land in the workspace root, which broke running the command from a workspace subproject. Switch to --ignore-workspace-root-check, which only suppresses the safety warning and leaves the install target as the current directory.