Skip to content

Conversation

@Stivenjs
Copy link
Contributor

Reorganize codebase to follow Next.js best practices by moving all application code into a dedicated src/ directory. This improves project organization and separates source code from configuration files.

Key changes:

  • Move app/, components/, hooks/, context/, lib/, utils/, and middlewares/ into src/
  • Relocate proxy.ts to src/ for Next.js 16 compatibility
  • Update path aliases in tsconfig.base.json to reference src/
  • Update Tailwind config to scan src/ directory
  • Update Jest config with new module mapper paths and coverage targets
  • Fix import paths to use correct aliases (@/emails instead of @/packages/emails)

This refactoring maintains all functionality while providing a cleaner root directory structure.

Reorganize codebase to follow Next.js best practices by moving all application code into a dedicated src/ directory. This improves project organization and separates source code from configuration files.

Key changes:
- Move app/, components/, hooks/, context/, lib/, utils/, and middlewares/ into src/
- Relocate proxy.ts to src/ for Next.js 16 compatibility
- Update path aliases in tsconfig.base.json to reference src/
- Update Tailwind config to scan src/ directory
- Update Jest config with new module mapper paths and coverage targets
- Fix import paths to use correct aliases (@/emails instead of @/packages/emails)

This refactoring maintains all functionality while providing a cleaner root directory structure.
@Stivenjs Stivenjs self-assigned this Jan 23, 2026
@Stivenjs Stivenjs merged commit 202d3e9 into main Jan 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants