Somebody using Lerna? I’m looking for alternatives...
# random
a
Somebody using Lerna? I’m looking for alternatives to use in my new mono-repo. Currently looking at Turbo, NX, Vite… Looks like those projects defines like “build systems”, and have support for mono-repo. But Lerna also has tools for publishing packages and such… I don’t see that in Turbo or nx?
j
We moved away from Lerna @thdxr knows more
t
Use changesets for publishing. Kinda confusing at first to setup but it's really nice
Outside of that just using native workspaces. We do use turborepo as well but that's optional
a
Yeah, looks like Turbo recommends also lerna for publishing.
t
They recommend using changesets
a
Yes, both.
t
Yeah
We opted for turbo + changesets
Turbo wasn't strictly necessary though
a
Cool yeah, I’m starting with a sample from Turbo.
r
Both Turbo and Nx are arguably the best monorepo tools right now. Turbo for simplicity, Nx for scaling. +1 to changesets
s
Company behind NX has taken over stewardship of Lerna and has nice docs to migrate over from lerna: https://blog.nrwl.io/lerna-is-dead-long-live-lerna-61259f97dbd9
j
That's a really good move
a
Seed has support for this?
Ive been using Lerna with Seed.
I want to move away from it.
j
We relied on Lerna to figure out which services changed. We’ll need to look at how the other monorepo tools do this.
a
Yeah.
o
We just started using NX last week - mainly to run tests on changed files on CI. It’s working well so far (our CI went from ~30mins to a few minutes), although we’re still in the phase of making sure we’re still running all the tests we need to.