https://pantsbuild.org/ logo
#general
Title
# general
f

fresh-continent-76371

10/20/2022, 5:25 AM
Is there a way to generate a simple dependenices graph for a given target, when I run
./pants dependencies --transitive path/to/thing
i get a flat list. I am wondering if Pants can show a graph of the dependencies, both within the Repo, but also the 3rd party ones.
e

enough-analyst-54434

10/20/2022, 5:44 AM
Not easily, and not including transitive 3rd party deps at all, just direct 3rd party deps. You use the json from the
./pants peek
goal to cobble together what you want. Toolchain has done that here with the output being a fairly fancy webapp / ui, but you could also transform the json into local textual output too: https://graphmyrepo.com/app/repo/pantsbuild/pants
👍 1
5 Views