refactor: export templates and types from mod.ts
This commit is contained in:
parent
199207e5af
commit
3e429732c8
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@cohabit/cohamail",
|
"name": "@cohabit/cohamail",
|
||||||
"version": "0.1.1",
|
"version": "0.1.2",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./mod.ts",
|
".": "./mod.ts",
|
||||||
"./cli": "./cli.ts",
|
"./cli": "./cli.ts",
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
"specifiers": {
|
"specifiers": {
|
||||||
"jsr:@std/assert@^0.221.0": "jsr:@std/assert@0.221.0",
|
"jsr:@std/assert@^0.221.0": "jsr:@std/assert@0.221.0",
|
||||||
"jsr:@std/path@^0.221.0": "jsr:@std/path@0.221.0",
|
"jsr:@std/path@^0.221.0": "jsr:@std/path@0.221.0",
|
||||||
|
"npm:@types/node": "npm:@types/node@18.16.19",
|
||||||
"npm:@types/nodemailer": "npm:@types/nodemailer@6.4.14",
|
"npm:@types/nodemailer": "npm:@types/nodemailer@6.4.14",
|
||||||
"npm:html-to-md": "npm:html-to-md@0.8.5",
|
"npm:html-to-md": "npm:html-to-md@0.8.5",
|
||||||
"npm:jsx-email@^1.10.12": "npm:jsx-email@1.10.12_@jsx-email+app-preview@1.2.5__react@18.2.0__react-dom@18.2.0___react@18.2.0__vite@4.5.3_react@18.2.0_vite@4.5.3_postcss@8.4.38",
|
"npm:jsx-email@^1.10.12": "npm:jsx-email@1.10.12_@jsx-email+app-preview@1.2.5__react@18.2.0__react-dom@18.2.0___react@18.2.0__vite@4.5.3_react@18.2.0_vite@4.5.3_postcss@8.4.38",
|
||||||
|
|
3
mod.ts
3
mod.ts
|
@ -1,2 +1,5 @@
|
||||||
export { send } from './src/send.ts'
|
export { send } from './src/send.ts'
|
||||||
export { Contact } from './src/contact.ts'
|
export { Contact } from './src/contact.ts'
|
||||||
|
export type { Mail, Template } from './types.ts'
|
||||||
|
export { default as Message } from './templates/Message.tsx'
|
||||||
|
export { default as Welcome } from './templates/Welcome.tsx'
|
||||||
|
|
Loading…
Reference in a new issue