easy-cms 1.10.0 → 1.12.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/bin.js
CHANGED
|
@@ -399,7 +399,7 @@ async function run(argv, io = defaultIO) {
|
|
|
399
399
|
return 0;
|
|
400
400
|
}
|
|
401
401
|
case "jobs:run": {
|
|
402
|
-
const { scheduled, webhooks, emails } = await cms.runJobs();
|
|
402
|
+
const { scheduled, webhooks, emails, outbox } = await cms.runJobs();
|
|
403
403
|
const { ran, failed } = scheduled;
|
|
404
404
|
io.out(`Ran ${ran} scheduled job(s)${failed ? `, ${failed} failed` : ""}.`);
|
|
405
405
|
if (webhooks.sent || webhooks.failed)
|
|
@@ -410,6 +410,10 @@ async function run(argv, io = defaultIO) {
|
|
|
410
410
|
io.out(
|
|
411
411
|
`Retried emails: ${emails.sent} sent${emails.failed ? `, ${emails.failed} gave up` : ""}.`
|
|
412
412
|
);
|
|
413
|
+
if (outbox.ran || outbox.failed)
|
|
414
|
+
io.out(
|
|
415
|
+
`Outbox: ${outbox.ran} ran${outbox.failed ? `, ${outbox.failed} failed (retried later)` : ""}.`
|
|
416
|
+
);
|
|
413
417
|
return failed ? 1 : 0;
|
|
414
418
|
}
|
|
415
419
|
case "migrate": {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easy-cms",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "Command line tool for Easy CMS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"node": ">=22.12"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@easy-cms/core": "^1.
|
|
25
|
-
"@easy-cms/admin": "^1.
|
|
24
|
+
"@easy-cms/core": "^1.12.0",
|
|
25
|
+
"@easy-cms/admin": "^1.12.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@easy-cms/db-sqlite": "^1.
|
|
28
|
+
"@easy-cms/db-sqlite": "^1.12.0"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|