Skip to content

Commit

Permalink
docs: add warning about pnpm why output truncate (#458)
Browse files Browse the repository at this point in the history
* docs: add warning about `pnpm why` output truncate

* Update why.md

* Update why.md

---------

Co-authored-by: Zoltan Kochan <[email protected]>
  • Loading branch information
nachoaldamav and zkochan authored Oct 9, 2023
1 parent b36e9c3 commit 7e645b3
Showing 1 changed file with 12 additions and 0 deletions.
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 &lt;number\>

Display only dependencies within a specific depth.

### --only-projects

Display only dependencies that are also projects within the workspace.
Expand Down

0 comments on commit 7e645b3

Please sign in to comment.