Repository navigation
chore: set up the repository as an Alexis library - #1
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The comparison page renders docs/comparison.json, the matrix of 14 Node.js email libraries, with scripts/comparison.js (the metaschema generator). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sets up
@alexify/mailerthe way the other Alexis libraries are set up, before any code lands. It follows@alexify/protoarray's "set up the repository as an Alexis library" commit, with the later CI fixes and the comparison generator taken from@alexify/metaschema.The mailer will be an email library of its own, in the place of Nodemailer or Upyo, in two parts:
fetch, starting with SES v2;This PR adds only the scaffold. The API is a placeholder.
What's included
index.d.ts, a closedexportsmap,filesallowlist,engines>=22.0.0, pnpm 10.34.5.createMailer(options)throwscreateMailer is not implemented yet. Its signature is provisional until the Phase 0 contracts (Message, Transport, QueueDriver, AuditSink).node:testwith c8 gates (98/98/90/100), tsd,check:dts,pnpm size, and a zero-dependencypnpm bench. The bench has reference scenarios: base64 attachments, Message-ID, DKIM RSA-SHA256, the audit-log hashes, and the outbox record JSON.mailer— the placeholder throws as expected;export-parity— runtime exports matchindex.d.ts, and ESM named imports work;dependencies—package.jsonhas nodependencies/peerDependencies, andsrc/requires onlynode:*and relative.jsfiles;bundle— the entry works after esbuild, minified and not;scripts— the size budget passes, fails when exceeded, and rejects a bad argument.check:dts;ci-successcheck for branch protection.mailer.vercel.appwith Why, Getting Started, Exports, and Compared with alternatives. That page holds a feature matrix of 14 Node.js email libraries, generated fromdocs/comparison.jsonbypnpm docs:comparison.js-conventionsandnpm-publishadapted).Decisions
browser.jsorbrowserfield: sending from a browser would expose credentials, and SMTP needs sockets.node:*andfetch; SES is signed with our own SigV4. Infrastructure drivers (BullMQ, MongoDB) are passed in by the application, as@alexify/metaschema's./mongodbtakes the driver module..eml, DKIM checked by an independent verifier, fuzzing) planned as P0 in Phase 1.Verification
All of the above pass locally. I also reviewed the docs site in light and dark themes.
After merge (manual)
mailer.vercel.appmainrequiringci-success🤖 Generated with Claude Code