Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pnpm list all dependencies recursively

Tags:

pnpm

I want to list all workspace dependencies recursively for a pnpm package in a workspace.

If I am at the workspace root, and I type:

pnpm list -r

I see all dependencies for the whole workspace. If I type

pnpm list --prod --filter=@docsndata/endpoints-zapier-connector-impl

I see only the immediate dependencies for the @docsndata/endpoints-zapier-connector-impl package, but my intention was to find all dependencies recursively for only this package.

Is that possible?

like image 751
Mike Hogan Avatar asked Oct 29 '25 21:10

Mike Hogan


1 Answers

Use the --depth=Infinity option:

pnpm list --prod --filter=@docsndata/endpoints-zapier-connector-impl --depth=Infinity
like image 99
Zoltan Kochan Avatar answered Nov 02 '25 06:11

Zoltan Kochan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!