MCPcopy Create free account
hub / github.com/aniketpanjwani/payload-plugin-email-newsletter

github.com/aniketpanjwani/payload-plugin-email-newsletter @v0.29.11

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.29.11 ↗ · + Follow
497 symbols 1,156 edges 154 files 45 documented · 9% updated 6mo agov0.29.11 · 2026-01-06★ 441 open issues

Browse by type

Functions 362 Types & classes 135
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Development Guide

Quick Start

This project uses Bun as the preferred package manager and runtime.

Install Dependencies

bun install

Type Checking

Run TypeScript type checking without emitting files:

bun typecheck

Generate Type Definitions

Generate TypeScript declaration files:

bun generate:types

Build

Build the project (both JavaScript and type definitions):

bun build

Development Mode

Watch for changes and rebuild:

bun dev

Linting

Run ESLint on the source code:

bun lint

Clean Build Artifacts

Remove the dist directory:

bun clean

Common TypeScript Issues

If you encounter TypeScript errors during build:

  1. Module Resolution: The project uses ESM modules. Import statements should include file extensions for relative imports.
  2. Type Errors: Run bun typecheck to see all TypeScript errors without building.
  3. Missing Types: Some Payload types might need explicit imports or type assertions.

Publishing

Before publishing to npm:

  1. Ensure all tests pass (when tests are added)
  2. Run bun typecheck to ensure no TypeScript errors
  3. Update version in package.json
  4. Update CHANGELOG.md
  5. Run bun build to ensure it builds successfully
  6. Tag the release: git tag v0.x.x
  7. Push tags: git push --tags
  8. Publish: npm publish

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 271
Interface 110
Method 91
Class 21
Enum 4

Languages

TypeScript100%

Modules by API surface

src/types/providers.ts32 symbols
src/types/index.ts27 symbols
src/utils/emailSafeHtml.ts19 symbols
src/types/broadcast.ts18 symbols
src/providers/broadcast/broadcast.ts18 symbols
src/types/webhooks.ts17 symbols
src/types/newsletter.ts15 symbols
src/providers/resend/broadcast.ts15 symbols
src/__tests__/security/authorization.test.ts13 symbols
src/providers/types.ts11 symbols
src/providers/index.ts11 symbols
src/providers/resend.ts9 symbols

For agents

$ claude mcp add payload-plugin-email-newsletter \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page