@tsed/event-emitter 6.102.8-rc.1 → 6.102.8-rc.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/lib/cjs/index.js +7 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/interfaces/interfaces.js +3 -0
- package/lib/cjs/interfaces/interfaces.js.map +1 -0
- package/lib/esm/index.js +7 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/interfaces/interfaces.js +2 -0
- package/lib/esm/interfaces/interfaces.js.map +1 -0
- package/lib/types/index.d.ts +7 -18
- package/lib/types/interfaces/interfaces.d.ts +17 -0
- package/package.json +10 -6
- package/src/index.ts +7 -19
- package/src/interfaces/interfaces.ts +18 -0
- package/lib/cjs/decorators/index.js +0 -6
- package/lib/cjs/decorators/index.js.map +0 -1
- package/lib/esm/decorators/index.js +0 -3
- package/lib/esm/decorators/index.js.map +0 -1
- package/lib/types/decorators/index.d.ts +0 -2
- package/src/decorators/index.ts +0 -2
package/lib/cjs/index.js
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @file Automatically generated by barrelsby.
|
|
4
|
+
*/
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
const tslib_1 = require("tslib");
|
|
4
7
|
(0, tslib_1.__exportStar)(require("./EventEmitterModule"), exports);
|
|
8
|
+
(0, tslib_1.__exportStar)(require("./decorators/onAny"), exports);
|
|
9
|
+
(0, tslib_1.__exportStar)(require("./decorators/onEvent"), exports);
|
|
10
|
+
(0, tslib_1.__exportStar)(require("./interfaces/EventEmitterStore"), exports);
|
|
11
|
+
(0, tslib_1.__exportStar)(require("./interfaces/interfaces"), exports);
|
|
5
12
|
(0, tslib_1.__exportStar)(require("./services/EventEmitterFactory"), exports);
|
|
6
|
-
(0, tslib_1.__exportStar)(require("./decorators"), exports);
|
|
7
13
|
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,oEAAqC;AACrC,kEAAmC;AACnC,oEAAqC;AACrC,8EAA+C;AAC/C,uEAAwC;AACxC,8EAA+C","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./EventEmitterModule\";\nexport * from \"./decorators/onAny\";\nexport * from \"./decorators/onEvent\";\nexport * from \"./interfaces/EventEmitterStore\";\nexport * from \"./interfaces/interfaces\";\nexport * from \"./services/EventEmitterFactory\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/interfaces/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["import {ConstructorOptions} from \"eventemitter2\";\n\ndeclare global {\n namespace TsED {\n interface Configuration {\n eventEmitter?: {\n /**\n * Enable Event Emitter. Default `false`.\n */\n enabled?: boolean;\n /**\n * Disable event table displayed in the logger. Default `false`.\n */\n disableSummary?: boolean;\n } & ConstructorOptions;\n }\n }\n}\n"]}
|
package/lib/esm/index.js
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Automatically generated by barrelsby.
|
|
3
|
+
*/
|
|
1
4
|
export * from "./EventEmitterModule.js";
|
|
5
|
+
export * from "./decorators/onAny.js";
|
|
6
|
+
export * from "./decorators/onEvent.js";
|
|
7
|
+
export * from "./interfaces/EventEmitterStore.js";
|
|
8
|
+
export * from "./interfaces/interfaces.js";
|
|
2
9
|
export * from "./services/EventEmitterFactory.js";
|
|
3
|
-
export * from "./decorators.js";
|
|
4
10
|
//# sourceMappingURL=index.js.map
|
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./EventEmitterModule\";\nexport * from \"./decorators/onAny\";\nexport * from \"./decorators/onEvent\";\nexport * from \"./interfaces/EventEmitterStore\";\nexport * from \"./interfaces/interfaces\";\nexport * from \"./services/EventEmitterFactory\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/interfaces/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["import {ConstructorOptions} from \"eventemitter2\";\n\ndeclare global {\n namespace TsED {\n interface Configuration {\n eventEmitter?: {\n /**\n * Enable Event Emitter. Default `false`.\n */\n enabled?: boolean;\n /**\n * Disable event table displayed in the logger. Default `false`.\n */\n disableSummary?: boolean;\n } & ConstructorOptions;\n }\n }\n}\n"]}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
interface Configuration {
|
|
5
|
-
eventEmitter?: {
|
|
6
|
-
/**
|
|
7
|
-
* Enable Event Emitter. Default `false`.
|
|
8
|
-
*/
|
|
9
|
-
enabled?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Disable event table displayed in the logger. Default `false`.
|
|
12
|
-
*/
|
|
13
|
-
disableSummary?: boolean;
|
|
14
|
-
} & ConstructorOptions;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @file Automatically generated by barrelsby.
|
|
3
|
+
*/
|
|
18
4
|
export * from "./EventEmitterModule";
|
|
5
|
+
export * from "./decorators/onAny";
|
|
6
|
+
export * from "./decorators/onEvent";
|
|
7
|
+
export * from "./interfaces/EventEmitterStore";
|
|
8
|
+
export * from "./interfaces/interfaces";
|
|
19
9
|
export * from "./services/EventEmitterFactory";
|
|
20
|
-
export * from "./decorators";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ConstructorOptions } from "eventemitter2";
|
|
2
|
+
declare global {
|
|
3
|
+
namespace TsED {
|
|
4
|
+
interface Configuration {
|
|
5
|
+
eventEmitter?: {
|
|
6
|
+
/**
|
|
7
|
+
* Enable Event Emitter. Default `false`.
|
|
8
|
+
*/
|
|
9
|
+
enabled?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Disable event table displayed in the logger. Default `false`.
|
|
12
|
+
*/
|
|
13
|
+
disableSummary?: boolean;
|
|
14
|
+
} & ConstructorOptions;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/event-emitter",
|
|
3
|
-
"version": "6.102.8-rc.
|
|
3
|
+
"version": "6.102.8-rc.2",
|
|
4
4
|
"description": "EventEmitter package for Ts.ED framework",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"main": "./lib/cjs/index.js",
|
|
@@ -13,9 +13,10 @@
|
|
|
13
13
|
"default": "./lib/esm/index.js"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
|
-
"build": "yarn run build:esm && yarn run build:cjs",
|
|
16
|
+
"build": "yarn barrels && yarn run build:esm && yarn run build:cjs",
|
|
17
17
|
"build:cjs": "tsc --build tsconfig.compile.json",
|
|
18
18
|
"build:esm": "tsc --build tsconfig.compile.esm.json",
|
|
19
|
+
"barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
|
|
19
20
|
"test": "cross-env NODE_ENV=test nyc mocha"
|
|
20
21
|
},
|
|
21
22
|
"dependencies": {
|
|
@@ -23,9 +24,9 @@
|
|
|
23
24
|
},
|
|
24
25
|
"private": false,
|
|
25
26
|
"devDependencies": {
|
|
26
|
-
"@tsed/common": "6.102.8-rc.
|
|
27
|
-
"@tsed/core": "6.102.8-rc.
|
|
28
|
-
"@tsed/di": "6.102.8-rc.
|
|
27
|
+
"@tsed/common": "6.102.8-rc.2",
|
|
28
|
+
"@tsed/core": "6.102.8-rc.2",
|
|
29
|
+
"@tsed/di": "6.102.8-rc.2",
|
|
29
30
|
"eventemitter2": "^6.4.4"
|
|
30
31
|
},
|
|
31
32
|
"peerDependencies": {
|
|
@@ -37,5 +38,8 @@
|
|
|
37
38
|
},
|
|
38
39
|
"homepage": "https://github.com/tsedio/tsed/tree/rc/packages/third-parties/event-emitter",
|
|
39
40
|
"author": "Romain Lenzotti",
|
|
40
|
-
"license": "MIT"
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"tag": "rc"
|
|
44
|
+
}
|
|
41
45
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,22 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
namespace TsED {
|
|
5
|
-
interface Configuration {
|
|
6
|
-
eventEmitter?: {
|
|
7
|
-
/**
|
|
8
|
-
* Enable Event Emitter. Default `false`.
|
|
9
|
-
*/
|
|
10
|
-
enabled?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Disable event table displayed in the logger. Default `false`.
|
|
13
|
-
*/
|
|
14
|
-
disableSummary?: boolean;
|
|
15
|
-
} & ConstructorOptions;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @file Automatically generated by barrelsby.
|
|
3
|
+
*/
|
|
19
4
|
|
|
20
5
|
export * from "./EventEmitterModule";
|
|
6
|
+
export * from "./decorators/onAny";
|
|
7
|
+
export * from "./decorators/onEvent";
|
|
8
|
+
export * from "./interfaces/EventEmitterStore";
|
|
9
|
+
export * from "./interfaces/interfaces";
|
|
21
10
|
export * from "./services/EventEmitterFactory";
|
|
22
|
-
export * from "./decorators";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {ConstructorOptions} from "eventemitter2";
|
|
2
|
+
|
|
3
|
+
declare global {
|
|
4
|
+
namespace TsED {
|
|
5
|
+
interface Configuration {
|
|
6
|
+
eventEmitter?: {
|
|
7
|
+
/**
|
|
8
|
+
* Enable Event Emitter. Default `false`.
|
|
9
|
+
*/
|
|
10
|
+
enabled?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Disable event table displayed in the logger. Default `false`.
|
|
13
|
+
*/
|
|
14
|
+
disableSummary?: boolean;
|
|
15
|
+
} & ConstructorOptions;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/decorators/index.ts"],"names":[],"mappings":";;;AAAA,yDAA0B;AAC1B,uDAAwB","sourcesContent":["export * from \"./onEvent\";\nexport * from \"./onAny\";\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/decorators/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC","sourcesContent":["export * from \"./onEvent\";\nexport * from \"./onAny\";\n"]}
|
package/src/decorators/index.ts
DELETED