@bobfrankston/mailx 1.0.7 → 1.0.9

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.
Files changed (2) hide show
  1. package/bin/mailx.js +4 -4
  2. package/package.json +7 -2
package/bin/mailx.js CHANGED
@@ -37,15 +37,15 @@ async function main() {
37
37
 
38
38
  const inUse = await isPortInUse(PORT);
39
39
  if (inUse) {
40
- console.log(`mailx server already running on port ${PORT}`);
40
+ console.log("mailx is already running");
41
41
  if (!noBrowser) {
42
42
  openBrowser(`http://localhost:${PORT}`);
43
- console.log(`Opened http://localhost:${PORT}`);
43
+ console.log("mailx opened");
44
44
  }
45
45
  return;
46
46
  }
47
47
 
48
- console.log(`Starting mailx on port ${PORT}...`);
48
+ console.log("Starting mailx...");
49
49
 
50
50
  if (args.includes("--external")) process.argv.push("--external");
51
51
 
@@ -58,7 +58,7 @@ async function main() {
58
58
  if (await isPortInUse(PORT)) break;
59
59
  }
60
60
  openBrowser(`http://localhost:${PORT}`);
61
- console.log(`Opened http://localhost:${PORT}`);
61
+ console.log("mailx opened");
62
62
  }
63
63
  }
64
64
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",
@@ -24,7 +24,12 @@
24
24
  "@bobfrankston/oauthsupport": "^1.0.10",
25
25
  "@bobfrankston/certsupport": "^1.0.35",
26
26
  "mailparser": "^3.7.2",
27
- "quill": "^2.0.3"
27
+ "quill": "^2.0.3",
28
+ "express": "^4.21.0",
29
+ "nodemailer": "^7.0.0",
30
+ "ws": "^8.18.0",
31
+ "jsonc-parser": "^3.3.1",
32
+ "better-sqlite3": "^11.7.0"
28
33
  },
29
34
  "devDependencies": {
30
35
  "@types/mailparser": "^3.4.6"