@mailmodo/cli 0.0.24-beta.pr26.41 → 0.0.25-beta.pr27.42

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.
@@ -225,10 +225,11 @@ export default class Preview extends BaseCommand {
225
225
  }
226
226
  await new Promise((resolve) => {
227
227
  const shutdown = () => {
228
+ server.closeAllConnections?.();
228
229
  server.close(() => resolve());
229
230
  };
230
- process.on('SIGINT', shutdown);
231
- process.on('SIGTERM', shutdown);
231
+ process.once('SIGINT', shutdown);
232
+ process.once('SIGTERM', shutdown);
232
233
  });
233
234
  }
234
235
  }
@@ -53,45 +53,6 @@
53
53
  "index.js"
54
54
  ]
55
55
  },
56
- "deploy": {
57
- "aliases": [],
58
- "args": {},
59
- "description": "Deploy email sequences and verify sending domain",
60
- "examples": [
61
- "<%= config.bin %> deploy",
62
- "<%= config.bin %> deploy --yes"
63
- ],
64
- "flags": {
65
- "json": {
66
- "description": "Output as JSON",
67
- "name": "json",
68
- "allowNo": false,
69
- "type": "boolean"
70
- },
71
- "yes": {
72
- "char": "y",
73
- "description": "Skip confirmation prompts",
74
- "name": "yes",
75
- "allowNo": false,
76
- "type": "boolean"
77
- }
78
- },
79
- "hasDynamicHelp": false,
80
- "hiddenAliases": [],
81
- "id": "deploy",
82
- "pluginAlias": "@mailmodo/cli",
83
- "pluginName": "@mailmodo/cli",
84
- "pluginType": "core",
85
- "strict": true,
86
- "enableJsonFlag": false,
87
- "isESM": true,
88
- "relativePath": [
89
- "dist",
90
- "commands",
91
- "deploy",
92
- "index.js"
93
- ]
94
- },
95
56
  "contacts": {
96
57
  "aliases": [],
97
58
  "args": {},
@@ -153,14 +114,13 @@
153
114
  "index.js"
154
115
  ]
155
116
  },
