@codependix/output 0.0.8 β 0.0.10
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 +22 -0
- package/README.md +8 -8
- package/dist/src/index.js +178 -178
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
## 0.0.10 (2026-10-08)
|
|
2
|
+
|
|
3
|
+
### π§± Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated codependix-nestjs-modules to 0.0.10
|
|
6
|
+
- Updated codependix-configuration to 0.0.11
|
|
7
|
+
- Updated codependix-file-imports to 0.0.10
|
|
8
|
+
- Updated codependix-nx-projects to 0.0.10
|
|
9
|
+
- Updated codependix-boundaries to 0.0.10
|
|
10
|
+
- Updated codependix-core to 0.0.10
|
|
11
|
+
|
|
12
|
+
## 0.0.9 (2026-10-08)
|
|
13
|
+
|
|
14
|
+
### π§± Updated Dependencies
|
|
15
|
+
|
|
16
|
+
- Updated codependix-nestjs-modules to 0.0.9
|
|
17
|
+
- Updated codependix-configuration to 0.0.10
|
|
18
|
+
- Updated codependix-file-imports to 0.0.9
|
|
19
|
+
- Updated codependix-nx-projects to 0.0.9
|
|
20
|
+
- Updated codependix-boundaries to 0.0.9
|
|
21
|
+
- Updated codependix-core to 0.0.9
|
|
22
|
+
|
|
1
23
|
## 0.0.8 (2026-10-08)
|
|
2
24
|
|
|
3
25
|
### π§± Updated Dependencies
|
package/README.md
CHANGED
|
@@ -449,13 +449,13 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
449
449
|
### Project
|
|
450
450
|
|
|
451
451
|

|
|
452
|
-

|
|
453
453
|

|
|
454
454
|

|
|
455
455
|
|
|
456
456
|
### Measured Targets
|
|
457
457
|
|
|
458
|
-

|
|
459
459
|
|
|
460
460
|
### TypeScript
|
|
461
461
|
|
|
@@ -637,16 +637,16 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
637
637
|
### Markdown
|
|
638
638
|
|
|
639
639
|

|
|
640
|
-

|
|
641
641
|

|
|
642
|
-

|
|
643
|
+

|
|
644
644
|

|
|
645
645
|

|
|
646
646
|

|
|
647
|
-

|
|
648
|
+

|
|
649
|
+

|
|
650
650
|

|
|
651
651
|

|
|
652
652
|

