@rsdk/core 3.6.1 → 4.0.0-next.1
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/CHANGELOG.md +14 -0
- package/dist/config/reload/config-reload.events.js +1 -1
- package/dist/config/reload/config-reload.events.js.map +1 -1
- package/dist/logging/logging.config.js +2 -1
- package/dist/logging/logging.config.js.map +1 -1
- package/package.json +7 -6
- package/src/config/reload/config-reload.events.ts +2 -1
- package/src/logging/logging.config.ts +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.0.0-next.1](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.0...v4.0.0-next.1) (2023-11-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rsdk/core
|
|
9
|
+
|
|
10
|
+
## [4.0.0-next.0](https://github.com/R-Vision/rsdk/compare/v3.6.2-next.0...v4.0.0-next.0) (2023-10-26)
|
|
11
|
+
|
|
12
|
+
### ⚠ BREAKING CHANGES
|
|
13
|
+
|
|
14
|
+
* update eslint plugin deps and conf
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* update eslint plugin deps and conf ([e59f061](https://github.com/R-Vision/rsdk/commit/e59f061f473b47ec220464ee6da19f1acfd3160b))
|
|
19
|
+
|
|
6
20
|
## [3.6.1](https://github.com/R-Vision/rsdk/compare/v3.6.1-next.1...v3.6.1) (2023-10-24)
|
|
7
21
|
|
|
8
22
|
**Note:** Version bump only for package @rsdk/core
|
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.ReloadEvents = void 0;
|
|
7
7
|
const node_events_1 = __importDefault(require("node:events"));
|
|
8
|
-
// eslint-disable-next-line unicorn/prefer-event-target
|
|
8
|
+
// eslint-disable-next-line unicorn/prefer-event-target,@typescript-eslint/no-unsafe-declaration-merging
|
|
9
9
|
class ReloadEvents extends node_events_1.default {
|
|
10
10
|
}
|
|
11
11
|
exports.ReloadEvents = ReloadEvents;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-reload.events.js","sourceRoot":"","sources":["../../../src/config/reload/config-reload.events.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAuC;AAOvC,
|
|
1
|
+
{"version":3,"file":"config-reload.events.js","sourceRoot":"","sources":["../../../src/config/reload/config-reload.events.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAuC;AAOvC,wGAAwG;AACxG,MAAa,YAAa,SAAQ,qBAAY;CAAG;AAAjD,oCAAiD"}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.LoggingConfig = void 0;
|
|
13
13
|
const logging_1 = require("@rsdk/logging");
|
|
14
|
+
const defaults_1 = require("@rsdk/logging/dist/defaults");
|
|
14
15
|
const config_1 = require("../config");
|
|
15
16
|
const config_const_1 = require("../config/config.const");
|
|
16
17
|
let LoggingConfig = exports.LoggingConfig = class LoggingConfig extends config_1.Config {
|
|
@@ -21,7 +22,7 @@ let LoggingConfig = exports.LoggingConfig = class LoggingConfig extends config_1
|
|
|
21
22
|
__decorate([
|
|
22
23
|
(0, config_1.Property)('LOG_LEVEL', new config_1.EnumParser(logging_1.LogLevel), {
|
|
23
24
|
// TODO: Can pass anything instead of enum value. Need to handle this!
|
|
24
|
-
defaultValue:
|
|
25
|
+
defaultValue: defaults_1.DEFAULT_LEVEL,
|
|
25
26
|
description: 'Log level',
|
|
26
27
|
}),
|
|
27
28
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logging.config.js","sourceRoot":"","sources":["../../src/logging/logging.config.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAyC;
|
|
1
|
+
{"version":3,"file":"logging.config.js","sourceRoot":"","sources":["../../src/logging/logging.config.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAyC;AACzC,0DAA4D;AAE5D,sCAQmB;AACnB,yDAAmD;AAK5C,IAAM,aAAa,2BAAnB,MAAM,aAAc,SAAQ,eAAM;IAM9B,KAAK,CAAY;IAOjB,MAAM,CAAY;IAOlB,IAAI,CAAW;CACzB,CAAA;AAfU;IALR,IAAA,iBAAQ,EAAC,WAAW,EAAE,IAAI,mBAAU,CAAC,kBAAQ,CAAC,EAAE;QAC/C,sEAAsE;QACtE,YAAY,EAAE,wBAAa;QAC3B,WAAW,EAAE,WAAW;KACzB,CAAC;;4CACwB;AAOjB;IALR,IAAA,iBAAQ,EAAC,YAAY,EAAE,IAAI,oBAAW,CAAC,IAAI,qBAAY,EAAE,CAAC,EAAE;QAC3D,YAAY,EAAE,EAAE;QAChB,WAAW,EACT,gGAAgG;KACnG,CAAC;;6CACyB;AAOlB;IALR,IAAA,iBAAQ,EAAC,UAAU,EAAE,IAAI,mBAAU,EAAE,EAAE;QACtC,YAAY,EAAE,KAAK;QACnB,WAAW,EACT,wGAAwG;KAC3G,CAAC;;2CACsB;wBApBb,aAAa;IAHzB,IAAA,sBAAa,EAAC;QACb,IAAI,EAAE,CAAC,wBAAS,CAAC,cAAc,EAAE,wBAAS,CAAC,OAAO,CAAC;KACpD,CAAC;GACW,aAAa,CAqBzB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdk/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-next.1",
|
|
4
4
|
"description": "Nestjs based microservice chassis",
|
|
5
5
|
"license": "Apache License 2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -31,17 +31,18 @@
|
|
|
31
31
|
"@nestjs/common": "^10.1.3",
|
|
32
32
|
"@nestjs/core": "^10.1.3",
|
|
33
33
|
"@nestjs/microservices": "^10.1.3",
|
|
34
|
-
"@rsdk/autodoc.protocol": "^
|
|
34
|
+
"@rsdk/autodoc.protocol": "^4.0.0-next.1",
|
|
35
35
|
"@rsdk/common": "^3.5.0",
|
|
36
36
|
"@rsdk/common.nestjs": "^3.5.0",
|
|
37
37
|
"@rsdk/common.node": "^3.5.0",
|
|
38
|
-
"@rsdk/decorators": "^
|
|
39
|
-
"@rsdk/logging": "^
|
|
40
|
-
"@rsdk/metadata": "^
|
|
38
|
+
"@rsdk/decorators": "^4.0.0-next.1",
|
|
39
|
+
"@rsdk/logging": "^4.0.0-next.1",
|
|
40
|
+
"@rsdk/metadata": "^4.0.0-next.1",
|
|
41
41
|
"@rsdk/nest-tools": "^3.6.0",
|
|
42
42
|
"axios": "^1.1.3",
|
|
43
|
+
"pino": "^8.16.1",
|
|
43
44
|
"reflect-metadata": "^0.1.13",
|
|
44
45
|
"rxjs": "^7.0.0"
|
|
45
46
|
},
|
|
46
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "d21a800ef5dd191b5effec59846c3a44a7ca3d1e"
|
|
47
48
|
}
|
|
@@ -5,9 +5,10 @@ import type { PropertyException } from '../exceptions';
|
|
|
5
5
|
import type { ConfigSource, ConfigSourceException } from '../sources';
|
|
6
6
|
import type { Changes, RawValues } from '../types';
|
|
7
7
|
|
|
8
|
-
// eslint-disable-next-line unicorn/prefer-event-target
|
|
8
|
+
// eslint-disable-next-line unicorn/prefer-event-target,@typescript-eslint/no-unsafe-declaration-merging
|
|
9
9
|
export class ReloadEvents extends EventEmitter {}
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
|
|
11
12
|
export declare interface ReloadEvents {
|
|
12
13
|
on(e: 'reload', fn: (source: ConfigSource, values: RawValues) => void): this;
|
|
13
14
|
on(
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LogLevel } from '@rsdk/logging';
|
|
2
|
+
import { DEFAULT_LEVEL } from '@rsdk/logging/dist/defaults';
|
|
2
3
|
|
|
3
4
|
import {
|
|
4
5
|
ArrayParser,
|
|
@@ -17,7 +18,7 @@ import { ConfigTag } from '../config/config.const';
|
|
|
17
18
|
export class LoggingConfig extends Config {
|
|
18
19
|
@Property('LOG_LEVEL', new EnumParser(LogLevel), {
|
|
19
20
|
// TODO: Can pass anything instead of enum value. Need to handle this!
|
|
20
|
-
defaultValue:
|
|
21
|
+
defaultValue: DEFAULT_LEVEL,
|
|
21
22
|
description: 'Log level',
|
|
22
23
|
})
|
|
23
24
|
readonly level!: LogLevel;
|