Files
mail-kit/package.json
T
Mao NakamotoandClaude Fable 5 076e8606ee feat: @bitbaum/mail-kit v0.1.0 — the fleet's one email layer
Born from the 2026-09-05 email sweep: ~12 bespoke implementations across
three provider styles, and a dead Brevo SMTP credential that silenced
evig+kivvi outbound mail for months unnoticed. One provider (Resend over
raw fetch, zero deps), one env contract (RESEND_API_KEY + RESEND_FROM),
one call shape: sendMail() that never throws and returns honest
{sent}|{error,status,retryable}; isMailConfigured() treating placeholder
keys and production sandbox senders as UNCONFIGURED; mailHealth() for
health endpoints; the <app>@fleetcrown.orangecat.ch sender convention
encoded once. 15 tests, golden pnpm CI, tag-driven publish, fleet
auto-merge.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
2026-09-05 11:49:50 +02:00

63 lines
1.6 KiB
JSON

{
"name": "@bitbaum/mail-kit",
"version": "0.1.0",
"description": "The fleet's one email layer: Resend over raw fetch, zero dependencies, honest never-throwing results, sandbox/placeholder guards, and the shared-sender convention encoded once.",
"license": "MIT",
"author": "Mao Nakamoto",
"homepage": "https://github.com/bitbaum/mail-kit#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/bitbaum/mail-kit.git"
},
"bugs": {
"url": "https://github.com/bitbaum/mail-kit/issues"
},
"keywords": [
"email",
"resend",
"transactional",
"mail",
"never-throw"
],
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=20"
},
"packageManager": "pnpm@11.25.0",
"publishConfig": {
"access": "public",
"provenance": true
},
"files": [
"dist",
"src"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.json",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run",
"verify": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run build && pnpm run test",
"prepare": "pnpm run build",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^26.4.0",
"eslint": "^10.9.1",
"globals": "^17.11.0",
"prettier": "3.9.6",
"typescript": "^6.0.3",
"typescript-eslint": "^8.68.0",
"vitest": "^4.1.0"
}
}