this post was submitted on 07 Mar 2024
18 points (100.0% liked)

JavaScript

1978 readers
2 users here now

founded 1 year ago
MODERATORS
 

Hello all,

My company is looking into building a new app from scratch based on Next.js with a few modules on the side (batch jobs, utility services, etc.)

Our current monorepo has been started over 4 years ago with Yarn Classic + Lerna and I was wondering what is the current consensus for building a monorepo, considering that the landscape has evolved greatly since then (npm now supports workspaces, pnpm has gained in popularity, Yarn has been re-engineered and multiple build systems have been released)

I would greatly appreciate if you have some comparison between package managers and build systems you could link to.

you are viewing a single comment's thread
view the rest of the comments
[–] CombatWombatEsq@lemmy.world 2 points 8 months ago

I use yarn 4 plus turborepo and am very happy with my setup. You can see tybalt for a reasonably-sized project with my preferred monorepo setup.