@payloadcms/email-nodemailer
Advanced tools
import type { Transporter } from 'nodemailer'; | ||
import type SMTPConnection from 'nodemailer/lib/smtp-connection'; | ||
import type { EmailAdapter } from 'payload/config'; | ||
import type { EmailAdapter } from 'payload'; | ||
export type NodemailerAdapterArgs = { | ||
@@ -5,0 +5,0 @@ defaultFromAddress: string; |
/* eslint-disable no-console */ import nodemailer from 'nodemailer'; | ||
import { InvalidConfiguration } from 'payload/errors'; | ||
import { InvalidConfiguration } from 'payload'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Creates an email adapter using nodemailer |
{ | ||
"name": "@payloadcms/email-nodemailer", | ||
"version": "3.0.0-canary.cee5702", | ||
"version": "3.0.0-canary.e9f7ce1", | ||
"description": "Payload Nodemailer Email Adapter", | ||
@@ -17,4 +17,4 @@ "homepage": "https://payloadcms.com", | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
} | ||
@@ -32,9 +32,9 @@ }, | ||
"@types/nodemailer": "6.4.14", | ||
"payload": "3.0.0-canary.cee5702" | ||
"payload": "3.0.0-canary.e9f7ce1" | ||
}, | ||
"peerDependencies": { | ||
"payload": "3.0.0-canary.cee5702" | ||
"payload": "3.0.0-canary.e9f7ce1" | ||
}, | ||
"engines": { | ||
"node": ">=18.20.2" | ||
"node": "^18.20.2 || >=20.9.0" | ||
}, | ||
@@ -45,5 +45,5 @@ "publishConfig": { | ||
"scripts": { | ||
"build": "pnpm build:swc && pnpm build:types", | ||
"build": "pnpm build:types && pnpm build:swc", | ||
"build:clean": "find . \\( -type d \\( -name build -o -name dist -o -name .cache \\) -o -type f -name tsconfig.tsbuildinfo \\) -exec rm -rf {} + && pnpm build", | ||
"build:swc": "swc ./src -d ./dist --config-file .swcrc", | ||
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths", | ||
"build:types": "tsc --emitDeclarationOnly --outDir dist", | ||
@@ -50,0 +50,0 @@ "clean": "rimraf {dist,*.tsbuildinfo}" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
15450
-0.68%