156
- "domain": {
117
+ "deploy": {
157
118
  "aliases": [],
158
119
  "args": {},
159
- "description": "Set up and verify your sending domain",
120
+ "description": "Deploy email sequences and verify sending domain",
160
121
  "examples": [
161
- "<%= config.bin %> domain",
162
- "<%= config.bin %> domain --verify",
163
- "<%= config.bin %> domain --status"
122
+ "<%= config.bin %> deploy",
123
+ "<%= config.bin %> deploy --yes"
164
124
  ],
165
125
  "flags": {
166
126
  "json": {
@@ -175,23 +135,11 @@
175
135
  "name": "yes",
176
136
  "allowNo": false,
177
137
  "type": "boolean"
178
- },
179
- "status": {
180
- "description": "Show domain health status",
181
- "name": "status",
182
- "allowNo": false,
183
- "type": "boolean"
184
- },
185
- "verify": {
186
- "description": "Verify DNS records",
187
- "name": "verify",
188
- "allowNo": false,
189
- "type": "boolean"
190
138
  }
191
139
  },
192
140
  "hasDynamicHelp": false,
193
141
  "hiddenAliases": [],
194
- "id": "domain",
142
+ "id": "deploy",
195
143
  "pluginAlias": "@mailmodo/cli",
196
144
  "pluginName": "@mailmodo/cli",
197
145
  "pluginType": "core",
@@ -201,23 +149,18 @@
201
149
  "relativePath": [
202
150
  "dist",
203
151
  "commands",
204
- "domain",
152
+ "deploy",
205
153
  "index.js"
206
154
  ]
207
155
  },
208
- "edit": {
156
+ "domain": {
209
157
  "aliases": [],
210
- "args": {
211
- "id": {
212
- "description": "Email template ID to edit",
213
- "name": "id",
214
- "required": true
215
- }
216
- },
217
- "description": "Edit an email using AI-assisted natural language changes",
158
+ "args": {},
159
+ "description": "Set up and verify your sending domain",
218
160
  "examples": [
219
- "<%= config.bin %> edit welcome",
220
- "<%= config.bin %> edit welcome --change \"make subject more urgent\" --yes"
161
+ "<%= config.bin %> domain",
162
+ "<%= config.bin %> domain --verify",
163
+ "<%= config.bin %> domain --status"
221
164
  ],
222
165
  "flags": {
223
166
  "json": {
@@ -233,17 +176,22 @@
233
176
  "allowNo": false,
234
177
  "type": "boolean"
235
178
  },
236
- "change": {
237
- "description": "Natural language description of the change",
238
- "name": "change",
239
- "hasDynamicHelp": false,
240
- "multiple": false,
241
- "type": "option"
179
+ "status": {
180
+ "description": "Show domain health status",
181
+ "name": "status",
182
+ "allowNo": false,
183
+ "type": "boolean"
184
+ },
185
+ "verify": {
186
+ "description": "Verify DNS records",
187
+ "name": "verify",
188
+ "allowNo": false,
189
+ "type": "boolean"
242
190
  }
243
191
  },
244
192
  "hasDynamicHelp": false,
245
193
  "hiddenAliases": [],
246
- "id": "edit",
194
+ "id": "domain",
247
195
  "pluginAlias": "@mailmodo/cli",
248
196
  "pluginName": "@mailmodo/cli",
249
197
  "pluginType": "core",
@@ -253,7 +201,7 @@
253
201
  "relativePath": [
254
202
  "dist",
255
203
  "commands",
256
- "edit",
204
+ "domain",
257
205
  "index.js"
258
206
  ]
259
207
  },
@@ -489,6 +437,58 @@
489
437
  "index.js"
490
438
  ]
491
439
  },
440
+ "edit": {
441
+ "aliases": [],
442
+ "args": {
443
+ "id": {
444
+ "description": "Email template ID to edit",
445
+ "name": "id",
446
+ "required": true
447
+ }
448
+ },
449
+ "description": "Edit an email using AI-assisted natural language changes",
450
+ "examples": [
451
+ "<%= config.bin %> edit welcome",
452
+ "<%= config.bin %> edit welcome --change \"make subject more urgent\" --yes"
453
+ ],
454
+ "flags": {
455
+ "json": {
456
+ "description": "Output as JSON",
457
+ "name": "json",
458
+ "allowNo": false,
459
+ "type": "boolean"
460
+ },
461
+ "yes": {
462
+ "char": "y",
463
+ "description": "Skip confirmation prompts",
464
+ "name": "yes",
465
+ "allowNo": false,
466
+ "type": "boolean"
467
+ },
468
+ "change": {
469
+ "description": "Natural language description of the change",
470
+ "name": "change",
471
+ "hasDynamicHelp": false,
472
+ "multiple": false,
473
+ "type": "option"
474
+ }
475
+ },
476
+ "hasDynamicHelp": false,
477
+ "hiddenAliases": [],
478
+ "id": "edit",
479
+ "pluginAlias": "@mailmodo/cli",
480
+ "pluginName": "@mailmodo/cli",
481
+ "pluginType": "core",
482
+ "strict": true,
483
+ "enableJsonFlag": false,
484
+ "isESM": true,
485
+ "relativePath": [
486
+ "dist",
487
+ "commands",
488
+ "edit",
489
+ "index.js"
490
+ ]
491
+ },
492
492
  "preview": {
493
493
  "aliases": [],
494
494
  "args": {
@@ -634,5 +634,5 @@
634
634
  ]
635
635
  }
636
636
  },
637
- "version": "0.0.24-beta.pr26.41"
637
+ "version": "0.0.25-beta.pr27.42"
638
638
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mailmodo/cli",
3
3
  "description": "Email lifecycle automation for the AI-native builder generation.",
4
- "version": "0.0.24-beta.pr26.41",
4
+ "version": "0.0.25-beta.pr27.42",
5
5
  "author": "provishalk",
6
6
  "bin": {
7
7
  "mailmodo": "bin/run.js"