Replies: 8 comments 12 replies
-
I've always been monorepo curious, but I've never gone fully into it. I think I'd prefer nx, but I need to compare the two. Before we actually implement anything as part of the starter, I would prefer to have an example on each to compare. Would you be interested in making a turborepo example repo on your own account? |
Beta Was this translation helpful? Give feedback.
-
I'd like to bring @PhilDL into the conversation, he has a stack with turborepo going and has experience, maybe joining forces makes sense? https://github.com/PhilDL/remix-gospel-stack/ |
Beta Was this translation helpful? Give feedback.
-
Since EpicStack is a full-stack stack, what would be the point of a monorepo? The frontend and backend are part of the same app here. And if you plan to use EpicStack inside a monorepo then EpicStack itself doesn't need to support anything, you can setup a monorepo with Turbo/nx/lerna/etc and run |
Beta Was this translation helpful? Give feedback.
-
We're also consolidating our codebase into a monorepo to share components, helpers, etc. I do think that most people won't ever need a monorepo with a Remix based app but once you need to manage more and more apps, monorepos are definitely a huge DX win. Would be awesome to see a community based example for monorepos! |
Beta Was this translation helpful? Give feedback.
-
for what it's worth, it might be good to look into Domain driven design if it's mostly about structure of apps within repo e.g admin/tenants/website/api |
Beta Was this translation helpful? Give feedback.
-
also @jacobparis has a interesting article about a monorepo with NX an a REMIX app https://www.jacobparis.com/content/remix-nx-monorepo |
Beta Was this translation helpful? Give feedback.
-
I tried to install epic-stack into both NX and Turborepo without any luck. A pity, I think. But maybe I need to rethink the architecture I am going for. As an overview, the plan was to have multiple epic-stack projects living under one roof so to speak, with shared dependencies like UI components etc. |
Beta Was this translation helpful? Give feedback.
-
Now that we have an example, I think I'm going to close this discussion. Feel free to continue the discussion in the example or if anyone have another take on the monorepo problem we can definitely get another example. |
Beta Was this translation helpful? Give feedback.
-
Many projects over time get multiple apps, like an admin interface or a separate docs app for example. I found that an initial setup in a turborepo like structure makes it easy for whatever comes in the future. It's easy to add more apps and packages.
Here you can read more about the project:
https://turbo.build/repo
Is there more interest in the community for this?
Beta Was this translation helpful? Give feedback.
All reactions