[Question] When is lerna appropriate for monorepo management?
See original GitHub issueHi @evocateur…I’m trying out lerna. You mentioned in passing here, here, here, here that there are cases where you don’t recommend it.
Our use case is more general/common - our monorepo has an express server, angular client, and shared libraries (using file:../shared
to link them). We use pnpm to avoid npm’s space/time waste.
I don’t publish to npm… I don’t even have an npm account. However I do deploy the dist
directory to our VPS.
In this very common use case, is lerna overkill?
(Not trolling you, lerna is really cool, I’m just unsure about this use case. The docs weren’t clear.)
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
How To Manage Monorepos With Lerna - DigitalOcean
Lerna is as a tool for managing JavaScript projects with multiple packages with features such as package bootstrapping, parallelized builds, ...
Read more >Create a monorepo with Lerna | by Damian Cyrus - Medium
Introduction to Lerna and a example project to create a Lerna repository to manage multiple packages in a structured way.
Read more >Managing Your Typescript Monorepo With Lerna and Codefresh
Lerna is a tool to manage Monorepos with Git and npm, which automatically ties together all package versions used across your repository. Assume ......
Read more >Managing Monorepo using Lerna and Yarn workspaces
Lerna is "a tool for managing JavaScript projects with multiple packages", as the official website says, which is a tool to manage multiple...
Read more >Managing monorepos with Lerna and Yarn workspaces
Lerna and Yarn Workspaces gives us the ability to build and publish libraries and apps in a single repository (a.k.a. Monorepo).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@blieque No the testing trouble was with nx (testing config is buggy and convoluted), which is why we’re gonna swap that out for lerna.
Thanks for your comments, most lerna users seem to use it for OSS / npm-related work, so I needed some from-the-trenches advice for our use case… thanks!
We may well start to publish packages, but I get your point that Lerna isn’t strictly required for a monorepo.