@quanticjs/quanticjs 5.10.1 → 6.1.0
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/dist/QuanticModule.d.ts +4 -1
- package/dist/QuanticModule.js +5 -4
- package/package.json +15 -11
package/dist/QuanticModule.d.ts
CHANGED
package/dist/QuanticModule.js
CHANGED
|
@@ -29,12 +29,13 @@ let QuanticModule = class QuanticModule {
|
|
|
29
29
|
if (options.events) {
|
|
30
30
|
try {
|
|
31
31
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
32
|
-
const {
|
|
33
|
-
|
|
32
|
+
const { QuanticEventsKafkaModule } = require('@quanticjs/events-kafka');
|
|
33
|
+
const eventsConfig = options.events === true ? {} : options.events;
|
|
34
|
+
imports.push(QuanticEventsKafkaModule.forRoot(eventsConfig));
|
|
34
35
|
}
|
|
35
36
|
catch {
|
|
36
|
-
this.logger.warn('events option provided but @quanticjs/events is not installed. ' +
|
|
37
|
-
'Run: npm install @quanticjs/events');
|
|
37
|
+
this.logger.warn('events option provided but @quanticjs/events-kafka is not installed. ' +
|
|
38
|
+
'Run: npm install @quanticjs/events-kafka @quanticjs/events-core');
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
if (options.metrics) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quanticjs/quanticjs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "Umbrella package — re-exports @quanticjs/core with opt-in module loading via QuanticModule.forRoot()",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,22 +18,26 @@
|
|
|
18
18
|
"clean": "rm -rf dist"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@quanticjs/core": "^
|
|
21
|
+
"@quanticjs/core": "^6.1.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"@nestjs/common": "^11.0.0",
|
|
25
25
|
"@nestjs/cqrs": "^11.0.3",
|
|
26
|
-
"@quanticjs/events": "^
|
|
27
|
-
"@quanticjs/
|
|
28
|
-
"@quanticjs/
|
|
29
|
-
"@quanticjs/
|
|
30
|
-
"@quanticjs/
|
|
31
|
-
"@quanticjs/
|
|
32
|
-
"@quanticjs/
|
|
33
|
-
"@quanticjs/workflow
|
|
26
|
+
"@quanticjs/events-core": "^6.1.0",
|
|
27
|
+
"@quanticjs/events-kafka": "^6.1.0",
|
|
28
|
+
"@quanticjs/feature-flags": "^6.1.0",
|
|
29
|
+
"@quanticjs/health": "^6.1.0",
|
|
30
|
+
"@quanticjs/metrics": "^6.1.0",
|
|
31
|
+
"@quanticjs/redis": "^6.1.0",
|
|
32
|
+
"@quanticjs/testing": "^6.1.0",
|
|
33
|
+
"@quanticjs/workflow": "^6.1.0",
|
|
34
|
+
"@quanticjs/workflow-kogito": "^6.1.0"
|
|
34
35
|
},
|
|
35
36
|
"peerDependenciesMeta": {
|
|
36
|
-
"@quanticjs/events": {
|
|
37
|
+
"@quanticjs/events-core": {
|
|
38
|
+
"optional": true
|
|
39
|
+
},
|
|
40
|
+
"@quanticjs/events-kafka": {
|
|
37
41
|
"optional": true
|
|
38
42
|
},
|
|
39
43
|
"@quanticjs/feature-flags": {
|