pnpm supports concurrent actions in multi-package repositories (workspaces).
By default, when you run the
pnpm recursive [action] commands,
all the directories are searched for packages (directories with
You can control what directories are searched by passing an array of globs to
An example of a
packages: # the root package.json - '.' # all packages in subdirs of packages/ and components/ - 'packages/**' - 'components/**' # exclude packages that are inside test/ directories - '!**/test/**'
pnpm-workspace.yaml should be in the root of the workspace.