1.0.6 • Published 8 months ago

@stanimirovv/dependency-diff v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

Dependency Diff

generate DOT diagrams showing the code level dependency diff between two versions of a git repository

You can visualize the output either with a cmd tool or online

Setup

It is expected you have a git binary.

You need to setup dependency-cruiser in your project as this is what generates the dependencies.

npm i --save-dev dependency-cruiser
npx depcruise --init
npm i --save-dev @stanimirovv/dependency-diff

Verify dependency-cruiser is correctly installed (assumes your code is src, see dependency-cruiser docs for more info)

npx depcruise src --include-only "^src" --output-type dot

Finally, add a script to your package.json that dependency-diff will call: "depcruise-report": "npx depcruise src --include-only \"^src\" --output-type json"

! Depending on your project's structure this might be a different script

Usage

npx dependency-diff <branch A> <branch B>
1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago