A POC approach to visualising Nuget Dependencies, specifically related to planning structured updates, in a sensible order.
Also allows for separation of concerns/groups where possible for parallel working.
Creates and opens HTML with an embedded Mermaid Graph.
Important
Requires all 'owned' repositories to be added to a specific root directory which commands are then run from
Run commands from the Solution level directory
# build and package cli tool
dotnet pack
# install
dotnet tool install --global --add-source nuget-graph/nupkg nuget-graph
# update
dotnet tool update --global --add-source nuget-graph/nupkg nuget-graph
# uninstall
dotnet tool uninstall cli-poc --global
The tool accepts an optional set of CLI Args that can filter the graph.
Any args passed will be classed as "Allowed Packages" and only those will be visualised.
See examples directory for specific output data.
All examples run from root directory that is required to be visualised.
nuget-graph
Output HTML : base
nuget-graph MyProject
Output HTML : single
nuget-graph MyProject Serilog
Output HTML : multiple
- Add dependency list output and ordering for each visualised group?
- Add Package Versions to output