Skip to content

jadujoel/dependency-graph

Repository files navigation

Dependency Graph

Requirements

Get Started

Install the requirements above.

Make the scripts executable

chmod +x ./*

Generate the png file

./main.sh <path_to_my_monorepo> <path_to_output_directory> <match_selection>
# ex:
./main.sh ../ecas ./output ecas

This will look in the ecas monorepo for any dependency that includes ecas in the name.

Example

brew install graphviz
bash main.sh "../ecas" "./gens" "ecas"
bash main.sh "../ecas" "./gens" "^(?!.*ecas-docs).*ecas.*$"

There is also another script included that checks that you dont use any unlisted dependencies. The check-deps.sh.

bash check-deps.sh "../ecas/packages/ecas-engine"

About

Generate a dependecy graph for your npm monorepo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages