-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move from Lerna to alternative toolset (like Nx) #7333
Comments
Agree 👍 I've also talked to @slorber about this on Discord. My main candidate for now is monodeploy, because we are also migrating to Yarn v3 in #6028. cc @RDIL in case you want to make the DX fully prepared in that PR. The publishing process needs investigation. We'll see if Nx is necessary after we've made the migration to Yarn v3. |
We also have good feedback about using Turborepo from @yangshun Please don't submit any PR on this for now, we'll figure out the setup we want to adopt For the time being, our Lerna setup still works |
For me, the choice is either monodeploy (works best with Yarn v3 workspaces), or Nx (I work on several other projects that use it with great success). I'm open to try Turborepo, but I'll need some comparisons. |
lerna/lerna#3121 Large thonk |
If we move to Vercel hosting then using Turborepo would be a no-brainer. |
Does Vercel hosting offer special integration with TR? If that, I'm very interested in seeing a working example 😄 |
Yes, they have remote caching, but I'm not sure whether it's free or a paid feature. |
A great amount of our CI time (in PR) is spent on building packages. If we can cut that down (through persisting some cache), we can greatly speed up the deploy preview. Looking forward to any solution. |
Afaik Meta is already using Vercel for many sites (like the new Beta site) and maybe not using Nx cloud already. I'd rather ask @zpao what is possible for us to use there before choosing the definitive tool. Having caching would be very nice for sure. Lerna still works and is not maintained again, so there's no need to hurry |
Lerna 5.0 has just been released, with a lot of dependency upgrades! This makes me hate it a lot less. |
It seems Lerna 5.1.x is way faster than TR (5.3 times). Quoting Victor tweet
|
I'm not even sure if we need to do anything at this stage, since I don't know if it's Lerna or tsc being slow, but I'd still like to play with different managers just to confirm. I'd definitely try out 5.1 in this weekend's dependency upgrade. |
@Josh-Cena usually the performance boils down to:
|
Have you read the Contributing Guidelines on issues?
Motivation
Lerna is not maintained anymore. As a result, you may want to switch to an alternative solution (such as Nx).
Self-service
The text was updated successfully, but these errors were encountered: