Problem Statement
As we add more scripts, a Discord bot, or shared UI components, keeping everything in a single Next.js root directory will become messy.
Proposed Solution
Migrate the repository to a Turborepo workspace. Move the Next.js app to apps/web and create shared packages in packages/ui and packages/config.
Alternatives Considered
Nx, but Turborepo is generally easier to set up for Next.js-heavy codebases.
Additional Context
This is a major structural change. Ensure all Vercel/Cloudflare build configurations are updated to point to apps/web.
Problem Statement
As we add more scripts, a Discord bot, or shared UI components, keeping everything in a single Next.js root directory will become messy.
Proposed Solution
Migrate the repository to a Turborepo workspace. Move the Next.js app to
apps/weband create shared packages inpackages/uiandpackages/config.Alternatives Considered
Nx, but Turborepo is generally easier to set up for Next.js-heavy codebases.
Additional Context
This is a major structural change. Ensure all Vercel/Cloudflare build configurations are updated to point to
apps/web.