Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
pnpm why | pnpm
[go: Go Back, main page]

Passa al contenuto principale
Versione: 10.x

pnpm why

Visualizza tutti i pacchetti che dipendono dal pacchetto specificato.

The output is a reverse dependency tree: the searched package appears at the root, with its dependents as branches, walking back to workspace roots.

Duplicate subtrees are deduplicated in the output and shown as "deduped".

Opzioni

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

Elenca i pacchetti nella cartella di installazione globale invece che nel progetto corrente.

--prod, -P

Only display the dependency tree for packages in dependencies.

--dev, -D

Only display the dependency tree for packages in devDependencies.

--depth <number>" title="Link diretto a --depth " translate=no>​

Display only dependencies within a specific depth.

--only-projects

Visualizza solo le dipendenze che sono anche progetti all'interno dell'area di lavoro.

--exclude-peers

Exclude peer dependencies from the results (but dependencies of peer dependencies are not ignored).

--filter <package_selector>" title="Link diretto a --filter " translate=no>​

Read more about filtering.

--find-by <finder_name>" title="Link diretto a --find-by " translate=no>​

Added in: v10.16.0

Use a finder function defined in .pnpmfile.cjs to match dependencies by properties other than name.