pnpm why
지정된 패키지에 의존하는 모든 패키지를 표시합니다.
caution
If the Dependencies Tree has more than 10 results (end leaves), the output will be truncated to 10 end leaves.
This makes the output more readable and avoids memory issues.
옵션
--recursive, -r
Show the dependency tree for the specified package on every package in subdirectories or on every workspace package when executed inside a workspace.
--json
Show information in JSON format.
--long
Show verbose output.
--parseable
Show parseable output instead of tree view.
--global, -g
현재 프로젝트 대신 글로벌 설치 디렉터리에 패키지를 나열합니다.
--prod, -P
Only display the dependency tree for packages in dependencies
.
--dev, -D
Only display the dependency tree for packages in devDependencies
.
--depth <number>
Display only dependencies within a specific depth.
--only-projects
Display only dependencies that are also projects within the workspace.