Skip to content

Commit 5d3c9b4

Browse files
chore: update exports for all providers with type and import paths
1 parent 9562cf2 commit 5d3c9b4

File tree

3 files changed

+270
-174
lines changed

3 files changed

+270
-174
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,8 @@ This project's architecture and provider pattern was inspired by [unjs/unstorage
459459
[npm-version-href]: https://npmjs.com/package/unemail
460460
[npm-downloads-src]: https://img.shields.io/npm/dm/unemail?style=flat&colorA=080f12&colorB=1fa669
461461
[npm-downloads-href]: https://npmjs.com/package/unemail
462-
[bundle-src]: https://img.shields.io/bundlephobia/minzip/unemail?style=flat&colorA=080f12&colorB=1fa669&label=minzip
463-
[bundle-href]: https://bundlephobia.com/result?p=unemail
462+
[bundle-src]: https://deno.bundlejs.com/badge?q=unemail@0.0.4
463+
[bundle-href]: https://deno.bundlejs.com/badge?q=unemail@0.0.4
464464
[license-src]: https://img.shields.io/github/license/productdevbook/unemail.svg?style=flat&colorA=080f12&colorB=1fa669
465465
[license-href]: https://github.com/productdevbook/unemail/blob/main/LICENSE
466466
[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669

package.json

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"version": "0.0.4",
55
"private": false,
6-
"packageManager": "pnpm@10.7.1",
6+
"packageManager": "pnpm@10.8.1",
77
"description": "A modern TypeScript email library with zero dependencies, supporting multiple providers including AWS SES, Resend, MailCrab, and HTTP APIs",
88
"author": "productdevbook <hi@productdevbook.com>",
99
"license": "MIT",
@@ -38,9 +38,29 @@
3838
"types": "./dist/index.d.mts",
3939
"import": "./dist/index.mjs"
4040
},
41-
"./providers/*": {
42-
"types": "./dist/providers/*.d.mts",
43-
"import": "./dist/providers/*.mjs"
41+
"./providers/aws-ses": {
42+
"types": "./dist/providers/aws-ses/index.d.mts",
43+
"import": "./dist/providers/aws-ses/index.mjs"
44+
},
45+
"./providers/resend": {
46+
"types": "./dist/providers/resend/index.d.mts",
47+
"import": "./dist/providers/resend/index.mjs"
48+
},
49+
"./providers/mailcrab": {
50+
"types": "./dist/providers/mailcrab/index.d.mts",
51+
"import": "./dist/providers/mailcrab/index.mjs"
52+
},
53+
"./providers/http": {
54+
"types": "./dist/providers/http/index.d.mts",
55+
"import": "./dist/providers/http/index.mjs"
56+
},
57+
"./providers/smtp": {
58+
"types": "./dist/providers/smtp/index.d.mts",
59+
"import": "./dist/providers/smtp/index.mjs"
60+
},
61+
"./providers": {
62+
"types": "./dist/providers/index.d.mts",
63+
"import": "./dist/providers/index.mjs"
4464
},
4565
"./types": {
4666
"types": "./dist/types/index.d.mts",
@@ -83,11 +103,11 @@
83103
"release": "pnpm build && pnpm bumpp && pnpm publish --no-git-checks --access public"
84104
},
85105
"devDependencies": {
86-
"@antfu/eslint-config": "^4.11.0",
87-
"@types/node": "^22.14.0",
106+
"@antfu/eslint-config": "^4.12.0",
107+
"@types/node": "^22.14.1",
88108
"@vitest/coverage-v8": "^3.1.1",
89109
"bumpp": "^10.1.0",
90-
"dotenv": "^16.4.7",
110+
"dotenv": "^16.5.0",
91111
"eslint": "^9.24.0",
92112
"ts-node": "^10.9.2",
93113
"typescript": "^5.8.3",

0 commit comments

Comments
 (0)