How to Use Lerna to Create a Monorepo for Multiple Node Packagesby@aspecto
318 reads
318 reads

How to Use Lerna to Create a Monorepo for Multiple Node Packages

by Aspecto5mMay 21st, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Lerna is a tool that enables us to manage (and publish) as many packages as we want in a single repository. It is usually quite easy to share code between the different parts of the monolith, just import from the relevant file. But what happens when you have 35 shared packages between 18 different microservices? It can be quite a hassle to manage all of these repos. In this post, I will walk you through how to use the tool to manage, and publish, two packages under the same monorepo.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How to Use Lerna to Create a Monorepo for Multiple Node Packages
Aspecto HackerNoon profile picture
Aspecto

Aspecto

@aspecto

Distributed Tracing Powered by OpenTelemetry

Share Your Thoughts

About Author

Aspecto HackerNoon profile picture
Aspecto@aspecto
Distributed Tracing Powered by OpenTelemetry

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
L O A D I N G
. . . comments & more!