refactor: fix errors from deno publish

This commit is contained in:
Julien Oculi 2024-07-15 15:07:29 +02:00
parent b4954163b2
commit 7006664fc4
5 changed files with 7 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@cohabit/mailer",
"version": "0.3.0",
"version": "0.3.1",
"exports": {
".": "./mod.ts",
"./cli": "./cli.ts",
@ -20,6 +20,7 @@
"@cliffy/command": "jsr:@cliffy/command@^1.0.0-rc.5",
"@cliffy/prompt": "jsr:@cliffy/prompt@^1.0.0-rc.5",
"@std/path": "jsr:@std/path@^0.221.0",
"@types/nodemailer": "npm:@types/nodemailer@^6.4.15",
"jsx-email": "npm:jsx-email@^1.10.12",
"nodemailer": "npm:nodemailer@^6.9.13",
"nodemailer-smime": "npm:nodemailer-smime@^1.1.0",

View file

@ -20,6 +20,7 @@
"jsr:@std/text@1.0.0-rc.1": "jsr:@std/text@1.0.0-rc.1",
"npm:@types/node": "npm:@types/node@18.16.19",
"npm:@types/nodemailer": "npm:@types/nodemailer@6.4.15",
"npm:@types/nodemailer@^6.4.15": "npm:@types/nodemailer@6.4.15",
"npm:jsx-email@^1.10.12": "npm:jsx-email@1.12.1_@jsx-email+app-preview@1.2.6__react@18.3.1__react-dom@18.2.0___react@18.3.1__vite@4.5.3_react@18.3.1_vite@4.5.3_postcss@8.4.39",
"npm:nodemailer@^6.9.13": "npm:nodemailer@6.9.14",
"npm:preact@^10.20.1": "npm:preact@10.22.1",
@ -4064,6 +4065,7 @@
"jsr:@cliffy/command@^1.0.0-rc.5",
"jsr:@cliffy/prompt@^1.0.0-rc.5",
"jsr:@std/path@^0.221.0",
"npm:@types/nodemailer@^6.4.15",
"npm:jsx-email@^1.10.12",
"npm:nodemailer-smime@^1.1.0",
"npm:nodemailer@^6.9.13",

View file

@ -1,4 +1,4 @@
import type SendmailTransport from 'npm:@types/nodemailer'
import type SendmailTransport from 'nodemailer'
import type { Mail } from '../types.ts'
import { renderTemplate } from './template.tsx'
import { transporter } from './transporter.ts'

View file

@ -1,6 +1,6 @@
import React from 'preact/compat' //for jsx-email
import { render } from 'jsx-email'
// @deno-types="npm:turndown"
// @deno-types="turndown"
import Turndown from 'turndown'
import type { JSX } from 'preact'

View file

@ -1,4 +1,4 @@
// @deno-types="npm:@types/nodemailer"
// @deno-types="@types/nodemailer"
import nodemailer from 'nodemailer'
import dkim from '../config/dkim.json' with { type: 'json' }