DEV Community

Discussion on: What interesting things I can do with npm?

Collapse
 
gmartigny profile image
Guillaume Martigny

I used to use npm link, but when scope grows and dependency tree gets weirder, you can't continue to do everything by hand.
My favorite features from Lerna:

  • lerna bootstrap --hoist save space with hoist common dependencies.
  • lerna add whatever --scope=mySubPackage add a new dependency to a sub-package.
  • lerna publish Bump and publish all packages individually.
Thread Thread
 
theoutlander profile image
Nick Karnik • Edited

Thanks for the insights. I really appreciate it!