pnpm-workspace.yaml defines the root of the workspace and enables you to include / exclude directories from the workspace. By default, all packages of all subdirectories are included.
# all packages in subdirs of packages/ and components/
# exclude packages that are inside test directories
The root package is always included, even when custom location wildcards are used.