@cedarjs/jobs 4.0.1-next.0 → 4.1.0-rc.70

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.
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env node
2
+ import type { Worker } from '../core/Worker.js';
3
+ export declare const processName: ({ id, queues, }: {
4
+ id: number;
5
+ queues: string | string[];
6
+ }) => string;
7
+ export declare const getWorker: ({ index, id, clear, workoff, }: {
8
+ index: number;
9
+ id: number;
10
+ clear: boolean;
11
+ workoff: boolean;
12
+ }) => Promise<Worker>;
13
+ //# sourceMappingURL=cedar-jobs-worker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cedar-jobs-worker.d.ts","sourceRoot":"","sources":["../../src/bins/cedar-jobs-worker.ts"],"names":[],"mappings":";AAWA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAwC/C,eAAO,MAAM,WAAW,GAAI,iBAGzB;IACD,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC1B,WAEA,CAAA;AA0BD,eAAO,MAAM,SAAS,GAAU,gCAK7B;IACD,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,OAAO,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;CACjB,oBAqBA,CAAA"}
@@ -0,0 +1,126 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+ var cedar_jobs_worker_exports = {};
31
+ __export(cedar_jobs_worker_exports, {
32
+ getWorker: () => getWorker,
33
+ processName: () => processName
34
+ });
35
+ module.exports = __toCommonJS(cedar_jobs_worker_exports);
36
+ var import_node_process = __toESM(require("node:process"));
37
+ var import_helpers = require("yargs/helpers");
38
+ var import_yargs = __toESM(require("yargs/yargs"));
39
+ var import_consts = require("../consts.js");
40
+ var import_errors = require("../errors.js");
41
+ var import_loaders = require("../loaders.js");
42
+ var import_setupEnv = require("../setupEnv.js");
43
+ (0, import_setupEnv.setupEnv)();
44
+ const parseArgs = (argv) => {
45
+ return (0, import_yargs.default)((0, import_helpers.hideBin)(argv)).usage(
46
+ "Starts a single CedarJS Jobs worker to process background jobs\n\nUsage: $0 [options]"
47
+ ).option("index", {
48
+ type: "number",
49
+ required: true,
50
+ description: "The index of the `workers` array from the exported `jobs` config to use to configure this worker"
51
+ }).option("id", {
52
+ type: "number",
53
+ required: true,
54
+ description: "The worker count id to identify this worker. ie: if you had `count: 2` in your worker config, you would have two workers with ids 0 and 1"
55
+ }).option("workoff", {
56
+ type: "boolean",
57
+ default: false,
58
+ description: "Work off all jobs in the queue(s) and exit"
59
+ }).option("clear", {
60
+ type: "boolean",
61
+ default: false,
62
+ description: "Remove all jobs in all queues and exit"
63
+ }).help().argv;
64
+ };
65
+ const processName = ({
66
+ id,
67
+ queues
68
+ }) => {
69
+ return `${import_consts.PROCESS_TITLE_PREFIX}.${[queues].flat().join("-")}.${id}`;
70
+ };
71
+ const setupSignals = ({ worker }) => {
72
+ import_node_process.default.on("SIGINT", () => {
73
+ worker.logger.warn(
74
+ `[${import_node_process.default.title}] SIGINT received at ${(/* @__PURE__ */ new Date()).toISOString()}, finishing work...`
75
+ );
76
+ worker.forever = false;
77
+ });
78
+ import_node_process.default.on("SIGTERM", () => {
79
+ worker.logger.warn(
80
+ `[${import_node_process.default.title}] SIGTERM received at ${(/* @__PURE__ */ new Date()).toISOString()}, exiting now!`
81
+ );
82
+ import_node_process.default.exit(0);
83
+ });
84
+ };
85
+ const getWorker = async ({
86
+ index,
87
+ id,
88
+ clear,
89
+ workoff
90
+ }) => {
91
+ let manager;
92
+ try {
93
+ manager = await (0, import_loaders.loadJobsManager)();
94
+ } catch (e) {
95
+ console.error(e);
96
+ import_node_process.default.exit(1);
97
+ }
98
+ const workerConfig = manager.workers[index];
99
+ if (!workerConfig) {
100
+ throw new import_errors.WorkerConfigIndexNotFoundError(index);
101
+ }
102
+ return manager.createWorker({
103
+ index,
104
+ clear,
105
+ workoff,
106
+ processName: processName({ id, queues: workerConfig.queue })
107
+ });
108
+ };
109
+ const main = async () => {
110
+ const { index, id, clear, workoff } = await parseArgs(import_node_process.default.argv);
111
+ const worker = await getWorker({ index, id, clear, workoff });
112
+ import_node_process.default.title = processName({ id, queues: worker.queues });
113
+ worker.run().then(() => {
114
+ worker.logger.info(`[${import_node_process.default.title}] Worker finished, shutting down.`);
115
+ import_node_process.default.exit(0);
116
+ });
117
+ setupSignals({ worker });
118
+ };
119
+ if (import_node_process.default.env.NODE_ENV !== "test") {
120
+ main();
121
+ }
122
+ // Annotate the CommonJS export names for ESM import in node:
123
+ 0 && (module.exports = {
124
+ getWorker,
125
+ processName
126
+ });
@@ -17,4 +17,4 @@ export declare const stopWorkers: ({ numWorkers, signal, logger, }: {
17
17
  export declare const clearQueue: ({ logger }: {
18
18
  logger: BasicLogger;
19
19
  }) => void;
20
- //# sourceMappingURL=rw-jobs.d.ts.map
20
+ //# sourceMappingURL=cedar-jobs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cedar-jobs.d.ts","sourceRoot":"","sources":["../../src/bins/cedar-jobs.ts"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAatD,OAAO,KAAK,EAEV,WAAW,EAGZ,MAAM,aAAa,CAAA;AAEpB,MAAM,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAA;AAyEjD,eAAO,MAAM,eAAe,GAAI,QAAQ,GAAG,qBAU1C,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,0CAK1B;IACD,UAAU,EAAE,gBAAgB,CAAA;IAC5B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,EAAE,WAAW,CAAA;CACpB,mBA2BA,CAAA;AAGD,eAAO,MAAM,WAAW,GAAU,iCAI/B;IACD,UAAU,EAAE,gBAAgB,CAAA;IAC5B,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,WAAW,CAAA;CACpB,kBAqBA,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,YAAY;IAAE,MAAM,EAAE,WAAW,CAAA;CAAE,SAG7D,CAAA"}
@@ -27,14 +27,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  mod
28
28
  ));
29
29
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
- var rw_jobs_exports = {};
31
- __export(rw_jobs_exports, {
30
+ var cedar_jobs_exports = {};
31
+ __export(cedar_jobs_exports, {
32
32
  buildNumWorkers: () => buildNumWorkers,
33
33
  clearQueue: () => clearQueue,
34
34
  startWorkers: () => startWorkers,
35
35
  stopWorkers: () => stopWorkers
36
36
  });
37
- module.exports = __toCommonJS(rw_jobs_exports);
37
+ module.exports = __toCommonJS(cedar_jobs_exports);
38
38
  var import_node_child_process = require("node:child_process");
39
39
  var import_node_console = __toESM(require("node:console"));
40
40
  var import_node_path = __toESM(require("node:path"));
@@ -46,24 +46,24 @@ var import_consts = require("../consts.js");
46
46
  var import_loaders = require("../loaders.js");
47
47
  var import_setupEnv = require("../setupEnv.js");
48
48
  (0, import_setupEnv.setupEnv)();
49
- import_node_process.default.title = "rw-jobs";
50
- const WORKER_PATH = import_node_path.default.join(__dirname, "rw-jobs-worker.js");
49
+ import_node_process.default.title = "cedar-jobs";
50
+ const WORKER_PATH = import_node_path.default.join(__dirname, "cedar-jobs-worker.js");
51
51
  const parseArgs = (argv) => {
52
52
  const commandString = (0, import_helpers.hideBin)(argv);
53
53
  if (commandString.length === 1 && commandString[0] === "jobs") {
54
54
  commandString.shift();
55
55
  }
56
56
  const parsed = (0, import_yargs.default)(commandString).usage(
57
- "Starts the CedarJS Jobs runner to process background jobs\n\nUsage: rw jobs <command> [options]"
57
+ "Starts the CedarJS Jobs runner to process background jobs\n\nUsage: cedar jobs <command> [options]"
58
58
  ).command("work", "Start a worker and process jobs").command("workoff", "Start a worker and exit after all jobs processed").command("start", "Start workers in daemon mode").command("stop", "Stop any daemonized job workers").command("restart", "Stop and start any daemonized job workers").command("clear", "Clear the job queue").demandCommand(1, "You must specify a mode to start in").example(
59
- "rw jobs work",
59
+ "cedar jobs work",
60
60
  "Start the job workers using the job config and work on jobs until manually stopped"
61
61
  ).example(
62
- "rw jobs start",
62
+ "cedar jobs start",
63
63
  "Start the job workers using the job config and detach, running in daemon mode"
64
64
  ).help().parse(commandString, (_err, _argv, output) => {
65
65
  if (output) {
66
- const newOutput = output.replaceAll("rw-jobs.js", "rw jobs");
66
+ const newOutput = output.replaceAll("cedar-jobs.js", "cedar jobs");
67
67
  import_node_console.default.log(newOutput);
68
68
  }
69
69
  });
@@ -1,13 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import type { Worker } from '../core/Worker.js';
3
- export declare const processName: ({ id, queues, }: {
4
- id: number;
5
- queues: string | string[];
6
- }) => string;
7
- export declare const getWorker: ({ index, id, clear, workoff, }: {
8
- index: number;
9
- id: number;
10
- clear: boolean;
11
- workoff: boolean;
12
- }) => Promise<Worker>;
2
+ export {};
13
3
  //# sourceMappingURL=rw-jobs-worker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rw-jobs-worker.d.ts","sourceRoot":"","sources":["../../src/bins/rw-jobs-worker.ts"],"names":[],"mappings":";AAWA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAwC/C,eAAO,MAAM,WAAW,GAAI,iBAGzB;IACD,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC1B,WAEA,CAAA;AA0BD,eAAO,MAAM,SAAS,GAAU,gCAK7B;IACD,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,OAAO,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;CACjB,oBAqBA,CAAA"}
1
+ {"version":3,"file":"rw-jobs-worker.d.ts","sourceRoot":"","sources":["../../src/bins/rw-jobs-worker.ts"],"names":[],"mappings":""}
@@ -1,126 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __export = (target, all) => {
10
- for (var name in all)
11
- __defProp(target, name, { get: all[name], enumerable: true });
12
- };
13
- var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from))
16
- if (!__hasOwnProp.call(to, key) && key !== except)
17
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
- }
19
- return to;
20
- };
21
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
- // If the importer is in node compatibility mode or this is not an ESM
23
- // file that has been converted to a CommonJS file using a Babel-
24
- // compatible transform (i.e. "__esModule" has not been set), then set
25
- // "default" to the CommonJS "module.exports" for node compatibility.
26
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
- mod
28
- ));
29
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
- var rw_jobs_worker_exports = {};
31
- __export(rw_jobs_worker_exports, {
32
- getWorker: () => getWorker,
33
- processName: () => processName
34
- });
35
- module.exports = __toCommonJS(rw_jobs_worker_exports);
36
- var import_node_process = __toESM(require("node:process"));
37
- var import_helpers = require("yargs/helpers");
38
- var import_yargs = __toESM(require("yargs/yargs"));
39
- var import_consts = require("../consts.js");
40
- var import_errors = require("../errors.js");
41
- var import_loaders = require("../loaders.js");
42
- var import_setupEnv = require("../setupEnv.js");
43
- (0, import_setupEnv.setupEnv)();
44
- const parseArgs = (argv) => {
45
- return (0, import_yargs.default)((0, import_helpers.hideBin)(argv)).usage(
46
- "Starts a single CedarJS Jobs worker to process background jobs\n\nUsage: $0 [options]"
47
- ).option("index", {
48
- type: "number",
49
- required: true,
50
- description: "The index of the `workers` array from the exported `jobs` config to use to configure this worker"
51
- }).option("id", {
52
- type: "number",
53
- required: true,
54
- description: "The worker count id to identify this worker. ie: if you had `count: 2` in your worker config, you would have two workers with ids 0 and 1"
55
- }).option("workoff", {
56
- type: "boolean",
57
- default: false,
58
- description: "Work off all jobs in the queue(s) and exit"
59
- }).option("clear", {
60
- type: "boolean",
61
- default: false,
62
- description: "Remove all jobs in all queues and exit"
63
- }).help().argv;
64
- };
65
- const processName = ({
66
- id,
67
- queues
68
- }) => {
69
- return `${import_consts.PROCESS_TITLE_PREFIX}.${[queues].flat().join("-")}.${id}`;
70
- };
71
- const setupSignals = ({ worker }) => {
72
- import_node_process.default.on("SIGINT", () => {
73
- worker.logger.warn(
74
- `[${import_node_process.default.title}] SIGINT received at ${(/* @__PURE__ */ new Date()).toISOString()}, finishing work...`
75
- );
76
- worker.forever = false;
77
- });
78
- import_node_process.default.on("SIGTERM", () => {
79
- worker.logger.warn(
80
- `[${import_node_process.default.title}] SIGTERM received at ${(/* @__PURE__ */ new Date()).toISOString()}, exiting now!`
81
- );
82
- import_node_process.default.exit(0);
83
- });
84
- };
85
- const getWorker = async ({
86
- index,
87
- id,
88
- clear,
89
- workoff
90
- }) => {
91
- let manager;
92
- try {
93
- manager = await (0, import_loaders.loadJobsManager)();
94
- } catch (e) {
95
- console.error(e);
96
- import_node_process.default.exit(1);
97
- }
98
- const workerConfig = manager.workers[index];
99
- if (!workerConfig) {
100
- throw new import_errors.WorkerConfigIndexNotFoundError(index);
101
- }
102
- return manager.createWorker({
103
- index,
104
- clear,
105
- workoff,
106
- processName: processName({ id, queues: workerConfig.queue })
107
- });
108
- };
109
- const main = async () => {
110
- const { index, id, clear, workoff } = await parseArgs(import_node_process.default.argv);
111
- const worker = await getWorker({ index, id, clear, workoff });
112
- import_node_process.default.title = processName({ id, queues: worker.queues });
113
- worker.run().then(() => {
114
- worker.logger.info(`[${import_node_process.default.title}] Worker finished, shutting down.`);
115
- import_node_process.default.exit(0);
116
- });
117
- setupSignals({ worker });
118
- };
119
- if (import_node_process.default.env.NODE_ENV !== "test") {
120
- main();
121
- }
122
- // Annotate the CommonJS export names for ESM import in node:
123
- 0 && (module.exports = {
124
- getWorker,
125
- processName
126
- });
3
+ console.warn();
4
+ console.warn(
5
+ "'rw-jobs-worker' has been deprecated. Please use 'cedar-jobs-worker' instead."
6
+ );
7
+ console.warn();
8
+ require("./cedar-jobs-worker.js");
package/dist/consts.d.ts CHANGED
@@ -11,7 +11,7 @@ export declare const DEFAULT_WORK_QUEUE = "*";
11
11
  export declare const DEFAULT_PRIORITY = 50;
12
12
  export declare const DEFAULT_WAIT = 0;
13
13
  export declare const DEFAULT_WAIT_UNTIL: null;
14
- export declare const PROCESS_TITLE_PREFIX = "rw-jobs-worker";
14
+ export declare const PROCESS_TITLE_PREFIX = "cedar-jobs-worker";
15
15
  export declare const DEFAULT_MODEL_NAME = "BackgroundJob";
16
16
  /**
17
17
  * The name of the exported variable from the jobs config file that contains
@@ -1 +1 @@
1
- {"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,KAAK,CAAA;AACtC,yBAAyB;AACzB,eAAO,MAAM,mBAAmB,QAAS,CAAA;AACzC,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,IAAI,CAAA;AAEpC,eAAO,MAAM,8BAA8B,OAAO,CAAA;AAClD,eAAO,MAAM,0BAA0B,QAAQ,CAAA;AAC/C,eAAO,MAAM,cAAc,SAAU,CAAA;AACrC,eAAO,MAAM,aAAa,YAAY,CAAA;AACtC,eAAO,MAAM,kBAAkB,MAAM,CAAA;AACrC,eAAO,MAAM,gBAAgB,KAAK,CAAA;AAClC,eAAO,MAAM,YAAY,IAAI,CAAA;AAC7B,eAAO,MAAM,kBAAkB,MAAO,CAAA;AACtC,eAAO,MAAM,oBAAoB,mBAAmB,CAAA;AAEpD,eAAO,MAAM,kBAAkB,kBAAkB,CAAA;AAEjD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAC7C;;;GAGG;AACH,eAAO,MAAM,mBAAmB,WAAW,CAAA"}
1
+ {"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,KAAK,CAAA;AACtC,yBAAyB;AACzB,eAAO,MAAM,mBAAmB,QAAS,CAAA;AACzC,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,IAAI,CAAA;AAEpC,eAAO,MAAM,8BAA8B,OAAO,CAAA;AAClD,eAAO,MAAM,0BAA0B,QAAQ,CAAA;AAC/C,eAAO,MAAM,cAAc,SAAU,CAAA;AACrC,eAAO,MAAM,aAAa,YAAY,CAAA;AACtC,eAAO,MAAM,kBAAkB,MAAM,CAAA;AACrC,eAAO,MAAM,gBAAgB,KAAK,CAAA;AAClC,eAAO,MAAM,YAAY,IAAI,CAAA;AAC7B,eAAO,MAAM,kBAAkB,MAAO,CAAA;AACtC,eAAO,MAAM,oBAAoB,sBAAsB,CAAA;AAEvD,eAAO,MAAM,kBAAkB,kBAAkB,CAAA;AAEjD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAC7C;;;GAGG;AACH,eAAO,MAAM,mBAAmB,WAAW,CAAA"}
package/dist/consts.js CHANGED
@@ -57,7 +57,7 @@ const DEFAULT_WORK_QUEUE = "*";
57
57
  const DEFAULT_PRIORITY = 50;
58
58
  const DEFAULT_WAIT = 0;
59
59
  const DEFAULT_WAIT_UNTIL = null;
60
- const PROCESS_TITLE_PREFIX = "rw-jobs-worker";
60
+ const PROCESS_TITLE_PREFIX = "cedar-jobs-worker";
61
61
  const DEFAULT_MODEL_NAME = "BackgroundJob";
62
62
  const DEFAULT_ADAPTER_NAME = "adapter";
63
63
  const DEFAULT_LOGGER_NAME = "logger";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/jobs",
3
- "version": "4.0.1-next.0+006a79e314",
3
+ "version": "4.1.0-rc.70",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -20,7 +20,8 @@
20
20
  "main": "./dist/index.js",
21
21
  "types": "./dist/index.d.ts",
22
22
  "bin": {
23
- "rw-jobs": "./dist/bins/rw-jobs.js",
23
+ "cedar-jobs": "./dist/bins/cedar-jobs.js",
24
+ "cedar-jobs-worker": "./dist/bins/cedar-jobs-worker.js",
24
25
  "rw-jobs-worker": "./dist/bins/rw-jobs-worker.js"
25
26
  },
26
27
  "files": [
@@ -31,20 +32,20 @@
31
32
  "build:pack": "yarn pack -o cedarjs-jobs.tgz",
32
33
  "build:types": "tsc --build --verbose ./tsconfig.build.json",
33
34
  "build:watch": "nodemon --watch src --ext \"js,jsx,ts,tsx\" --ignore dist --exec \"yarn build\"",
34
- "check:attw": "yarn rw-fwtools-attw",
35
+ "check:attw": "yarn cedar-fwtools-attw",
35
36
  "check:package": "concurrently npm:check:attw yarn:publint",
36
37
  "prepublishOnly": "NODE_ENV=production yarn build",
37
38
  "test": "vitest run",
38
39
  "test:watch": "vitest"
39
40
  },
40
41
  "dependencies": {
41
- "@cedarjs/cli-helpers": "4.0.1-next.0+006a79e314",
42
- "@cedarjs/project-config": "4.0.1-next.0+006a79e314",
42
+ "@cedarjs/cli-helpers": "4.1.0-rc.70",
43
+ "@cedarjs/project-config": "4.1.0-rc.70",
43
44
  "cron-parser": "5.5.0",
44
- "type-fest": "5.5.0"
45
+ "type-fest": "5.6.0"
45
46
  },
46
47
  "devDependencies": {
47
- "@cedarjs/framework-tools": "4.0.1-next.1",
48
+ "@cedarjs/framework-tools": "4.1.0-rc.70",
48
49
  "@prisma/client": "7.7.0",
49
50
  "concurrently": "9.2.1",
50
51
  "publint": "0.3.18",
@@ -58,5 +59,5 @@
58
59
  "publishConfig": {
59
60
  "access": "public"
60
61
  },
61
- "gitHead": "006a79e314ffa914671658f8e733fad4fc2cb09e"
62
+ "gitHead": "f41feef599090c00c32593f248b78624dd1e58d2"
62
63
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"rw-jobs.d.ts","sourceRoot":"","sources":["../../src/bins/rw-jobs.ts"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAatD,OAAO,KAAK,EAEV,WAAW,EAGZ,MAAM,aAAa,CAAA;AAEpB,MAAM,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAA;AAyEjD,eAAO,MAAM,eAAe,GAAI,QAAQ,GAAG,qBAU1C,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,0CAK1B;IACD,UAAU,EAAE,gBAAgB,CAAA;IAC5B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,EAAE,WAAW,CAAA;CACpB,mBA2BA,CAAA;AAGD,eAAO,MAAM,WAAW,GAAU,iCAI/B;IACD,UAAU,EAAE,gBAAgB,CAAA;IAC5B,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,WAAW,CAAA;CACpB,kBAqBA,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,YAAY;IAAE,MAAM,EAAE,WAAW,CAAA;CAAE,SAG7D,CAAA"}