-
Notifications
You must be signed in to change notification settings - Fork 126
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
Which is the right Monorepo tool? #80
Comments
Corresponding decision table here |
Corrections to table:
|
Hey @joebowbeer, welcome aboard 🌻 Yes, we should emphasize more that a valid monorepo strategy is a workspace + build-tool (e.g. Nx) About Lerna - I will update, thanks. Personally, I think that Nx will swallow it but it's not fair to write that it's not maintained |
I had a good experience with Turborepo. |
- Added new cli/interactive flag --monorepo-tool which currently supports either: no value, "turborepo" - If the flag's value is "turborepo", the example repo will be generated with basic npm workspace + turborepo configuration - The configuration contains a turborepo pipeline for "build" and "test" commands - Also added sourcemaps for CLI code for easier debugging closes practicajs#80
two issues/points of confusion i have: 1) https://github.com/nrwl/nx-recipes/tree/main/pnpm-workspace this example shows that NX can be used with multiple package.json, so i don't think it's fair to argue that it can only have a root package.json (which would increase tight coupling) and 2) how is that NX is locally linking by using typescript and webpack? if you are using pnpm, for example, it is locally linking by means of pnpm workspace, and i believe it would be the same for yarn and npm as well. thanks for this write up, i just want to make sure the information is accurate here |
@d1onys1us Welcome aboard. Appreciate your feedback! About the 1st point - Nx encourages this coupling, it doesn't enforce it. If you use the default Node plugin, this is the setup that one gets About 2nd point - You're right. We should update the wording. Care to do this or shall I? |
Hi @goldbergyoni, quick update on Lernajs. The table states that Lerna doesn't support parallelism, but it does support concurrency as read here. |
Based on simplicity, documentation, and community support, my personal opinion leans towards Nx. Nx (monorepo) + Nest (framework) = ❤️ |
Triggering a discussion about Monorepo tools
The text was updated successfully, but these errors were encountered: