diff --git a/deno.json b/deno.json index d1f8e5b..5f0022a 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,6 @@ { "name": "@cohabit/cohamail", - "version": "0.1.1", + "version": "0.1.2", "exports": { ".": "./mod.ts", "./cli": "./cli.ts", diff --git a/deno.lock b/deno.lock index 9b669cc..5b37940 100644 --- a/deno.lock +++ b/deno.lock @@ -4,6 +4,7 @@ "specifiers": { "jsr:@std/assert@^0.221.0": "jsr:@std/assert@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: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", diff --git a/mod.ts b/mod.ts index 259c2fb..eeefa49 100644 --- a/mod.ts +++ b/mod.ts @@ -1,2 +1,5 @@ export { send } from './src/send.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'