Skip to content

Refactor: extract core, prepare for org split#15

Merged
masonlet merged 8 commits into
mainfrom
refactor/extract-core
Jun 30, 2026
Merged

Refactor: extract core, prepare for org split#15
masonlet merged 8 commits into
mainfrom
refactor/extract-core

Conversation

@masonlet

Copy link
Copy Markdown
Member

Restructures the codebase from a single Vercel-coupled implementation into core/, resend/, nodemailer/, and vercel/, mirroring the future repo split under the contact-api org.

  • Extract platform-agnostic CORS evaluation out of the Vercel handler.
  • Extract handleContact into a platform-agnostic core handler
  • Move provider initialization out of config.ts into each provider's own module
  • Restructure src/ and api/ into core/, resend/, nodemailer/, vercel/
  • Split README into per-repo docs, rewrite root README as temporary index

Behaviour stays the same: all tests pass and coverage carried over/extended for the new provider factory functions.

@masonlet
masonlet merged commit 6659a5a into main Jun 30, 2026
4 checks passed
@masonlet
masonlet deleted the refactor/extract-core branch June 30, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant