Replies: 1 comment 2 replies
-
Hello @svallory firstly, thanks for watching my video with the NX team. I love NX, its an essential tool for me whenever I have a monorepo. So here the difference is monorepo and not nx, if Noodle was still a monorepo, NX would be there. The change from a monorepo to a normal nextjs singular application setup came from the understanding of my needs with the project. I was initially thinking very much far ahead when Noodle will need multiple applications, publishing packages, design system...etc and that came with a lot of cost in terms of maintenance of this setup. Noodle doesn't actually need to be a monorepo right now, it will need to be in the far future but when we get to that requirement then the added complexity of the project setup is justified. I have changed my approach on monorepos over the past few months, and I now advocate for going towards a monorepo approach when it's clear that you will need multiple applications or publishing packages. Otherwise purely for code organisation it doesn't make sense because just stick it in a folder in your src and you will be good. The added complexity without a clear advantage of a monorepo setup basically just doesn't make sense. I would actually advocate for a singular repo when you only need one application, after that NX integrated monorepo because with plugins you won't need to maintain the configuration and after that if you have a specific requirement to manage your config by yourself then think about package based monorepos. I hope this helps with your decision, if you do still need a package based monorepo example look back a few commits behind its still there :) |
Beta Was this translation helpful? Give feedback.
-
Hi! I know this is not directly related to the project, but I was watching a video where @ixahmedxi was showing how Nx was used in the noodle project.
I went looking for that video after facing a LOT of issues trying to set up Nx with proper typescript compilation (including project references) and svelte.
I was surprised to see that, as far as I can tell, noddle isn't using Nx anymore and, since I was already thinking about not using nx due to all the problems I've had, I would deeply appreciate it if any contributor could tell me why that is. That would really help me decide whether to use nx or not.
Also, @ixahmedxi, if you have any addendum for the video, of things you learned or issues you faced with the package-based approach, I would love to hear
Beta Was this translation helpful? Give feedback.
All reactions