When to Use Lerna?

When to Use Lerna?

Why use it? Lerna is used mostly in bigger projects which can become hard to maintain over time. It allows modularizing the code into smaller manageable repositories and abstracting out shareable code which can be used across these sub repos.

Should I use yarn workspaces with lerna?

Overall. Lerna coupled with yarn workspaces is a great combination. Lerna adds utility functionality on top of Yarn Workspaces for working with multiple packages. Yarn workspaces make it so that all dependencies can be installed together, making caching and installing faster.

Who's using lerna?

64 companies reportedly use Lerna in their tech stacks, including Postclick, quero, and caredoc.
  • Postclick.
  • quero.
  • caredoc.
  • Frontend.
  • Our Stack.
  • Redfin.
  • Greener Bio.
  • Frontend.
Robert Thorne
Author

Robert Thorne

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.