joelgallant / package-dependency-graph

A CLI tool to generate a dependency graph of packages in a monorepo by graphviz or dagre.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

package-dependency-graph

A CLI tool to generate a dependency graph of packages in a monorepo by graphviz or dagre.

Dependency Status devDependency Status Build Status: Linux Github CI npm version Downloads type-coverage

install

yarn global add package-dependency-graph

usage

graphviz

package-dependency-graph --graphviz --png foo.png

graphviz

dagre

package-dependency-graph --png foo.png

dagre

arguments

name type description
--root string? tell the CLI the root directory of project
--dot string? save the dot file
--png string? save the png file
--svg string? save the svg file
--exclude-node_modules boolean? exclude packages from node_modules
--check boolean? check unnecessary dependencies(not recommended)
--debug boolean? show debug info
-h,--help boolean? Print this message.
-v,--version boolean? Print the version
--graphviz boolean? save graphviz styled png or svg file

About

A CLI tool to generate a dependency graph of packages in a monorepo by graphviz or dagre.

License:MIT License


Languages

Language:TypeScript 99.8%Language:JavaScript 0.2%