|
package/dist/src/index.js
CHANGED
|
@@ -5,22 +5,22 @@ import { CODEPENDIX_GRAPH_TYPES as u, ConfigurationModule as d, ConfigurationSer
|
|
|
5
5
|
import { NeighborhoodModule as te, NeighborhoodService as p, WorkspaceGraphModule as ne, WorkspaceGraphService as m } from "@codependix/nx-projects";
|
|
6
6
|
import h from "pino";
|
|
7
7
|
import { FileImportsWorkspaceGraphModule as re, FileImportsWorkspaceGraphService as g, PythonModule as _, PythonService as v, TypescriptModule as y, TypescriptService as b } from "@codependix/file-imports";
|
|
8
|
-
import { ModuleGraphModule as
|
|
9
|
-
import { BoundaryCheckModule as
|
|
10
|
-
//#region
|
|
11
|
-
var
|
|
8
|
+
import { ModuleGraphModule as x, ModuleGraphService as S, NestjsModulesWorkspaceGraphModule as ie, NestjsModulesWorkspaceGraphService as C, NestjsProjectModule as w, NestjsProjectService as T } from "@codependix/nestjs-modules";
|
|
9
|
+
import { BoundaryCheckModule as ae, BoundaryReportService as oe } from "@codependix/boundaries";
|
|
10
|
+
//#region \0rolldown/runtime.js
|
|
11
|
+
var buildStartMarker = (e) => `<!-- codependix:start name="${e}" -->`, buildEndMarker = (e) => `<!-- codependix:end name="${e}" -->`, E = "## πΈοΈ Codependix", AnchorNotFoundError = class extends Error {
|
|
12
12
|
constructor(e, t) {
|
|
13
13
|
super(`Anchor "${e}" not found in ${t}`), this.name = "AnchorNotFoundError";
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorateMetadata.js
|
|
18
|
-
function
|
|
18
|
+
function __decorateMetadata(e, t) {
|
|
19
19
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
|
|
20
20
|
}
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorate.js
|
|
23
|
-
function
|
|
23
|
+
function __decorate(e, t, n, r) {
|
|
24
24
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
25
25
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
26
26
|
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
@@ -28,14 +28,14 @@ function A(e, t, n, r) {
|
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/anchors/anchors.service.ts
|
|
31
|
-
var
|
|
31
|
+
var D = class AnchorsService {
|
|
32
32
|
constructor() {}
|
|
33
33
|
appendCodependixSection(e) {
|
|
34
34
|
let t = e.fileContent.trimEnd();
|
|
35
|
-
return `${t.length === 0 ? "" : `${t}\n\n`}${
|
|
35
|
+
return `${t.length === 0 ? "" : `${t}\n\n`}${E}\n\n${e.introLine}\n\n${e.subsectionBlock}\n`;
|
|
36
36
|
}
|
|
37
37
|
buildAnchorPattern(e) {
|
|
38
|
-
let t = this.escapeForPattern(
|
|
38
|
+
let t = this.escapeForPattern(buildStartMarker(e)), n = this.escapeForPattern(buildEndMarker(e));
|
|
39
39
|
return new RegExp(String.raw`${t}\n([\s\S]*?)\n${n}`, "u");
|
|
40
40
|
}
|
|
41
41
|
escapeForPattern(e) {
|
|
@@ -47,7 +47,7 @@ var j = class {
|
|
|
47
47
|
}
|
|
48
48
|
checkAnchor(e) {
|
|
49
49
|
let t = this.extractAnchorContent(e);
|
|
50
|
-
if (t === void 0) throw new
|
|
50
|
+
if (t === void 0) throw new AnchorNotFoundError(e.anchorName, e.filePath);
|
|
51
51
|
return {
|
|
52
52
|
currentContent: t,
|
|
53
53
|
freshContent: e.freshContent,
|
|
@@ -61,7 +61,7 @@ var j = class {
|
|
|
61
61
|
return this.buildAnchorPattern(e.anchorName).test(e.fileContent);
|
|
62
62
|
}
|
|
63
63
|
insertAnchorSection(e) {
|
|
64
|
-
let t = this.wrapInAnchors(e.anchorName, e.content), n = e.subheading === void 0 ? t : `### ${e.subheading}\n\n${t}`, r = RegExp(`^${this.escapeForPattern(
|
|
64
|
+
let t = this.wrapInAnchors(e.anchorName, e.content), n = e.subheading === void 0 ? t : `### ${e.subheading}\n\n${t}`, r = RegExp(`^${this.escapeForPattern(E)}$`, "mu").exec(e.fileContent);
|
|
65
65
|
return r === null ? this.appendCodependixSection({
|
|
66
66
|
fileContent: e.fileContent,
|
|
67
67
|
introLine: e.introLine,
|
|
@@ -73,42 +73,42 @@ var j = class {
|
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
replaceAnchorContent(e) {
|
|
76
|
-
if (!this.hasAnchor(e)) throw new
|
|
77
|
-
let t =
|
|
76
|
+
if (!this.hasAnchor(e)) throw new AnchorNotFoundError(e.anchorName, e.filePath);
|
|
77
|
+
let t = buildStartMarker(e.anchorName), n = buildEndMarker(e.anchorName), r = e.newContent.trim();
|
|
78
78
|
return e.fileContent.replace(this.buildAnchorPattern(e.anchorName), () => `${t}\n${r}\n${n}`);
|
|
79
79
|
}
|
|
80
80
|
wrapInAnchors(e, t) {
|
|
81
81
|
return [
|
|
82
|
-
|
|
82
|
+
buildStartMarker(e),
|
|
83
83
|
t.trim(),
|
|
84
|
-
|
|
84
|
+
buildEndMarker(e)
|
|
85
85
|
].join("\n");
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
|
|
88
|
+
D = __decorate([n(), __decorateMetadata("design:paramtypes", [])], D);
|
|
89
89
|
//#endregion
|
|
90
90
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/anchors/anchors.module.ts
|
|
91
|
-
var
|
|
92
|
-
|
|
91
|
+
var O = class AnchorsModule {};
|
|
92
|
+
O = __decorate([r({
|
|
93
93
|
controllers: [],
|
|
94
|
-
exports: [
|
|
94
|
+
exports: [D],
|
|
95
95
|
imports: [],
|
|
96
|
-
providers: [
|
|
97
|
-
})],
|
|
96
|
+
providers: [D]
|
|
97
|
+
})], O);
|
|
98
98
|
//#endregion
|
|
99
99
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/graph-run/graph-run.constants.ts
|
|
100
|
-
var
|
|
100
|
+
var se = Object.freeze({
|
|
101
101
|
failures: [],
|
|
102
102
|
results: []
|
|
103
|
-
}),
|
|
103
|
+
}), ce = Object.freeze({
|
|
104
104
|
failures: [],
|
|
105
105
|
results: [],
|
|
106
106
|
workspaceEntry: void 0
|
|
107
|
-
}),
|
|
108
|
-
fileImports:
|
|
109
|
-
nestjsModules:
|
|
110
|
-
nxProjects:
|
|
111
|
-
},
|
|
107
|
+
}), le = "fileImports", k = "File Imports", A = "Dependency graphs exported by [codependix](https://github.com/Organizzolini/codebase/tree/main/packages/ic-suite/codependix/codependix-cli), regenerated by `nx run codebase:codependix:write`.", ue = "nestjsModules", j = "NestJS Module Graph", de = "nxProjects", fe = "Nx Neighborhood", pe = "Python File Imports", M = "workspace", N = "json", P = "markdown", F = [N, P], me = {
|
|
108
|
+
fileImports: k,
|
|
109
|
+
nestjsModules: j,
|
|
110
|
+
nxProjects: fe
|
|
111
|
+
}, I = class CombinedOutputService {
|
|
112
112
|
anchorsService;
|
|
113
113
|
constructor(e) {
|
|
114
114
|
this.anchorsService = e;
|
|
@@ -133,8 +133,8 @@ var ce = Object.freeze({
|
|
|
133
133
|
anchorName: n,
|
|
134
134
|
content: r.markdown,
|
|
135
135
|
fileContent: t,
|
|
136
|
-
introLine:
|
|
137
|
-
subheading:
|
|
136
|
+
introLine: A,
|
|
137
|
+
subheading: me[n]
|
|
138
138
|
}));
|
|
139
139
|
}
|
|
140
140
|
return t;
|
|
@@ -146,12 +146,12 @@ var ce = Object.freeze({
|
|
|
146
146
|
resolveFormat(e) {
|
|
147
147
|
if (e === void 0) return {
|
|
148
148
|
errors: [],
|
|
149
|
-
format:
|
|
149
|
+
format: P
|
|
150
150
|
};
|
|
151
|
-
let t =
|
|
151
|
+
let t = F.find((t) => t === e);
|
|
152
152
|
return t === void 0 ? {
|
|
153
|
-
errors: [`--format does not accept "${e}". It takes one of ${
|
|
154
|
-
format:
|
|
153
|
+
errors: [`--format does not accept "${e}". It takes one of ${F.map((e) => `"${e}"`).join(" and ")}, as in "--format ${P}".`],
|
|
154
|
+
format: P
|
|
155
155
|
} : {
|
|
156
156
|
errors: [],
|
|
157
157
|
format: t
|
|
@@ -169,26 +169,26 @@ var ce = Object.freeze({
|
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
|
-
|
|
172
|
+
I = __decorate([n(), __decorateMetadata("design:paramtypes", [D === void 0 ? Object : D])], I);
|
|
173
173
|
//#endregion
|
|
174
174
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/combined-output/combined-output.module.ts
|
|
175
|
-
var
|
|
176
|
-
|
|
175
|
+
var L = class CombinedOutputModule {};
|
|
176
|
+
L = __decorate([r({
|
|
177
177
|
controllers: [],
|
|
178
|
-
exports: [
|
|
179
|
-
imports: [
|
|
180
|
-
providers: [
|
|
181
|
-
})],
|
|
178
|
+
exports: [I],
|
|
179
|
+
imports: [O],
|
|
180
|
+
providers: [I]
|
|
181
|
+
})], L);
|
|
182
182
|
//#endregion
|
|
183
183
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/delivery/delivery.service.ts
|
|
184
|
-
var
|
|
184
|
+
var R = class DeliveryService {
|
|
185
185
|
anchorsService;
|
|
186
186
|
constructor(e) {
|
|
187
187
|
this.anchorsService = e;
|
|
188
188
|
}
|
|
189
189
|
checkAnchoredMarkdown(e) {
|
|
190
190
|
let t = l.resolve(e.absoluteRoot, e.path);
|
|
191
|
-
if (!a(t)) throw new
|
|
191
|
+
if (!a(t)) throw new AnchorNotFoundError(e.anchorName, t);
|
|
192
192
|
let n = s(t, "utf8");
|
|
193
193
|
if (!this.anchorsService.hasAnchor({
|
|
194
194
|
anchorName: e.anchorName,
|
|
@@ -298,7 +298,7 @@ var H = class {
|
|
|
298
298
|
}
|
|
299
299
|
writeAnchoredMarkdown(e) {
|
|
300
300
|
let t = l.resolve(e.absoluteRoot, e.path);
|
|
301
|
-
if (!a(t)) throw new
|
|
301
|
+
if (!a(t)) throw new AnchorNotFoundError(e.anchorName, t);
|
|
302
302
|
let n = s(t, "utf8");
|
|
303
303
|
if (!this.anchorsService.hasAnchor({
|
|
304
304
|
anchorName: e.anchorName,
|
|
@@ -323,7 +323,7 @@ var H = class {
|
|
|
323
323
|
r !== n && c(t, r, "utf8");
|
|
324
324
|
}
|
|
325
325
|
writeAutoCreatedAnchorSection(e) {
|
|
326
|
-
if (e.markdownSection === void 0) throw new
|
|
326
|
+
if (e.markdownSection === void 0) throw new AnchorNotFoundError(e.anchorName, e.resolvedPath);
|
|
327
327
|
let t = this.anchorsService.insertAnchorSection({
|
|
328
328
|
anchorName: e.anchorName,
|
|
329
329
|
content: e.content,
|
|
@@ -362,19 +362,19 @@ var H = class {
|
|
|
362
362
|
return `${JSON.stringify(e, null, 2)}\n`;
|
|
363
363
|
}
|
|
364
364
|
};
|
|
365
|
-
|
|
365
|
+
R = __decorate([n(), __decorateMetadata("design:paramtypes", [D === void 0 ? Object : D])], R);
|
|
366
366
|
//#endregion
|
|
367
367
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/delivery/delivery.module.ts
|
|
368
|
-
var
|
|
369
|
-
|
|
368
|
+
var z = class DeliveryModule {};
|
|
369
|
+
z = __decorate([r({
|
|
370
370
|
controllers: [],
|
|
371
|
-
exports: [
|
|
372
|
-
imports: [
|
|
373
|
-
providers: [
|
|
374
|
-
})],
|
|
371
|
+
exports: [R],
|
|
372
|
+
imports: [O],
|
|
373
|
+
providers: [R]
|
|
374
|
+
})], z);
|
|
375
375
|
//#endregion
|
|
376
376
|
//#region packages/logging/src/modules/logger/logger.constants.ts
|
|
377
|
-
var
|
|
377
|
+
var he = /^(\p{Extended_Pictographic}οΈ?(?:β\p{Extended_Pictographic}οΈ?)*)\s+/u, ge = /^([A-Za-z]+)/, _e = /* @__PURE__ */ new Set([
|
|
378
378
|
"built",
|
|
379
379
|
"cut",
|
|
380
380
|
"found",
|
|
@@ -392,7 +392,7 @@ var ge = /^(\p{Extended_Pictographic}οΈ?(?:β\p{Extended_Pictographic}οΈ?)*)\
|
|
|
392
392
|
"split",
|
|
393
393
|
"took",
|
|
394
394
|
"wrote"
|
|
395
|
-
]),
|
|
395
|
+
]), ve = /* @__PURE__ */ new Set([
|
|
396
396
|
"CommandFactory",
|
|
397
397
|
"ExceptionHandler",
|
|
398
398
|
"GraphQLModule",
|
|
@@ -402,9 +402,9 @@ var ge = /^(\p{Extended_Pictographic}οΈ?(?:β\p{Extended_Pictographic}οΈ?)*)\
|
|
|
402
402
|
"RouterExplorer",
|
|
403
403
|
"RoutesResolver",
|
|
404
404
|
"TypeOrmModule"
|
|
405
|
-
]),
|
|
405
|
+
]), B, V = class LoggerService extends e {
|
|
406
406
|
static {
|
|
407
|
-
|
|
407
|
+
B = this;
|
|
408
408
|
}
|
|
409
409
|
constructor() {
|
|
410
410
|
super();
|
|
@@ -412,15 +412,15 @@ var ge = /^(\p{Extended_Pictographic}οΈ?(?:β\p{Extended_Pictographic}οΈ?)*)\
|
|
|
412
412
|
static isProduction = process.env.NODE_ENV === "production";
|
|
413
413
|
static rootLogger;
|
|
414
414
|
static writesToStandardError = !1;
|
|
415
|
-
child =
|
|
415
|
+
child = B.root;
|
|
416
416
|
static createRootLogger() {
|
|
417
417
|
let e = process.env.LOG_LEVEL ?? "info";
|
|
418
|
-
return
|
|
418
|
+
return B.isProduction ? B.writesToStandardError ? h({ level: e }, h.destination(2)) : h({ level: e }) : h({
|
|
419
419
|
level: e,
|
|
420
420
|
transport: {
|
|
421
421
|
options: {
|
|
422
422
|
colorize: !0,
|
|
423
|
-
destination:
|
|
423
|
+
destination: B.writesToStandardError ? 2 : 1,
|
|
424
424
|
ignore: "pid,hostname,emoji",
|
|
425
425
|
messageFormat: "{emoji} {msg}",
|
|
426
426
|
singleLine: !0
|
|
@@ -430,14 +430,14 @@ var ge = /^(\p{Extended_Pictographic}οΈ?(?:β\p{Extended_Pictographic}οΈ?)*)\
|
|
|
430
430
|
});
|
|
431
431
|
}
|
|
432
432
|
static logToStandardError() {
|
|
433
|
-
if (
|
|
433
|
+
if (B.rootLogger !== void 0) {
|
|
434
434
|
process.emitWarning("LoggerService.logToStandardError() was called after the first log line, so log lines still go to standard output and anything piping that stream will read them as data. Call it as the first statement of the application's bootstrap.");
|
|
435
435
|
return;
|
|
436
436
|
}
|
|
437
|
-
|
|
437
|
+
B.writesToStandardError = !0;
|
|
438
438
|
}
|
|
439
439
|
assertConventionalMessage(e) {
|
|
440
|
-
if (
|
|
440
|
+
if (B.isProduction || this.shouldSkipConventionalMessageValidation(e.context)) return;
|
|
441
441
|
let t = this.getConventionalMessageViolation(e.parsed);
|
|
442
442
|
if (t !== void 0) throw Error(t);
|
|
443
443
|
}
|
|
@@ -448,21 +448,21 @@ var ge = /^(\p{Extended_Pictographic}οΈ?(?:β\p{Extended_Pictographic}οΈ?)*)\
|
|
|
448
448
|
}), {
|
|
449
449
|
...e.data,
|
|
450
450
|
context: e.context,
|
|
451
|
-
...
|
|
451
|
+
...B.isProduction ? {} : { emoji: e.parsed.emoji }
|
|
452
452
|
};
|
|
453
453
|
}
|
|
454
454
|
getConventionalMessageViolation(e) {
|
|
455
455
|
let t = e.emoji, n = e.text;
|
|
456
456
|
if (t === void 0) return `Log message must start with an emoji naming its subject, then a verb: "${n}"`;
|
|
457
|
-
let r =
|
|
457
|
+
let r = ge.exec(n)?.[1];
|
|
458
458
|
if (r === void 0 || !this.isConventionalVerb(r)) return `Log message must begin with a verb in present progressive or past tense, got "${r ?? ""}": "${t} ${n}"`;
|
|
459
459
|
}
|
|
460
460
|
isConventionalVerb(e) {
|
|
461
461
|
let t = e.toLowerCase();
|
|
462
|
-
return t.endsWith("ing") || t.endsWith("ed") ||
|
|
462
|
+
return t.endsWith("ing") || t.endsWith("ed") || _e.has(t);
|
|
463
463
|
}
|
|
464
464
|
parseMessage(e) {
|
|
465
|
-
let t = String(e), n =
|
|
465
|
+
let t = String(e), n = he.exec(t), r = n?.[1];
|
|
466
466
|
return r === void 0 ? {
|
|
467
467
|
emoji: void 0,
|
|
468
468
|
text: t
|
|
@@ -472,10 +472,10 @@ var ge = /^(\p{Extended_Pictographic}οΈ?(?:β\p{Extended_Pictographic}οΈ?)*)\
|
|
|
472
472
|
};
|
|
473
473
|
}
|
|
474
474
|
shouldSkipConventionalMessageValidation(e) {
|
|
475
|
-
return e !== void 0 &&
|
|
475
|
+
return e !== void 0 && ve.has(e);
|
|
476
476
|
}
|
|
477
477
|
static get root() {
|
|
478
|
-
return
|
|
478
|
+
return B.rootLogger ??= B.createRootLogger(), B.rootLogger;
|
|
479
479
|
}
|
|
480
480
|
buildErrorLogEntry(e, t) {
|
|
481
481
|
let n = t instanceof Error ? t.stack || t.message : String(t);
|
|
@@ -519,7 +519,7 @@ var ge = /^(\p{Extended_Pictographic}οΈ?(?:β\p{Extended_Pictographic}οΈ?)*)\
|
|
|
519
519
|
this.info(e, t, n);
|
|
520
520
|
}
|
|
521
521
|
setContext(e) {
|
|
522
|
-
super.setContext(e), this.child =
|
|
522
|
+
super.setContext(e), this.child = B.root.child({ context: e });
|
|
523
523
|
}
|
|
524
524
|
verbose(e, t, n) {
|
|
525
525
|
let r = this.parseMessage(e);
|
|
@@ -538,19 +538,19 @@ var ge = /^(\p{Extended_Pictographic}οΈ?(?:β\p{Extended_Pictographic}οΈ?)*)\
|
|
|
538
538
|
}), r.text);
|
|
539
539
|
}
|
|
540
540
|
};
|
|
541
|
-
|
|
541
|
+
V = B = __decorate([n({ scope: i.TRANSIENT }), __decorateMetadata("design:paramtypes", [])], V);
|
|
542
542
|
//#endregion
|
|
543
543
|
//#region packages/logging/src/modules/logger/logger.module.ts
|
|
544
|
-
var
|
|
545
|
-
|
|
544
|
+
var H = class LoggerModule {};
|
|
545
|
+
H = __decorate([t(), r({
|
|
546
546
|
controllers: [],
|
|
547
|
-
exports: [
|
|
547
|
+
exports: [V],
|
|
548
548
|
imports: [],
|
|
549
|
-
providers: [
|
|
550
|
-
})],
|
|
549
|
+
providers: [V]
|
|
550
|
+
})], H);
|
|
551
551
|
//#endregion
|
|
552
552
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/project-graphs/project-graphs.service.ts
|
|
553
|
-
var
|
|
553
|
+
var U = class ProjectGraphsService {
|
|
554
554
|
configurationService;
|
|
555
555
|
deliveryService;
|
|
556
556
|
moduleGraphService;
|
|
@@ -562,7 +562,7 @@ var q = class {
|
|
|
562
562
|
}
|
|
563
563
|
buildMarkdownSection(e) {
|
|
564
564
|
return {
|
|
565
|
-
introLine:
|
|
565
|
+
introLine: A,
|
|
566
566
|
subheading: e
|
|
567
567
|
};
|
|
568
568
|
}
|
|
@@ -596,7 +596,7 @@ var q = class {
|
|
|
596
596
|
return this.deliveryService.deliverGraphOutput({
|
|
597
597
|
jsonContent: r.json === void 0 ? void 0 : this.deliveryService.renderJson(o),
|
|
598
598
|
markdownContent: r.markdown === void 0 ? void 0 : this.typescriptService.renderMermaid(a),
|
|
599
|
-
markdownSection: this.buildMarkdownSection(
|
|
599
|
+
markdownSection: this.buildMarkdownSection(k),
|
|
600
600
|
mode: t,
|
|
601
601
|
project: n,
|
|
602
602
|
resolvedOutput: r
|
|
@@ -607,7 +607,7 @@ var q = class {
|
|
|
607
607
|
return this.deliveryService.deliverGraphOutput({
|
|
608
608
|
jsonContent: r.json === void 0 ? void 0 : this.deliveryService.renderJson(o),
|
|
609
609
|
markdownContent: r.markdown === void 0 ? void 0 : this.moduleGraphService.renderMermaid(a),
|
|
610
|
-
markdownSection: this.buildMarkdownSection(
|
|
610
|
+
markdownSection: this.buildMarkdownSection(j),
|
|
611
611
|
mode: t,
|
|
612
612
|
project: n,
|
|
613
613
|
resolvedOutput: r
|
|
@@ -618,7 +618,7 @@ var q = class {
|
|
|
618
618
|
return this.deliveryService.deliverGraphOutput({
|
|
619
619
|
jsonContent: i.json === void 0 ? void 0 : this.deliveryService.renderJson(this.buildNeighborhoodJsonExport(n)),
|
|
620
620
|
markdownContent: i.markdown === void 0 ? void 0 : this.neighborhoodService.renderMermaid(n),
|
|
621
|
-
markdownSection: this.buildMarkdownSection(
|
|
621
|
+
markdownSection: this.buildMarkdownSection(fe),
|
|
622
622
|
mode: t,
|
|
623
623
|
project: r,
|
|
624
624
|
resolvedOutput: i
|
|
@@ -629,7 +629,7 @@ var q = class {
|
|
|
629
629
|
for (let i of t) {
|
|
630
630
|
let t = this.resolveProjectOutput({
|
|
631
631
|
context: e,
|
|
632
|
-
graphType:
|
|
632
|
+
graphType: le,
|
|
633
633
|
project: i
|
|
634
634
|
});
|
|
635
635
|
if (t.target !== "none") try {
|
|
@@ -652,7 +652,7 @@ var q = class {
|
|
|
652
652
|
for (let i of t) {
|
|
653
653
|
let t = this.resolveProjectOutput({
|
|
654
654
|
context: e,
|
|
655
|
-
graphType:
|
|
655
|
+
graphType: ue,
|
|
656
656
|
project: i
|
|
657
657
|
});
|
|
658
658
|
if (t.target !== "none") try {
|
|
@@ -675,7 +675,7 @@ var q = class {
|
|
|
675
675
|
for (let e of t.projects) {
|
|
676
676
|
let a = n.get(e.name), o = this.resolveProjectOutput({
|
|
677
677
|
context: t,
|
|
678
|
-
graphType:
|
|
678
|
+
graphType: de,
|
|
679
679
|
project: e
|
|
680
680
|
});
|
|
681
681
|
if (a !== void 0 && o.target !== "none") try {
|
|
@@ -695,33 +695,33 @@ var q = class {
|
|
|
695
695
|
};
|
|
696
696
|
}
|
|
697
697
|
};
|
|
698
|
-
|
|
698
|
+
U = __decorate([n(), __decorateMetadata("design:paramtypes", [
|
|
699
699
|
f === void 0 ? Object : f,
|
|
700
|
-
|
|
701
|
-
|
|
700
|
+
R === void 0 ? Object : R,
|
|
701
|
+
S === void 0 ? Object : S,
|
|
702
702
|
p === void 0 ? Object : p,
|
|
703
|
-
|
|
703
|
+
T === void 0 ? Object : T,
|
|
704
704
|
b === void 0 ? Object : b
|
|
705
|
-
])],
|
|
705
|
+
])], U);
|
|
706
706
|
//#endregion
|
|
707
707
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/project-graphs/project-graphs.module.ts
|
|
708
|
-
var
|
|
709
|
-
|
|
708
|
+
var W = class ProjectGraphsModule {};
|
|
709
|
+
W = __decorate([r({
|
|
710
710
|
controllers: [],
|
|
711
|
-
exports: [
|
|
711
|
+
exports: [U],
|
|
712
712
|
imports: [
|
|
713
713
|
d,
|
|
714
|
-
|
|
715
|
-
|
|
714
|
+
z,
|
|
715
|
+
x,
|
|
716
716
|
te,
|
|
717
|
-
|
|
717
|
+
w,
|
|
718
718
|
y
|
|
719
719
|
],
|
|
720
|
-
providers: [
|
|
721
|
-
})],
|
|
720
|
+
providers: [U]
|
|
721
|
+
})], W);
|
|
722
722
|
//#endregion
|
|
723
723
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/python-imports/python-imports.service.ts
|
|
724
|
-
var
|
|
724
|
+
var G = class PythonImportsService {
|
|
725
725
|
configurationService;
|
|
726
726
|
deliveryService;
|
|
727
727
|
pythonService;
|
|
@@ -730,8 +730,8 @@ var J = class {
|
|
|
730
730
|
}
|
|
731
731
|
buildMarkdownSection() {
|
|
732
732
|
return {
|
|
733
|
-
introLine:
|
|
734
|
-
subheading:
|
|
733
|
+
introLine: A,
|
|
734
|
+
subheading: pe
|
|
735
735
|
};
|
|
736
736
|
}
|
|
737
737
|
collectProjectFailure(e, t) {
|
|
@@ -744,7 +744,7 @@ var J = class {
|
|
|
744
744
|
let { context: t, project: n } = e;
|
|
745
745
|
return this.configurationService.resolveForProject({
|
|
746
746
|
configuration: t.configuration,
|
|
747
|
-
graphType:
|
|
747
|
+
graphType: le,
|
|
748
748
|
projectConfiguration: t.projectConfigurations.get(n.name),
|
|
749
749
|
projectName: n.name,
|
|
750
750
|
projectRoot: l.relative(t.workingDirectory, n.absoluteRoot),
|
|
@@ -785,27 +785,27 @@ var J = class {
|
|
|
785
785
|
};
|
|
786
786
|
}
|
|
787
787
|
};
|
|
788
|
-
|
|
788
|
+
G = __decorate([n(), __decorateMetadata("design:paramtypes", [
|
|
789
789
|
f === void 0 ? Object : f,
|
|
790
|
-
|
|
790
|
+
R === void 0 ? Object : R,
|
|
791
791
|
v === void 0 ? Object : v
|
|
792
|
-
])],
|
|
792
|
+
])], G);
|
|
793
793
|
//#endregion
|
|
794
794
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/python-imports/python-imports.module.ts
|
|
795
|
-
var
|
|
796
|
-
|
|
795
|
+
var K = class PythonImportsModule {};
|
|
796
|
+
K = __decorate([r({
|
|
797
797
|
controllers: [],
|
|
798
|
-
exports: [
|
|
798
|
+
exports: [G],
|
|
799
799
|
imports: [
|
|
800
800
|
d,
|
|
801
|
-
|
|
801
|
+
z,
|
|
802
802
|
_
|
|
803
803
|
],
|
|
804
|
-
providers: [
|
|
805
|
-
})],
|
|
804
|
+
providers: [G]
|
|
805
|
+
})], K);
|
|
806
806
|
//#endregion
|
|
807
807
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/workspace-graphs/workspace-graphs.service.ts
|
|
808
|
-
var
|
|
808
|
+
var q = class WorkspaceGraphsService {
|
|
809
809
|
configurationService;
|
|
810
810
|
deliveryService;
|
|
811
811
|
fileImportsWorkspaceGraphService;
|
|
@@ -820,7 +820,7 @@ var X = class {
|
|
|
820
820
|
}
|
|
821
821
|
buildMarkdownSection(e) {
|
|
822
822
|
return {
|
|
823
|
-
introLine:
|
|
823
|
+
introLine: A,
|
|
824
824
|
subheading: e
|
|
825
825
|
};
|
|
826
826
|
}
|
|
@@ -843,13 +843,13 @@ var X = class {
|
|
|
843
843
|
mode: e.mode,
|
|
844
844
|
project: {
|
|
845
845
|
absoluteRoot: e.workingDirectory,
|
|
846
|
-
name:
|
|
846
|
+
name: M
|
|
847
847
|
},
|
|
848
848
|
resolvedOutput: e.resolvedOutput
|
|
849
849
|
});
|
|
850
850
|
}
|
|
851
851
|
runFileImportsWorkspaceGraph(e) {
|
|
852
|
-
let { configuration: t, mode: n, workingDirectory: r } = e, i = this.configurationService.resolveForWorkspace(t,
|
|
852
|
+
let { configuration: t, mode: n, workingDirectory: r } = e, i = this.configurationService.resolveForWorkspace(t, le);
|
|
853
853
|
if (i.target === "none") return {
|
|
854
854
|
entry: void 0,
|
|
855
855
|
result: void 0
|
|
@@ -866,7 +866,7 @@ var X = class {
|
|
|
866
866
|
result: this.deliverWorkspaceGraph({
|
|
867
867
|
jsonExport: c,
|
|
868
868
|
markdownContent: l,
|
|
869
|
-
markdownSubheading:
|
|
869
|
+
markdownSubheading: k,
|
|
870
870
|
mode: n,
|
|
871
871
|
resolvedOutput: i,
|
|
872
872
|
workingDirectory: r
|
|
@@ -874,7 +874,7 @@ var X = class {
|
|
|
874
874
|
};
|
|
875
875
|
}
|
|
876
876
|
async runNestjsModulesWorkspaceGraph(e) {
|
|
877
|
-
let { configuration: t, mode: n, workingDirectory: r } = e, i = this.configurationService.resolveForWorkspace(t,
|
|
877
|
+
let { configuration: t, mode: n, workingDirectory: r } = e, i = this.configurationService.resolveForWorkspace(t, ue);
|
|
878
878
|
if (i.target === "none") return {
|
|
879
879
|
entry: void 0,
|
|
880
880
|
result: void 0
|
|
@@ -888,7 +888,7 @@ var X = class {
|
|
|
888
888
|
result: this.deliverWorkspaceGraph({
|
|
889
889
|
jsonExport: s,
|
|
890
890
|
markdownContent: c,
|
|
891
|
-
markdownSubheading:
|
|
891
|
+
markdownSubheading: j,
|
|
892
892
|
mode: n,
|
|
893
893
|
resolvedOutput: i,
|
|
894
894
|
workingDirectory: r
|
|
@@ -896,7 +896,7 @@ var X = class {
|
|
|
896
896
|
};
|
|
897
897
|
}
|
|
898
898
|
runNxWorkspaceGraph(e) {
|
|
899
|
-
let { configuration: t, graph: n, mode: r, workingDirectory: i } = e, a = this.configurationService.resolveForWorkspace(t,
|
|
899
|
+
let { configuration: t, graph: n, mode: r, workingDirectory: i } = e, a = this.configurationService.resolveForWorkspace(t, de);
|
|
900
900
|
if (a.target === "none") return {
|
|
901
901
|
entry: void 0,
|
|
902
902
|
result: void 0
|
|
@@ -918,46 +918,46 @@ var X = class {
|
|
|
918
918
|
};
|
|
919
919
|
}
|
|
920
920
|
};
|
|
921
|
-
|
|
921
|
+
q = __decorate([n(), __decorateMetadata("design:paramtypes", [
|
|
922
922
|
f === void 0 ? Object : f,
|
|
923
|
-
|
|
923
|
+
R === void 0 ? Object : R,
|
|
924
924
|
g === void 0 ? Object : g,
|
|
925
|
-
x === void 0 ? Object : x,
|
|
926
925
|
S === void 0 ? Object : S,
|
|
927
|
-
|
|
926
|
+
C === void 0 ? Object : C,
|
|
927
|
+
T === void 0 ? Object : T,
|
|
928
928
|
v === void 0 ? Object : v,
|
|
929
929
|
b === void 0 ? Object : b,
|
|
930
930
|
m === void 0 ? Object : m
|
|
931
|
-
])],
|
|
931
|
+
])], q);
|
|
932
932
|
//#endregion
|
|
933
933
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/workspace-graphs/workspace-graphs.module.ts
|
|
934
|
-
var
|
|
935
|
-
|
|
934
|
+
var J = class WorkspaceGraphsModule {};
|
|
935
|
+
J = __decorate([r({
|
|
936
936
|
controllers: [],
|
|
937
|
-
exports: [
|
|
937
|
+
exports: [q],
|
|
938
938
|
imports: [
|
|
939
939
|
d,
|
|
940
|
-
|
|
940
|
+
z,
|
|
941
941
|
re,
|
|
942
|
+
x,
|
|
942
943
|
ie,
|
|
943
|
-
|
|
944
|
-
C,
|
|
944
|
+
w,
|
|
945
945
|
_,
|
|
946
946
|
y,
|
|
947
947
|
ne
|
|
948
948
|
],
|
|
949
|
-
providers: [
|
|
950
|
-
})],
|
|
949
|
+
providers: [q]
|
|
950
|
+
})], J);
|
|
951
951
|
//#endregion
|
|
952
952
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/graph-run/graph-run.service.ts
|
|
953
|
-
var
|
|
953
|
+
var Y, X = Y = class GraphRunService {
|
|
954
954
|
logger;
|
|
955
955
|
neighborhoodService;
|
|
956
956
|
projectGraphsService;
|
|
957
957
|
pythonImportsService;
|
|
958
958
|
workspaceGraphsService;
|
|
959
959
|
constructor(e, t, n, r, i) {
|
|
960
|
-
this.logger = e, this.neighborhoodService = t, this.projectGraphsService = n, this.pythonImportsService = r, this.workspaceGraphsService = i, this.logger.setContext(
|
|
960
|
+
this.logger = e, this.neighborhoodService = t, this.projectGraphsService = n, this.pythonImportsService = r, this.workspaceGraphsService = i, this.logger.setContext(Y.name);
|
|
961
961
|
}
|
|
962
962
|
collectCombinedGraphs(e) {
|
|
963
963
|
let { importsOutcome: t, nestjsOutcome: n, nxOutcome: r } = e, i = {};
|
|
@@ -974,12 +974,12 @@ var Se, Z = Se = class {
|
|
|
974
974
|
let t = e.build();
|
|
975
975
|
return t.result !== void 0 && e.results.push(t.result), t.entry;
|
|
976
976
|
} catch (t) {
|
|
977
|
-
e.failures.push(this.collectProjectFailure(
|
|
977
|
+
e.failures.push(this.collectProjectFailure(M, t));
|
|
978
978
|
return;
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
981
|
async run(e) {
|
|
982
|
-
let { enabledGraphTypes: t } = e, n = t.has("nxProjects") ? this.runNxGraphs(e) :
|
|
982
|
+
let { enabledGraphTypes: t } = e, n = t.has("nxProjects") ? this.runNxGraphs(e) : ce, r = t.has("nestjsModules") ? await this.runNestjsGraphs(e) : ce, i = t.has("fileImports") ? this.runImportGraphs(e) : ce, a = t.has("fileImports") ? this.runPythonImportGraphs(e) : se;
|
|
983
983
|
return {
|
|
984
984
|
combinedGraphs: this.collectCombinedGraphs({
|
|
985
985
|
importsOutcome: i,
|
|
@@ -1020,7 +1020,7 @@ var Se, Z = Se = class {
|
|
|
1020
1020
|
let t = await this.workspaceGraphsService.runNestjsModulesWorkspaceGraph(e);
|
|
1021
1021
|
r = t.entry, t.result !== void 0 && n.push(t.result);
|
|
1022
1022
|
} catch (e) {
|
|
1023
|
-
t.push(this.collectProjectFailure(
|
|
1023
|
+
t.push(this.collectProjectFailure(M, e));
|
|
1024
1024
|
}
|
|
1025
1025
|
return {
|
|
1026
1026
|
failures: t,
|
|
@@ -1047,35 +1047,35 @@ var Se, Z = Se = class {
|
|
|
1047
1047
|
return this.pythonImportsService.runGraphs(e);
|
|
1048
1048
|
}
|
|
1049
1049
|
};
|
|
1050
|
-
|
|
1051
|
-
|
|
1050
|
+
X = Y = __decorate([n(), __decorateMetadata("design:paramtypes", [
|
|
1051
|
+
V === void 0 ? Object : V,
|
|
1052
1052
|
p === void 0 ? Object : p,
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
])],
|
|
1053
|
+
U === void 0 ? Object : U,
|
|
1054
|
+
G === void 0 ? Object : G,
|
|
1055
|
+
q === void 0 ? Object : q
|
|
1056
|
+
])], X);
|
|
1057
1057
|
//#endregion
|
|
1058
1058
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/graph-run/graph-run.module.ts
|
|
1059
|
-
var
|
|
1060
|
-
|
|
1059
|
+
var Z = class GraphRunModule {};
|
|
1060
|
+
Z = __decorate([r({
|
|
1061
1061
|
controllers: [],
|
|
1062
|
-
exports: [
|
|
1062
|
+
exports: [X],
|
|
1063
1063
|
imports: [
|
|
1064
|
-
|
|
1064
|
+
H,
|
|
1065
1065
|
te,
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1066
|
+
W,
|
|
1067
|
+
K,
|
|
1068
|
+
J
|
|
1069
1069
|
],
|
|
1070
|
-
providers: [
|
|
1071
|
-
})],
|
|
1070
|
+
providers: [X]
|
|
1071
|
+
})], Z);
|
|
1072
1072
|
//#endregion
|
|
1073
1073
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.constants.ts
|
|
1074
|
-
var
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
],
|
|
1074
|
+
var ye = " β ", be = "mermaid", xe = [
|
|
1075
|
+
N,
|
|
1076
|
+
P,
|
|
1077
|
+
be
|
|
1078
|
+
], Se = "graph LR", buildNoPathMessage = (e, t) => `_No path connects "${e}" to "${t}"._`, Q = class PathQueryService {
|
|
1079
1079
|
fileImportsWorkspaceGraphService;
|
|
1080
1080
|
moduleGraphService;
|
|
1081
1081
|
nestjsModulesWorkspaceGraphService;
|
|
@@ -1141,7 +1141,7 @@ var we = " β ", Te = "mermaid", Ee = [
|
|
|
1141
1141
|
for (let n of u) {
|
|
1142
1142
|
let r = e[n];
|
|
1143
1143
|
if (r === void 0) continue;
|
|
1144
|
-
let i = `### ${
|
|
1144
|
+
let i = `### ${me[n]}`, a = r.path === null || r.path.length === 0 ? buildNoPathMessage(r.from, r.to) : r.path.map((e) => `\`${e}\``).join(ye);
|
|
1145
1145
|
t.push(`${i}\n\n${a}`);
|
|
1146
1146
|
}
|
|
1147
1147
|
return t.join("\n\n");
|
|
@@ -1156,10 +1156,10 @@ var we = " β ", Te = "mermaid", Ee = [
|
|
|
1156
1156
|
}
|
|
1157
1157
|
renderMermaidSection(e) {
|
|
1158
1158
|
let t = e.path;
|
|
1159
|
-
if (t === null || t.length === 0) return
|
|
1159
|
+
if (t === null || t.length === 0) return buildNoPathMessage(e.from, e.to);
|
|
1160
1160
|
let n = [
|
|
1161
1161
|
"```mermaid",
|
|
1162
|
-
|
|
1162
|
+
Se,
|
|
1163
1163
|
...t.map((e) => ` ${this.toMermaidId(e)}["${e}"]`)
|
|
1164
1164
|
];
|
|
1165
1165
|
for (let e = 0; e + 1 < t.length; e++) {
|
|
@@ -1207,51 +1207,51 @@ var we = " β ", Te = "mermaid", Ee = [
|
|
|
1207
1207
|
resolveFormat(e) {
|
|
1208
1208
|
if (e === void 0) return {
|
|
1209
1209
|
errors: [],
|
|
1210
|
-
format:
|
|
1210
|
+
format: P
|
|
1211
1211
|
};
|
|
1212
|
-
let t =
|
|
1212
|
+
let t = xe.find((t) => t === e);
|
|
1213
1213
|
return t === void 0 ? {
|
|
1214
|
-
errors: [`--format does not accept "${e}". It takes one of ${
|
|
1215
|
-
format:
|
|
1214
|
+
errors: [`--format does not accept "${e}". It takes one of ${xe.map((e) => `"${e}"`).join(" and ")}, as in "--format ${P}".`],
|
|
1215
|
+
format: P
|
|
1216
1216
|
} : {
|
|
1217
1217
|
errors: [],
|
|
1218
1218
|
format: t
|
|
1219
1219
|
};
|
|
1220
1220
|
}
|
|
1221
1221
|
};
|
|
1222
|
-
Q =
|
|
1222
|
+
Q = __decorate([n(), __decorateMetadata("design:paramtypes", [
|
|
1223
1223
|
g === void 0 ? Object : g,
|
|
1224
|
-
x === void 0 ? Object : x,
|
|
1225
1224
|
S === void 0 ? Object : S,
|
|
1226
|
-
|
|
1225
|
+
C === void 0 ? Object : C,
|
|
1226
|
+
T === void 0 ? Object : T,
|
|
1227
1227
|
v === void 0 ? Object : v,
|
|
1228
1228
|
b === void 0 ? Object : b,
|
|
1229
1229
|
m === void 0 ? Object : m
|
|
1230
1230
|
])], Q);
|
|
1231
1231
|
//#endregion
|
|
1232
1232
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.module.ts
|
|
1233
|
-
var
|
|
1234
|
-
|
|
1233
|
+
var Ce = class PathQueryModule {};
|
|
1234
|
+
Ce = __decorate([r({
|
|
1235
1235
|
controllers: [],
|
|
1236
1236
|
exports: [Q],
|
|
1237
1237
|
imports: [
|
|
1238
1238
|
re,
|
|
1239
|
+
x,
|
|
1239
1240
|
ie,
|
|
1240
|
-
|
|
1241
|
-
C,
|
|
1241
|
+
w,
|
|
1242
1242
|
_,
|
|
1243
1243
|
y,
|
|
1244
1244
|
ne
|
|
1245
1245
|
],
|
|
1246
1246
|
providers: [Q]
|
|
1247
|
-
})],
|
|
1247
|
+
})], Ce);
|
|
1248
1248
|
//#endregion
|
|
1249
1249
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/reporting/reporting.service.ts
|
|
1250
|
-
var
|
|
1250
|
+
var we, $ = we = class ReportingService {
|
|
1251
1251
|
boundaryReportService;
|
|
1252
1252
|
logger;
|
|
1253
1253
|
constructor(e, t) {
|
|
1254
|
-
this.boundaryReportService = e, this.logger = t, this.logger.setContext(
|
|
1254
|
+
this.boundaryReportService = e, this.logger = t, this.logger.setContext(we.name);
|
|
1255
1255
|
}
|
|
1256
1256
|
reportBoundaries(e) {
|
|
1257
1257
|
return e.failures.length > 0 && this.logger.error("π₯ Failed running codependix", void 0, { failures: e.failures }), e.violations.length > 0 && this.logger.error("πΈοΈ Found codependix boundary violations", void 0, {
|
|
@@ -1289,15 +1289,15 @@ var Ae, $ = Ae = class {
|
|
|
1289
1289
|
e.exportOutcome !== void 0 && this.logger.info("πΈοΈ Verified every configured codependix export is current", void 0, { projects: e.exportOutcome.results.length }), e.boundaryOutcome !== void 0 && this.logger.info("πΈοΈ Verified every declared codependix boundary holds");
|
|
1290
1290
|
}
|
|
1291
1291
|
};
|
|
1292
|
-
$ =
|
|
1292
|
+
$ = we = __decorate([n(), __decorateMetadata("design:paramtypes", [oe === void 0 ? Object : oe, V === void 0 ? Object : V])], $);
|
|
1293
1293
|
//#endregion
|
|
1294
1294
|
//#region packages/ic-suite/codependix/codependix-output/src/modules/reporting/reporting.module.ts
|
|
1295
|
-
var
|
|
1296
|
-
|
|
1295
|
+
var Te = class ReportingModule {};
|
|
1296
|
+
Te = __decorate([r({
|
|
1297
1297
|
controllers: [],
|
|
1298
1298
|
exports: [$],
|
|
1299
|
-
imports: [
|
|
1299
|
+
imports: [ae, H],
|
|
1300
1300
|
providers: [$]
|
|
1301
|
-
})],
|
|
1301
|
+
})], Te);
|
|
1302
1302
|
//#endregion
|
|
1303
|
-
export {
|
|
1303
|
+
export { AnchorNotFoundError, O as AnchorsModule, D as AnchorsService, E as CODEPENDIX_SECTION_HEADING, L as CombinedOutputModule, I as CombinedOutputService, z as DeliveryModule, R as DeliveryService, N as FORMAT_JSON, P as FORMAT_MARKDOWN, be as FORMAT_MERMAID, F as FORMAT_NAMES, Z as GraphRunModule, X as GraphRunService, A as MARKDOWN_SECTION_INTRO_LINE, ye as PATH_ARROW, xe as PATH_FORMAT_NAMES, Se as PATH_MERMAID_HEADER, Ce as PathQueryModule, Q as PathQueryService, Te as ReportingModule, $ as ReportingService, buildEndMarker, buildNoPathMessage, buildStartMarker };
|
package/package.json
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
"url": "https://github.com/organizzolini/codebase/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@codependix/boundaries": "0.0.
|
|
8
|
-
"@codependix/configuration": "0.0.
|
|
9
|
-
"@codependix/core": "0.0.
|
|
10
|
-
"@codependix/file-imports": "0.0.
|
|
11
|
-
"@codependix/nestjs-modules": "0.0.
|
|
12
|
-
"@codependix/nx-projects": "0.0.
|
|
7
|
+
"@codependix/boundaries": "0.0.10",
|
|
8
|
+
"@codependix/configuration": "0.0.11",
|
|
9
|
+
"@codependix/core": "0.0.10",
|
|
10
|
+
"@codependix/file-imports": "0.0.10",
|
|
11
|
+
"@codependix/nestjs-modules": "0.0.10",
|
|
12
|
+
"@codependix/nx-projects": "0.0.10",
|
|
13
13
|
"@nestjs/common": "^11.1.21 || ^12.0.1",
|
|
14
14
|
"pino": "^10.3.1",
|
|
15
15
|
"pino-pretty": "^13.1.3",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"strict": true
|
|
67
67
|
},
|
|
68
68
|
"types": "./dist/src/index.d.ts",
|
|
69
|
-
"version": "0.0.
|
|
69
|
+
"version": "0.0.10"
|
|
70
70
|
}
|