pnpm-workspace.yaml
pnpm-workspace.yaml defines the root of the workspace and enables you to
include / exclude directories from the workspace. Per impostazione predefinita, tutti i pacchetti presenti nelle sottocartelle sono inclusi.
Ad esempio:
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/**'
Il pacchetto radice è sempre incluso, anche quando si utilizzano wildcard per percorsi personalizzati.