@alterior/tasks 3.13.3 → 3.13.4

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": "@alterior/tasks",
3
- "version": "3.13.3",
3
+ "version": "3.13.4",
4
4
  "description": "Flexible background task system",
5
5
  "author": "The Alterior Project (https://github.com/alterior-mvc)",
6
6
  "license": "MIT",
@@ -32,19 +32,19 @@
32
32
  },
33
33
  "scripts": {
34
34
  "clean": "rimraf dist dist.esm",
35
- "build": "npm run clean && npm run build:cjs && npm run build:esm",
36
- "build:cjs": "tsc",
37
- "build:esm": "tsc -p tsconfig.esm.json",
35
+ "build": "npm run build:cjs && npm run build:esm",
36
+ "build:cjs": "tsc -b",
37
+ "build:esm": "tsc -b tsconfig.esm.json",
38
38
  "prepublishOnly": "npm test",
39
- "test": "npm run build && node dist/test.js",
40
- "docs": "typedoc ."
39
+ "test": "node dist/test.js",
40
+ "docs": "typedoc src/index.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@alterior/annotations": "^3.13.3",
44
- "@alterior/common": "^3.13.3",
45
- "@alterior/di": "^3.13.3",
46
- "@alterior/logging": "^3.13.3",
47
- "@alterior/runtime": "^3.13.3",
43
+ "@alterior/annotations": "^3.13.4",
44
+ "@alterior/common": "^3.13.4",
45
+ "@alterior/di": "^3.13.4",
46
+ "@alterior/logging": "^3.13.4",
47
+ "@alterior/runtime": "^3.13.4",
48
48
  "bull": "^3.18.0",
49
49
  "kind-of": ">=6.0.3",
50
50
  "tslib": "^2.3.1"
@@ -59,7 +59,7 @@ export class TasksModule implements OnInit {
59
59
  worker : TaskWorker;
60
60
 
61
61
  get options(): TaskModuleOptions {
62
- return this._options ? this._options.options : {} || {};
62
+ return this._options?.options ?? {};
63
63
  }
64
64
 
65
65
  get tasks(): Function[] {
@@ -0,0 +1 @@
1
+ {"root":["./src/index.ts","./src/task-runner.ts","./src/task-worker.ts","./src/tasks.module.ts","./src/tasks.ts","./src/test.ts"],"version":"5.9.3"}
package/tsconfig.json CHANGED
@@ -7,9 +7,7 @@
7
7
  },
8
8
  "include": [ "./src/**/*.ts" ],
9
9
  "typedocOptions": {
10
- "mode": "file",
11
10
  "out": "../../docs/tasks",
12
- "target": "ES5",
13
11
  "excludeExternals": true,
14
12
  "excludePrivate": true,
15
13
  "externalPattern": "**/node_modules/**",