You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title states, should we consider turning this project into a monorepo (even though there's just one site) to be able to use remote caching?
No reason not to 🤔 ?
Update
Following #60, remote caching doesn't make sense anymore. Instead, monorepo migration acts as preparation for scaling up the repo. For example, #72 and #38 will require additional code to be added; we should scope these as separate projects within a monorepo, for better scoping (better than multiple repos), dependency sharing, and later on version tracking #76.
@lvnam96 yes, supposedly. Env can be added to cache config, basically if 2 build with same env but different values will result in 2 hashed builds.
The best benefit of concern here is remote caching, which would bring a shared cache to multiple devs working on the same project, and also the same cache for pipeline, potentially saving resources across the project.
However, considering the current scope & scale of this project (just me working in my own time, no stable production env yet), caching won't have much impact. Also, in #60, deployment was migrated to cloudflare from vercel, and enabling remote caching in cloudflare pipeline is not what I have experience in. Therefore this issue is still in backlog and kept for later consideration.
vnphanquang
changed the title
Migrate to Turborepo to leverage Remote Caching?
Migration Path to Monorepo
Jun 6, 2023
vnphanquang
changed the title
Migration Path to Monorepo
Migration Path to Monorepo (Turborepo)
Jun 6, 2023
Initial Context
As the title states, should we consider turning this project into a monorepo (even though there's just one site) to be able to use remote caching?
No reason not to 🤔 ?
Update
Following #60, remote caching doesn't make sense anymore. Instead, monorepo migration acts as preparation for scaling up the repo. For example, #72 and #38 will require additional code to be added; we should scope these as separate projects within a monorepo, for better scoping (better than multiple repos), dependency sharing, and later on version tracking #76.
Todo
The text was updated successfully, but these errors were encountered: