easy-cms 1.11.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
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  run
4
- } from "./chunk-BKK4GU35.js";
4
+ } from "./chunk-RXY6YYSF.js";
5
5
 
6
6
  // src/bin.ts
7
7
  process.exitCode = await run(process.argv.slice(2));
@@ -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
@@ -2,7 +2,7 @@ import {
2
2
  createStandaloneHandler,
3
3
  run,
4
4
  startServer
5
- } from "./chunk-BKK4GU35.js";
5
+ } from "./chunk-RXY6YYSF.js";
6
6
  export {
7
7
  createStandaloneHandler,
8
8
  run,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-cms",
3
- "version": "1.11.0",
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.11.0",
25
- "@easy-cms/admin": "^1.11.0"
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.11.0"
28
+ "@easy-cms/db-sqlite": "^1.12.0"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"