auchenberg / dependo

Visualize your CommonJS or AMD module dependencies in a force directed graph report.
MIT License
484 stars 50 forks source link

Recursively Trace Dependencies #7

Open lzilioli opened 10 years ago

lzilioli commented 10 years ago

dependo is great to see what files a given file depends on, but it doesn't go any levels deeper to show what files those files depend on, and so on.

auchenberg commented 10 years ago

Thanks for the report. It would be helpful to if you could provide a sample project where Dependo fails to resolve the nested dependencies?

lzilioli commented 10 years ago

Unfortunately, I can't provide the code for the project that I had that recreated it. I haven't had a chance to recreate in a smaller project, but I believe it has something to do with subfolders. For example, running the plugin on scripts/dirA, which includes modules that require modules from the parent directory, scripts/.

patons02 commented 10 years ago

I had this problem today when trying to recursively generate a dependency graph for my application. From the command line, when in the src folder I used the command dependo --format amd . And this fixed the issue.

techsin commented 4 years ago

it doesn't work for me i'm only getting 1 to 2 level of depth