본문으로 건너뛰기
버전: 8.x

pnpm-workspace.yaml

pnpm-workspace.yaml워크스페이스 의 루트를 정의하고 워크스페이스에서 디렉토리를 포함/제외할 수 있도록 합니다. 기본적으로 모든 하위 디렉토리의 모든 패키지가 포함됩니다.

For example:

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/**'

루트 패키지는 사용자 지정 위치 와일드카드가 사용되는 경우에도 항상 포함됩니다.