Files
Zoltan Kochan a575dd2461 fix: allow pnpm runtime set in workspace root (#11584)
* 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.
2026-05-11 19:53:44 +02:00
..