Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add warning about pnpm why output truncate #458

Merged
merged 3 commits into from
Oct 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/cli/why.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ title: pnpm why

Shows all packages that depend on the specified package.

:::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.

:::

## Options

### --recursive, -r
Expand Down Expand Up @@ -36,6 +44,10 @@ Only display the dependency tree for packages in `dependencies`.

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.
Expand Down