@lobb-js/lobb-ext-mail 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -0
- package/extensions/mail/index.ts +1 -0
- package/extensions/mail/studio/index.ts +7 -0
- package/package.json +40 -7
- package/.dockerignore +0 -7
- package/.env.example +0 -10
- package/.vscode/settings.json +0 -5
- package/CHANGELOG.md +0 -92
- package/lobb.ts +0 -48
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
package/extensions/mail/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ export function mail(extensionConfig: ExtensionConfig): Extension {
|
|
|
7
7
|
let transporter: ReturnType<typeof nodemailer.createTransport>;
|
|
8
8
|
return {
|
|
9
9
|
name: "mail",
|
|
10
|
+
icon: "Mail",
|
|
10
11
|
init: async (lobb: Lobb) => {
|
|
11
12
|
transporter = nodemailer.createTransport(extensionConfig.transporter);
|
|
12
13
|
},
|
package/package.json
CHANGED
|
@@ -1,29 +1,62 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobb-js/lobb-ext-mail",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"license": "
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
|
+
"files": [
|
|
10
|
+
"extensions",
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
9
13
|
"exports": {
|
|
10
|
-
".": "./extensions/mail/index.ts"
|
|
14
|
+
".": "./extensions/mail/index.ts",
|
|
15
|
+
"./studio": {
|
|
16
|
+
"svelte": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts"
|
|
18
|
+
}
|
|
11
19
|
},
|
|
12
20
|
"scripts": {
|
|
13
21
|
"test": "bun run test:lobb",
|
|
14
22
|
"test:lobb": "bun test extensions/mail/tests",
|
|
15
|
-
"dev": "bun run lobb.ts"
|
|
23
|
+
"dev": "bun run --watch lobb.ts",
|
|
24
|
+
"dev:studio": "vite dev",
|
|
25
|
+
"build": "vite build",
|
|
26
|
+
"start": "bun run lobb.ts",
|
|
27
|
+
"prepare": "svelte-kit sync || echo ''",
|
|
28
|
+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
29
|
+
"package": "svelte-package --input extensions/mail/studio",
|
|
30
|
+
"prepublishOnly": "lobb-ext-prepublish",
|
|
31
|
+
"postpublish": "lobb-ext-postpublish"
|
|
16
32
|
},
|
|
17
33
|
"dependencies": {
|
|
18
|
-
"@lobb-js/core": "^0.
|
|
34
|
+
"@lobb-js/core": "^0.29.0",
|
|
19
35
|
"nodemailer": "^6.9.0"
|
|
20
36
|
},
|
|
21
37
|
"devDependencies": {
|
|
38
|
+
"@lobb-js/studio": "^0.26.0",
|
|
39
|
+
"@sveltejs/package": "^2.5.7",
|
|
40
|
+
"@sveltejs/adapter-node": "^5.5.4",
|
|
41
|
+
"@sveltejs/kit": "^2.55.0",
|
|
42
|
+
"@sveltejs/vite-plugin-svelte": "6.2.1",
|
|
43
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
44
|
+
"@tsconfig/svelte": "^5.0.6",
|
|
45
|
+
"@types/mailparser": "^3.4.0",
|
|
46
|
+
"@types/node": "^24.10.1",
|
|
22
47
|
"@types/nodemailer": "^6.4.0",
|
|
23
48
|
"@types/smtp-server": "^3.5.10",
|
|
24
|
-
"@types/mailparser": "^3.4.0",
|
|
25
49
|
"bun-types": "latest",
|
|
50
|
+
"clsx": "^2.1.1",
|
|
26
51
|
"mailparser": "^3.7.1",
|
|
27
|
-
"smtp-server": "^3.13.5"
|
|
52
|
+
"smtp-server": "^3.13.5",
|
|
53
|
+
"svelte": "^5.49.1",
|
|
54
|
+
"svelte-check": "^4.3.4",
|
|
55
|
+
"tailwind-merge": "^3.4.0",
|
|
56
|
+
"tailwind-variants": "^3.2.2",
|
|
57
|
+
"tailwindcss": "4.1.18",
|
|
58
|
+
"tw-animate-css": "^1.4.0",
|
|
59
|
+
"typescript": "~5.9.3",
|
|
60
|
+
"vite": "6.3.3"
|
|
28
61
|
}
|
|
29
62
|
}
|
package/.dockerignore
DELETED
package/.env.example
DELETED
package/.vscode/settings.json
DELETED
package/CHANGELOG.md
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
|
|
3
|
-
|
|
4
|
-
- - -
|
|
5
|
-
## mail-ext@0.2.2 - 2026-03-28
|
|
6
|
-
#### Bug Fixes
|
|
7
|
-
- update readme to trigger publish - (cf1e896) - malik ben
|
|
8
|
-
- update READMEs to trigger republish of all packages - (2bd145d) - malik ben
|
|
9
|
-
#### Miscellaneous Chores
|
|
10
|
-
- (**version**) 0.26.2 - (1907933) - Cocogitto Bot
|
|
11
|
-
|
|
12
|
-
- - -
|
|
13
|
-
|
|
14
|
-
## mail-ext@0.2.1 - 2026-03-28
|
|
15
|
-
#### Bug Fixes
|
|
16
|
-
- adding readme to all packages - (3a9264a) - malik ben
|
|
17
|
-
#### Miscellaneous Chores
|
|
18
|
-
- add publishConfig and fix ext packages for npm publishing - (49747e9) - malik ben
|
|
19
|
-
|
|
20
|
-
- - -
|
|
21
|
-
|
|
22
|
-
## mail-ext@0.2.0 - 2026-03-28
|
|
23
|
-
#### Features
|
|
24
|
-
- (**mail-ext**) migrate to Bun - (20552c0) - malik ben
|
|
25
|
-
#### Bug Fixes
|
|
26
|
-
- (**studio**) prevent @lobb-js/studio version shadowing in extensions - (cd674b9) - malik ben
|
|
27
|
-
- chaning $lib to relative path - (c6d9e8f) - malik ben
|
|
28
|
-
- adding a studio prefix for the studio app - (6607b5a) - malik ben
|
|
29
|
-
#### Miscellaneous Chores
|
|
30
|
-
- (**mail-ext**) move extension logic and tests to extensions/mail - (529b0dc) - malik ben
|
|
31
|
-
- (**version**) 0.25.2 - (a62acb9) - Cocogitto Bot
|
|
32
|
-
- (**version**) 0.25.1 - (afe7e69) - Cocogitto Bot
|
|
33
|
-
- (**version**) 0.25.0 - (77a383c) - Cocogitto Bot
|
|
34
|
-
- (**version**) 0.24.0 - (a8cb605) - Cocogitto Bot
|
|
35
|
-
- (**version**) 0.23.0 - (60f357e) - Cocogitto Bot
|
|
36
|
-
- (**version**) 0.22.0 - (6510e32) - Cocogitto Bot
|
|
37
|
-
- (**version**) 0.21.0 - (c973aa9) - Cocogitto Bot
|
|
38
|
-
- (**version**) 0.20.0 - (06cc303) - Cocogitto Bot
|
|
39
|
-
- (**version**) 0.19.0 - (6bbc900) - Cocogitto Bot
|
|
40
|
-
- (**version**) 0.18.0 - (efc553f) - Cocogitto Bot
|
|
41
|
-
- (**version**) 0.17.0 - (4174f0c) - Cocogitto Bot
|
|
42
|
-
- (**version**) 0.16.0 - (9508655) - Cocogitto Bot
|
|
43
|
-
- (**version**) 0.15.0 - (0c2c345) - Cocogitto Bot
|
|
44
|
-
- (**version**) 0.14.11 - (ad92b61) - Cocogitto Bot
|
|
45
|
-
- (**version**) 0.14.8 - (0e6c1cb) - Cocogitto Bot
|
|
46
|
-
- (**version**) 0.14.5 - (59ea38d) - Cocogitto Bot
|
|
47
|
-
- (**version**) 0.14.3 - (76abe92) - Cocogitto Bot
|
|
48
|
-
- (**version**) 0.14.2 - (6ecdc1d) - Cocogitto Bot
|
|
49
|
-
- add dev:studio/build:studio scripts, fix Dockerfiles, remove --build flag - (1595975) - malik ben
|
|
50
|
-
- rename @lobb/ scope to @lobb-js/ across all packages and apps - (cce4ce0) - malik ben
|
|
51
|
-
- update CLAUDE.md to enforce no-commit-without-explicit-instruction rule - (6d63a42) - malik ben
|
|
52
|
-
- remove all deno.json and deno.lock files from the monorepo - (84ca5d4) - malik ben
|
|
53
|
-
- replace workspace:* with exact versions in all package.json files - (74fbdb7) - malik ben
|
|
54
|
-
- rename __studio to studio and remove unused studio dirs - (77fb932) - malik ben
|
|
55
|
-
- rename studio directory to __studio for faker-ext, llm-ext, mail-ext, reports-ext, storage-ext - (47e754a) - malik ben
|
|
56
|
-
- bump deno docker image to 2.6.6 across all Dockerfiles - (a2865b4) - malik ben
|
|
57
|
-
- fixing the /studio base issue - (de6686f) - Malik Najjar
|
|
58
|
-
|
|
59
|
-
- - -
|
|
60
|
-
|
|
61
|
-
## mail-ext@0.1.36 - 2026-02-21
|
|
62
|
-
#### Bug Fixes
|
|
63
|
-
- using default export instead of named export for extensions - (37dd485) - malik ben
|
|
64
|
-
#### Miscellaneous Chores
|
|
65
|
-
- (**version**) 0.13.2 - (39b0145) - Cocogitto Bot
|
|
66
|
-
- (**version**) 0.12.3 - (cd06fc0) - Cocogitto Bot
|
|
67
|
-
- (**version**) 0.12.2 - (35b2ff3) - Cocogitto Bot
|
|
68
|
-
- (**version**) 0.12.1 - (c548105) - Cocogitto Bot
|
|
69
|
-
- (**version**) 0.11.1 - (659ebd3) - Cocogitto Bot
|
|
70
|
-
- (**version**) 0.11.0 - (3f4f47e) - Cocogitto Bot
|
|
71
|
-
- (**version**) 0.10.0 - (5d79b6e) - Cocogitto Bot
|
|
72
|
-
- (**version**) 0.8.0 - (fdee7ca) - Cocogitto Bot
|
|
73
|
-
|
|
74
|
-
- - -
|
|
75
|
-
|
|
76
|
-
## mail-ext@0.1.35 - 2026-02-15
|
|
77
|
-
#### Bug Fixes
|
|
78
|
-
- fix deno publish issue - (e8dcc4f) - malik ben
|
|
79
|
-
- issue fix - (63d66d3) - malik ben
|
|
80
|
-
#### Miscellaneous Chores
|
|
81
|
-
- (**version**) 0.5.5 - (d4dedeb) - Cocogitto Bot
|
|
82
|
-
- (**version**) 0.5.4 - (1ca3970) - Cocogitto Bot
|
|
83
|
-
- (**version**) 0.5.3 - (dcdb9cb) - Cocogitto Bot
|
|
84
|
-
- (**version**) 0.5.2 - (aa66e29) - Cocogitto Bot
|
|
85
|
-
- (**version**) 0.5.1 - (41b7c35) - Cocogitto Bot
|
|
86
|
-
- (**version**) 0.5.0 - (af63147) - Cocogitto Bot
|
|
87
|
-
- (**version**) 0.4.4 - (eaed3b4) - Cocogitto Bot
|
|
88
|
-
- (**version**) 0.4.3 - (ea9ec49) - Cocogitto Bot
|
|
89
|
-
|
|
90
|
-
- - -
|
|
91
|
-
|
|
92
|
-
Changelog generated by [cocogitto](https://github.com/cocogitto/cocogitto).
|
package/lobb.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Lobb } from "@lobb-js/core";
|
|
2
|
-
import { mail } from "./extensions/mail/index.ts";
|
|
3
|
-
|
|
4
|
-
Lobb.init({
|
|
5
|
-
project: {
|
|
6
|
-
name: "Mail Extension Test",
|
|
7
|
-
force_sync: true,
|
|
8
|
-
},
|
|
9
|
-
database: {
|
|
10
|
-
host: "localhost",
|
|
11
|
-
port: 5432,
|
|
12
|
-
username: "test",
|
|
13
|
-
password: "test",
|
|
14
|
-
database: "mail_ext_dev",
|
|
15
|
-
},
|
|
16
|
-
web_server: {
|
|
17
|
-
host: "0.0.0.0",
|
|
18
|
-
port: 3000,
|
|
19
|
-
cors: {
|
|
20
|
-
origin: "*",
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
extensions: [
|
|
24
|
-
mail({
|
|
25
|
-
transporter: {
|
|
26
|
-
host: "localhost",
|
|
27
|
-
port: 587,
|
|
28
|
-
secure: false,
|
|
29
|
-
},
|
|
30
|
-
}),
|
|
31
|
-
],
|
|
32
|
-
collections: {
|
|
33
|
-
articles: {
|
|
34
|
-
indexes: {},
|
|
35
|
-
fields: {
|
|
36
|
-
id: { type: "integer" },
|
|
37
|
-
title: {
|
|
38
|
-
type: "string",
|
|
39
|
-
length: 255,
|
|
40
|
-
},
|
|
41
|
-
body: {
|
|
42
|
-
type: "string",
|
|
43
|
-
length: 255,
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
});
|