

Possible SolutionĪ command like lerna update could run over every package.json and match the version with the root.Īlternatively, in order to not rely in the root package, lerna update could be used to define the required version. Of course I can use lerna exec - npm update whatever, but NPM will actually install the new version in each packages which can take forever. However, when updating shared dependencies offer no help to bump version in all packages.

Lerna is able to hoist shared dependencies to the top (which is nice). This mean all packages (including root) share the same test runner.

For example, it's nice to be able to run tests in a specific package and at the root directory. DevDependencies can be shared amongst the root package and sub-packages.
