@neofinancial/chrono-mongo-datastore 0.1.1 → 0.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neofinancial/chrono-mongo-datastore",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "MongoDB datastore implementation for Chrono task scheduling system",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -17,16 +17,17 @@
17
17
  "author": "Neo Financial Engineering <engineering@neofinancial.com>",
18
18
  "license": "MIT",
19
19
  "files": [
20
- "build/**"
20
+ "build/**",
21
+ "README.md"
21
22
  ],
22
23
  "devDependencies": {
23
24
  "mongodb": "^6.15",
24
25
  "mongodb-memory-server": "^10.1.4",
25
- "@neofinancial/chrono": "0.1.1"
26
+ "@neofinancial/chrono": "0.1.2"
26
27
  },
27
28
  "peerDependencies": {
28
29
  "mongodb": "^6.15",
29
- "@neofinancial/chrono": "0.1.1"
30
+ "@neofinancial/chrono": "0.1.2"
30
31
  },
31
32
  "scripts": {
32
33
  "clean": "rimraf ./build",
package/build/main.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};
package/build/main.js DELETED
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const chrono_core_1 = require("@neofinancial/chrono-core");
4
- const mongo_task_1 = require("./mongo-task");
5
- async function main() {
6
- const task = new mongo_task_1.MongoTask();
7
- const scheduler = new chrono_core_1.Scheduler();
8
- await scheduler.schedule(task);
9
- await scheduler.run();
10
- console.log('Successfully ran MongoTask!');
11
- }
12
- main().catch(console.error);
13
- //# sourceMappingURL=main.js.map
package/build/main.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;AAAA,2DAAsD;AAEtD,6CAAyC;AAEzC,KAAK,UAAU,IAAI;IACjB,MAAM,IAAI,GAAG,IAAI,sBAAS,EAAE,CAAC;IAC7B,MAAM,SAAS,GAAG,IAAI,uBAAS,EAAE,CAAC;IAElC,MAAM,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC/B,MAAM,SAAS,CAAC,GAAG,EAAE,CAAC;IAEtB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;AAC7C,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Task } from '@neofinancial/chrono-core';
2
- export declare class MongoTask implements Task<boolean> {
3
- run(): Promise<boolean>;
4
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MongoTask = void 0;
4
- class MongoTask {
5
- async run() {
6
- console.log('Running MongoTask');
7
- return true;
8
- }
9
- }
10
- exports.MongoTask = MongoTask;
11
- //# sourceMappingURL=mongo-task.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mongo-task.js","sourceRoot":"","sources":["../src/mongo-task.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IACb,KAAK,CAAC,GAAG;QACd,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;QAEjC,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAND,8BAMC"}