pnpm -r, --recursive
Aliases: m, multi, recursive, <command> -r
Runs a command in every project of a workspace, when used with the following commands:
installlistoutdatedpublishrebuildremoveunlinkupdatewhy
Runs a command in every project of a workspace, excluding the root project, when used with the following commands:
execruntestadd
If you want the root project be included even when running scripts, set the include-workspace-root setting to true.
Usage example:
pnpm -r publish