Open aryanprince opened 3 months ago
@hkirat If this is something on the roadmap, can I be assigned to this as I’ve already initiated work on it? Thanks.
this is great
For now, I have managed to successfully migrate the entire codebase to Turborepo (with pnpm workspaces). Everything works well in my fork for the time being (link here). However, there are several blockers that need to be addressed before I submit my PR.
There are currently 2 blocking issues/PRs:
PR #244 plans to fix this blocker.
PR #242 plans to solve this minor issue.
I will make my PR after these changes have been merged to ensure minimal overlapping changes and cleaner diff during the (huge - around 195 files currently) monorepo migration PR.
Summary
To migrate the current repo to a monorepo setup using Turborepo. This will allow us to have multiple different applications (like marketing, Discord Bot, so on) in the same repo, while having shared common packages between each other.
Pros
Cons
apps/web
for example)The Plan
Make a very minimal migration to Turborepo. By this, I mean we use a 2 step approach to the migration in order to keep minimal diffs and manageable PRs/reviews.
apps/web
first. This is done to produce as little diffs in the PR as possible, ensuring the first PR is very focused and can be reviewed better.My Experience
I've incrementally migrated from a single Next.js app to a monorepo setup with Turborepo with 3 different Next.js apps here.