pnpm-workspace.yaml
pnpm-workspace.yaml defines the root of the workspace and enables you to
include / exclude directories from the workspace. デフォルトでは、すべてのサブディレクトリにあるパッケージが含まれています。
例:
pnpm-workspace.yaml
packages:
  # all packages in direct subdirs of packages/
  - 'packages/*'
  # all packages in subdirs of components/
  - 'components/**'
  # exclude packages that are inside test directories
  - '!**/test/**'
上記の設定が使用されている場合でも、ルートパッケージは常に含まれます。