- Run
yarn lerna ls --graph
to generate a topologically sorted diagram for all the projects in the repo - For each edge, you may generate a mermaid diagram. (See attached python script)
End to end combo
yarn --silent run lerna ls --graph --loglevel=silent | python lerna-graph-to-mermaid.py | pbcopy
(Paste the result into a .mmd
file on github gist or github main )
- See also mermaid chart