Skip to content

Max depth (v2.6.0)

Compare
Choose a tag to compare
@sverweij sverweij released this 26 Oct 19:37
  • 🐣 adds an option to specify the maximum depth - as suggested in #16 by @brian428 see below for a description
  • ⬆️ various npm dependencies to latest
  • 🔧 adds travis as a ci (in addition to gitlab ci, which we've used from the start)

max-depth

Adds an option to limit the cruise depth - see command line option for the documentation.

Screenshots

depcruise -T dot -x node_modules --max-depth 1 bin/dependency-cruiser | dot -T png > 1.png

--max-depth 1
1

--max-depth 2
2

--max-depth 3
3

--max-depth 4
4

no max-depth specified:
0