gabotechs / dep-tree

Tool for helping developers keep their code bases clean and decoupled. It allows visualising a code base complexity using a 3d force-directed graph of files and the dependencies between them.
https://github.com/gabotechs/dep-tree
MIT License
1.4k stars 35 forks source link

[improvement] Run directly dep-tree via npx #72

Closed maxlerebourg closed 4 months ago

maxlerebourg commented 5 months ago

To avoid having dep-tree inside our dependencies, try to deploy it and have a global script associated. https://github.com/Haimantika/introduction-npm-package to know how to do it.

gabotechs commented 5 months ago

will look into this, thanks!

gabotechs commented 4 months ago

I've looked into it and it's actually possible right now, but the package in npm is not called just dep-tree (the name was chosen), it's called @dep-tree/cli, so you can run it using it's npm package name:

npx @dep-tree/cli