Skip to content

Latest commit

 

History

History
 
 

patches

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Vendored modules

Only for build tools.

@lerna/package-graph

A patched version of the module that drastically improves the time it takes to check for cycles in the package dependency graph (5 minutes down to 1 second).

Uses a cache to avoid checking the same node twice. Submitted upstream as: lerna/lerna#2874

Before:

$ time node_modules/.bin/lerna exec pwd
...
lerna success exec Executed command in 217 packages: "pwd"
      273.24 real       272.27 user         2.04 sys

After:

$ time node_modules/.bin/lerna exec pwd
...
lerna success exec Executed command in 219 packages: "pwd"
        1.11 real         0.99 user         0.82 sys