@codependix/output 0.0.10 → 0.0.12
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 +28 -0
- package/README.md +36 -32
- package/dist/src/index.d.ts +38 -11
- package/dist/src/index.js +255 -230
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
## 0.0.12 (2026-10-09)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated codependix-nestjs-modules to 0.0.11
|
|
6
|
+
- Updated codependix-configuration to 0.0.13
|
|
7
|
+
- Updated codependix-file-imports to 0.0.11
|
|
8
|
+
- Updated codependix-nx-projects to 0.0.12
|
|
9
|
+
- Updated codependix-boundaries to 0.0.12
|
|
10
|
+
- Updated codependix-core to 0.0.11
|
|
11
|
+
|
|
12
|
+
## 0.0.11 (2026-10-08)
|
|
13
|
+
|
|
14
|
+
### 🚀 Features
|
|
15
|
+
|
|
16
|
+
- **codependix:** ✨ print boundary findings in the markdown and json output ([#1415](https://github.com/organizzolini/codebase/pull/1415), [#1401](https://github.com/organizzolini/codebase/issues/1401))
|
|
17
|
+
- ⚠️ **codependix:** 💥 charge boundary findings to the projects they belong to ([#1409](https://github.com/organizzolini/codebase/pull/1409), [#1400](https://github.com/organizzolini/codebase/issues/1400))
|
|
18
|
+
|
|
19
|
+
### ⚠️ Breaking Changes
|
|
20
|
+
|
|
21
|
+
- **codependix:** 💥 charge boundary findings to the projects they belong to ([#1409](https://github.com/organizzolini/codebase/pull/1409), [#1400](https://github.com/organizzolini/codebase/issues/1400))
|
|
22
|
+
|
|
23
|
+
### 🧱 Updated Dependencies
|
|
24
|
+
|
|
25
|
+
- Updated codependix-configuration to 0.0.12
|
|
26
|
+
- Updated codependix-nx-projects to 0.0.11
|
|
27
|
+
- Updated codependix-boundaries to 0.0.11
|
|
28
|
+
|
|
1
29
|
## 0.0.10 (2026-10-08)
|
|
2
30
|
|
|
3
31
|
### 🧱 Updated Dependencies
|
package/README.md
CHANGED
|
@@ -77,11 +77,13 @@ flowchart LR
|
|
|
77
77
|
WorkspaceGraphsModule
|
|
78
78
|
BoundaryCheckModule --> BoundariesModule
|
|
79
79
|
BoundaryCheckModule --> ModuleGraphModule
|
|
80
|
+
BoundaryCheckModule --> NeighborhoodModule
|
|
80
81
|
BoundaryCheckModule --> NestjsProjectModule
|
|
81
82
|
BoundaryCheckModule --> PythonModule
|
|
82
83
|
BoundaryCheckModule --> TypescriptModule
|
|
83
84
|
BoundaryCheckModule --> WorkspaceGraphModule
|
|
84
85
|
CombinedOutputModule --> AnchorsModule
|
|
86
|
+
CombinedOutputModule --> BoundaryCheckModule
|
|
85
87
|
ConfigurationModule --> InputModule
|
|
86
88
|
ConfigurationModule --> OverrideResolutionModule
|
|
87
89
|
DeliveryModule --> AnchorsModule
|
|
@@ -206,7 +208,6 @@ graph LR
|
|
|
206
208
|
file_src_modules_combined_output_combined_output_service_ts --> file_src_modules_combined_output_combined_output_types_ts
|
|
207
209
|
file_src_modules_combined_output_combined_output_service_ts --> file_src_modules_delivery_delivery_constants_ts
|
|
208
210
|
file_src_modules_combined_output_combined_output_service_ts --> file_src_modules_graph_run_graph_run_constants_ts
|
|
209
|
-
file_src_modules_combined_output_combined_output_service_ts --> file_src_modules_graph_run_graph_run_types_ts
|
|
210
211
|
file_src_modules_combined_output_combined_output_service_unit_test_ts --> file_src_modules_anchors_anchors_service_ts
|
|
211
212
|
file_src_modules_combined_output_combined_output_service_unit_test_ts --> file_src_modules_combined_output_combined_output_service_ts
|
|
212
213
|
file_src_modules_combined_output_combined_output_service_unit_test_ts --> file_src_modules_graph_run_graph_run_types_ts
|
|
@@ -300,9 +301,9 @@ Call stacks traced through `packages/ic-suite/codependix/codependix-output`, dee
|
|
|
300
301
|
|
|
301
302
|
| Measure | Value |
|
|
302
303
|
| --- | --- |
|
|
303
|
-
| Callables |
|
|
304
|
+
| Callables | 115 |
|
|
304
305
|
| Files | 43 |
|
|
305
|
-
| Calls traced |
|
|
306
|
+
| Calls traced | 192 |
|
|
306
307
|
| Call stacks | 2 |
|
|
307
308
|
| Deepest stack | 11 |
|
|
308
309
|
| Stacks through recursion | 0 |
|
|
@@ -375,7 +376,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
375
376
|
| `ProjectGraphsService.runImportProject` | 6 | `TypescriptService.buildProgram`, `TypescriptService.buildGraph`, `DeliveryService.deliverGraphOutput`, `DeliveryService.renderJson`, `TypescriptService.renderMermaid`, `ProjectGraphsService.buildMarkdownSection` | `packages/ic-suite/codependix/codependix-output/src/modules/project-graphs/project-graphs.service.ts:131` |
|
|
376
377
|
|
|
377
378
|
<details>
|
|
378
|
-
<summary>
|
|
379
|
+
<summary>62 more callables</summary>
|
|
379
380
|
|
|
380
381
|
| Callable | Breadth | Calls directly | Location |
|
|
381
382
|
| --- | --- | --- | --- |
|
|
@@ -385,8 +386,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
385
386
|
| `PythonImportsService.runProject` | 5 | `PythonService.buildGraph`, `DeliveryService.deliverGraphOutput`, `DeliveryService.renderJson`, `PythonService.renderMermaid`, `PythonImportsService.buildMarkdownSection` | `packages/ic-suite/codependix/codependix-output/src/modules/python-imports/python-imports.service.ts:99` |
|
|
386
387
|
| `WorkspaceGraphsService.runNestjsModulesWorkspaceGraph` | 5 | `ConfigurationService.resolveForWorkspace`, `WorkspaceGraphsService.buildNestjsModuleGraphs`, `NestjsModulesWorkspaceGraphService.buildWorkspaceGraph`, `NestjsModulesWorkspaceGraphService.renderMermaid`, `WorkspaceGraphsService.deliverWorkspaceGraph` | `packages/ic-suite/codependix/codependix-output/src/modules/workspace-graphs/workspace-graphs.service.ts:231` |
|
|
387
388
|
| `GraphRunService.run` | 5 | `GraphRunService.runNxGraphs`, `GraphRunService.runNestjsGraphs`, `GraphRunService.runImportGraphs`, `GraphRunService.runPythonImportGraphs`, `GraphRunService.collectCombinedGraphs` | `packages/ic-suite/codependix/codependix-output/src/modules/graph-run/graph-run.service.ts:144` |
|
|
389
|
+
| `ReportingService.reportBoundaries` | 5 | `ReportingService.filterVerdict`, `BoundaryOutcomeReportService.renderFailures`, `BoundaryReportService.renderSummary`, `BoundaryReportService.renderViolations`, `ReportingService.reportBoundaryNotes` | `packages/ic-suite/codependix/codependix-output/src/modules/reporting/reporting.service.ts:90` |
|
|
388
390
|
| `AnchorsService.insertAnchorSection` | 4 | `AnchorsService.wrapInAnchors`, `AnchorsService.escapeForPattern`, `AnchorsService.appendCodependixSection`, `AnchorsService.insertIntoCodependixSection` | `packages/ic-suite/codependix/codependix-output/src/modules/anchors/anchors.service.ts:144` |
|
|
389
|
-
| `CombinedOutputService.run` | 4 | `CombinedOutputService.printConsole`, `CombinedOutputService.writeFile`, `CombinedOutputService.renderJson`, `CombinedOutputService.renderMarkdown` | `packages/ic-suite/codependix/codependix-output/src/modules/combined-output/combined-output.service.ts:
|
|
391
|
+
| `CombinedOutputService.run` | 4 | `CombinedOutputService.printConsole`, `CombinedOutputService.writeFile`, `CombinedOutputService.renderJson`, `CombinedOutputService.renderMarkdown` | `packages/ic-suite/codependix/codependix-output/src/modules/combined-output/combined-output.service.ts:177` |
|
|
390
392
|
| `DeliveryService.checkAnchoredMarkdown` | 4 | `AnchorNotFoundError.constructor`, `AnchorsService.hasAnchor`, `AnchorsService.checkAnchor`, `DeliveryService.classifyDifference` | `packages/ic-suite/codependix/codependix-output/src/modules/delivery/delivery.service.ts:51` |
|
|
391
393
|
| `DeliveryService.deliverMarkdown` | 4 | `DeliveryService.readFileOrEmpty`, `DeliveryService.classifyDifference`, `DeliveryService.checkAnchoredMarkdown`, `DeliveryService.writeAnchoredMarkdown` | `packages/ic-suite/codependix/codependix-output/src/modules/delivery/delivery.service.ts:168` |
|
|
392
394
|
| `DeliveryService.writeAnchoredMarkdown` | 4 | `AnchorNotFoundError.constructor`, `AnchorsService.hasAnchor`, `DeliveryService.writeAutoCreatedAnchorSection`, `AnchorsService.replaceAnchorContent` | `packages/ic-suite/codependix/codependix-output/src/modules/delivery/delivery.service.ts:282` |
|
|
@@ -396,6 +398,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
396
398
|
| `PythonImportsService.runGraphs` | 4 | `PythonService.discoverProjects`, `PythonImportsService.resolveProjectOutput`, `PythonImportsService.runProject`, `PythonImportsService.collectProjectFailure` | `packages/ic-suite/codependix/codependix-output/src/modules/python-imports/python-imports.service.ts:135` |
|
|
397
399
|
| `WorkspaceGraphsService.runNxWorkspaceGraph` | 4 | `ConfigurationService.resolveForWorkspace`, `WorkspaceGraphService.buildWorkspaceGraph`, `WorkspaceGraphService.renderMermaid`, `WorkspaceGraphsService.deliverWorkspaceGraph` | `packages/ic-suite/codependix/codependix-output/src/modules/workspace-graphs/workspace-graphs.service.ts:275` |
|
|
398
400
|
| `AnchorsService.buildAnchorPattern` | 3 | `AnchorsService.escapeForPattern`, `buildStartMarker`, `buildEndMarker` | `packages/ic-suite/codependix/codependix-output/src/modules/anchors/anchors.service.ts:59` |
|
|
401
|
+
| `CombinedOutputService.renderMarkdown` | 3 | `AnchorsService.insertAnchorSection`, `BoundaryOutcomeReportService.renderMarkdown`, `BoundaryOutcomeReportService.buildReport` | `packages/ic-suite/codependix/codependix-output/src/modules/combined-output/combined-output.service.ts:94` |
|
|
399
402
|
| `ProjectGraphsService.runNxProjectsGraphs` | 3 | `ProjectGraphsService.resolveProjectOutput`, `ProjectGraphsService.runNxProject`, `ProjectGraphsService.collectProjectFailure` | `packages/ic-suite/codependix/codependix-output/src/modules/project-graphs/project-graphs.service.ts:292` |
|
|
400
403
|
| `WorkspaceGraphsService.buildNestjsModuleGraphs` | 3 | `NestjsProjectService.discoverProjects`, `NestjsProjectService.exploreProject`, `ModuleGraphService.buildGraph` | `packages/ic-suite/codependix/codependix-output/src/modules/workspace-graphs/workspace-graphs.service.ts:92` |
|
|
401
404
|
| `WorkspaceGraphsService.deliverWorkspaceGraph` | 3 | `DeliveryService.deliverGraphOutput`, `DeliveryService.renderJson`, `WorkspaceGraphsService.buildMarkdownSection` | `packages/ic-suite/codependix/codependix-output/src/modules/workspace-graphs/workspace-graphs.service.ts:135` |
|
|
@@ -406,11 +409,11 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
406
409
|
| `PathQueryService.renderMermaidSection` | 3 | `buildNoPathMessage`, `PathQueryService.map(…)`, `PathQueryService.toMermaidId` | `packages/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:207` |
|
|
407
410
|
| `PathQueryService.findShortestPath` | 3 | `PathQueryService.isKnownNode`, `PathQueryService.searchBfs`, `PathQueryService.buildAdjacency` | `packages/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:269` |
|
|
408
411
|
| `PathQueryService.query` | 3 | `PathQueryService.queryNxProjects`, `PathQueryService.queryFileImports`, `PathQueryService.queryNestjsModules` | `packages/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:296` |
|
|
409
|
-
| `ReportingService.reportOutcome` | 3 | `ReportingService.filter(…)`, `ReportingService.map(…)`, `ReportingService.flatMap(…)` | `packages/ic-suite/codependix/codependix-output/src/modules/reporting/reporting.service.ts:
|
|
412
|
+
| `ReportingService.reportOutcome` | 3 | `ReportingService.filter(…)`, `ReportingService.map(…)`, `ReportingService.flatMap(…)` | `packages/ic-suite/codependix/codependix-output/src/modules/reporting/reporting.service.ts:161` |
|
|
410
413
|
| `AnchorsService.checkAnchor` | 2 | `AnchorsService.extractAnchorContent`, `AnchorNotFoundError.constructor` | `packages/ic-suite/codependix/codependix-output/src/modules/anchors/anchors.service.ts:103` |
|
|
411
414
|
| `AnchorsService.wrapInAnchors` | 2 | `buildStartMarker`, `buildEndMarker` | `packages/ic-suite/codependix/codependix-output/src/modules/anchors/anchors.service.ts:196` |
|
|
412
|
-
| `CombinedOutputService.printConsole` | 2 | `CombinedOutputService.renderJson`, `CombinedOutputService.renderMarkdown` | `packages/ic-suite/codependix/codependix-output/src/modules/combined-output/combined-output.service.ts:
|
|
413
|
-
| `CombinedOutputService.resolveFormat` | 2 | `CombinedOutputService.find(…)`, `CombinedOutputService.map(…)` | `packages/ic-suite/codependix/codependix-output/src/modules/combined-output/combined-output.service.ts:
|
|
415
|
+
| `CombinedOutputService.printConsole` | 2 | `CombinedOutputService.renderJson`, `CombinedOutputService.renderMarkdown` | `packages/ic-suite/codependix/codependix-output/src/modules/combined-output/combined-output.service.ts:57` |
|
|
416
|
+
| `CombinedOutputService.resolveFormat` | 2 | `CombinedOutputService.find(…)`, `CombinedOutputService.map(…)` | `packages/ic-suite/codependix/codependix-output/src/modules/combined-output/combined-output.service.ts:144` |
|
|
414
417
|
| `DeliveryService.deliverJson` | 2 | `DeliveryService.readFileOrEmpty`, `DeliveryService.classifyDifference` | `packages/ic-suite/codependix/codependix-output/src/modules/delivery/delivery.service.ts:135` |
|
|
415
418
|
| `DeliveryService.writeAutoCreatedAnchorSection` | 2 | `AnchorNotFoundError.constructor`, `AnchorsService.insertAnchorSection` | `packages/ic-suite/codependix/codependix-output/src/modules/delivery/delivery.service.ts:333` |
|
|
416
419
|
| `ProjectGraphsService.resolveProjectOutput` | 2 | `ConfigurationService.resolveForProject`, `ProjectGraphsService.find(…)` | `packages/ic-suite/codependix/codependix-output/src/modules/project-graphs/project-graphs.service.ts:108` |
|
|
@@ -423,11 +426,12 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
423
426
|
| `PathQueryService.renderMarkdown` | 2 | `buildNoPathMessage`, `PathQueryService.map(…)` | `packages/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:173` |
|
|
424
427
|
| `PathQueryService.render` | 2 | `PathQueryService.renderMermaid`, `PathQueryService.renderMarkdown` | `packages/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:328` |
|
|
425
428
|
| `PathQueryService.resolveFormat` | 2 | `PathQueryService.find(…)`, `PathQueryService.map(…)` | `packages/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:344` |
|
|
426
|
-
| `ReportingService.
|
|
427
|
-
| `ReportingService.
|
|
429
|
+
| `ReportingService.filterVerdict` | 2 | `ReportingService.filter(…)`, `ReportingService.filter(…)` | `packages/ic-suite/codependix/codependix-output/src/modules/reporting/reporting.service.ts:45` |
|
|
430
|
+
| `ReportingService.reportBoundaryNotes` | 2 | `BoundaryOutcomeReportService.renderFailures`, `BoundaryReportService.renderNotes` | `packages/ic-suite/codependix/codependix-output/src/modules/reporting/reporting.service.ts:64` |
|
|
431
|
+
| `ReportingService.reportPassOutcomes` | 2 | `ReportingService.reportOutcome`, `ReportingService.reportBoundaries` | `packages/ic-suite/codependix/codependix-output/src/modules/reporting/reporting.service.ts:206` |
|
|
428
432
|
| `AnchorsService.extractAnchorContent` | 1 | `AnchorsService.buildAnchorPattern` | `packages/ic-suite/codependix/codependix-output/src/modules/anchors/anchors.service.ts:120` |
|
|
429
433
|
| `AnchorsService.hasAnchor` | 1 | `AnchorsService.buildAnchorPattern` | `packages/ic-suite/codependix/codependix-output/src/modules/anchors/anchors.service.ts:125` |
|
|
430
|
-
| `CombinedOutputService.
|
|
434
|
+
| `CombinedOutputService.renderJson` | 1 | `BoundaryOutcomeReportService.buildReport` | `packages/ic-suite/codependix/codependix-output/src/modules/combined-output/combined-output.service.ts:70` |
|
|
431
435
|
| `WorkspaceGraphsService.map(…)` | 1 | `PythonService.buildGraph` | `packages/ic-suite/codependix/codependix-output/src/modules/workspace-graphs/workspace-graphs.service.ts:197` |
|
|
432
436
|
| `GraphRunService.collectWorkspaceOutcome` | 1 | `GraphRunService.collectProjectFailure` | `packages/ic-suite/codependix/codependix-output/src/modules/graph-run/graph-run.service.ts:112` |
|
|
433
437
|
| `GraphRunService.build` | 1 | `WorkspaceGraphsService.runFileImportsWorkspaceGraph` | `packages/ic-suite/codependix/codependix-output/src/modules/graph-run/graph-run.service.ts:192` |
|
|
@@ -437,7 +441,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
437
441
|
| `PathQueryService.map(…)` | 1 | `PythonService.buildGraph` | `packages/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:118` |
|
|
438
442
|
| `PathQueryService.renderMermaid` | 1 | `PathQueryService.renderMermaidSection` | `packages/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:193` |
|
|
439
443
|
| `PathQueryService.map(…)` | 1 | `PathQueryService.toMermaidId` | `packages/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:216` |
|
|
440
|
-
| `ReportingService.flatMap(…)` | 1 | `ReportingService.map(…)` | `packages/ic-suite/codependix/codependix-output/src/modules/reporting/reporting.service.ts:
|
|
444
|
+
| `ReportingService.flatMap(…)` | 1 | `ReportingService.map(…)` | `packages/ic-suite/codependix/codependix-output/src/modules/reporting/reporting.service.ts:176` |
|
|
441
445
|
|
|
442
446
|
</details>
|
|
443
447
|
<!-- callidescope:end -->
|
|
@@ -448,14 +452,14 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
448
452
|
|
|
449
453
|
### Project
|
|
450
454
|
|
|
451
|
-

|
|
456
|
+

|
|
453
457
|

|
|
454
458
|

|
|
455
459
|
|
|
456
460
|
### Measured Targets
|
|
457
461
|
|
|
458
|
-

|
|
459
463
|
|
|
460
464
|
### TypeScript
|
|
461
465
|
|
|
@@ -464,7 +468,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
464
468
|

|
|
465
469
|

|
|
466
470
|

|
|
467
|
-

|
|
468
472
|

|
|
469
473
|
|
|
470
474
|
### JavaScript
|
|
@@ -473,15 +477,15 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
473
477
|

|
|
474
478
|

|
|
475
479
|

|
|
476
|
-

|
|
481
|
+

|
|
482
|
+

|
|
483
|
+

|
|
484
|
+

|
|
485
|
+

|
|
486
|
+

|
|
487
|
+

|
|
488
|
+

|
|
485
489
|

|
|
486
490
|
|
|
487
491
|
### Python
|
|
@@ -637,20 +641,20 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
637
641
|
### Markdown
|
|
638
642
|
|
|
639
643
|

|
|
640
|
-

|
|
641
645
|

|
|
642
|
-

|
|
647
|
+

|
|
644
648
|

|
|
645
649
|

|
|
646
650
|

|
|
647
|
-

|
|
652
|
+

|
|
653
|
+

|
|
650
654
|

|
|
651
655
|

|
|
652
656
|

|
|
653
|
-

|
|
654
658
|

|
|
655
659
|

|
|
656
660
|

|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { AnchorCheckResult } from '@codependix/core';
|
|
2
2
|
import { BoundaryCheckOutcome } from '@codependix/boundaries';
|
|
3
|
+
import { BoundaryOutcomeReportService } from '@codependix/boundaries';
|
|
4
|
+
import { BoundaryReportArguments } from '@codependix/boundaries';
|
|
3
5
|
import { BoundaryReportService } from '@codependix/boundaries';
|
|
4
6
|
import { CodependixGraphType } from '@codependix/configuration';
|
|
5
7
|
import { CodependixRunMode } from '@codependix/core';
|
|
@@ -207,6 +209,12 @@ export declare class CombinedOutputModule {
|
|
|
207
209
|
|
|
208
210
|
/** Arguments for producing every combined output a run asked for. */
|
|
209
211
|
declare interface CombinedOutputRunArguments {
|
|
212
|
+
/**
|
|
213
|
+
* What a `--check boundaries` pass found, carried beside the graph types so
|
|
214
|
+
* one document holds both. Absent when no boundary pass ran or none was
|
|
215
|
+
* asked to be printed.
|
|
216
|
+
*/
|
|
217
|
+
boundaries?: BoundaryReportArguments | undefined;
|
|
210
218
|
format: CombinedOutputFormat;
|
|
211
219
|
graphs: CombinedGraphExports;
|
|
212
220
|
jsonOutputPath: string | undefined;
|
|
@@ -215,9 +223,10 @@ declare interface CombinedOutputRunArguments {
|
|
|
215
223
|
}
|
|
216
224
|
|
|
217
225
|
/**
|
|
218
|
-
* Combines every active graph type's whole-workspace data
|
|
219
|
-
* JSON object and single
|
|
220
|
-
* `--markdown-output`, and `--format` each
|
|
226
|
+
* Combines every active graph type's whole-workspace data, and a boundary
|
|
227
|
+
* check's findings when one ran, into the single JSON object and single
|
|
228
|
+
* Markdown document `--json-output`, `--markdown-output`, and `--format` each
|
|
229
|
+
* read from, and delivers them.
|
|
221
230
|
*
|
|
222
231
|
* Kept apart from `DeliveryService`, which delivers one graph type's export
|
|
223
232
|
* to its own per-project or per-workspace destination: this service instead
|
|
@@ -230,12 +239,19 @@ declare interface CombinedOutputRunArguments {
|
|
|
230
239
|
*/
|
|
231
240
|
export declare class CombinedOutputService {
|
|
232
241
|
private readonly anchorsService;
|
|
233
|
-
|
|
242
|
+
private readonly boundaryOutcomeReportService;
|
|
243
|
+
constructor(anchorsService: AnchorsService, boundaryOutcomeReportService: BoundaryOutcomeReportService);
|
|
234
244
|
/** Prints whatever `--format` asked for. Never touches a file. */
|
|
235
245
|
private printConsole;
|
|
236
|
-
/**
|
|
246
|
+
/**
|
|
247
|
+
* Builds the combined JSON object's content, keyed by graph type, with the
|
|
248
|
+
* boundary report under `boundaries` when one was carried.
|
|
249
|
+
*/
|
|
237
250
|
private renderJson;
|
|
238
|
-
/**
|
|
251
|
+
/**
|
|
252
|
+
* Builds the combined Markdown document's content from every active type,
|
|
253
|
+
* then the boundary report when one was carried.
|
|
254
|
+
*/
|
|
239
255
|
private renderMarkdown;
|
|
240
256
|
/** Writes a combined destination's content, creating its directory first. */
|
|
241
257
|
private writeFile;
|
|
@@ -254,9 +270,10 @@ export declare class CombinedOutputService {
|
|
|
254
270
|
* `--format` always names, and the `--json-output`/`--markdown-output`
|
|
255
271
|
* files when their paths were given.
|
|
256
272
|
*
|
|
257
|
-
* A run naming no active graph type at all — every `--no-*` flag given
|
|
258
|
-
* still prints and writes, with an empty
|
|
259
|
-
*
|
|
273
|
+
* A run naming no active graph type at all — every `--no-*` flag given, or
|
|
274
|
+
* a `--check boundaries`-only run — still prints and writes, with an empty
|
|
275
|
+
* object or an empty document, or just the boundary report: the flags are
|
|
276
|
+
* independent of which graph types are active, exactly as
|
|
260
277
|
* `--check`/`--write` are.
|
|
261
278
|
*/
|
|
262
279
|
run(args: CombinedOutputRunArguments): void;
|
|
@@ -1083,12 +1100,22 @@ export declare class ReportingModule {
|
|
|
1083
1100
|
* and orchestrating the passes themselves.
|
|
1084
1101
|
*/
|
|
1085
1102
|
export declare class ReportingService {
|
|
1103
|
+
private readonly boundaryOutcomeReportService;
|
|
1086
1104
|
private readonly boundaryReportService;
|
|
1087
1105
|
private readonly logger;
|
|
1088
|
-
constructor(boundaryReportService: BoundaryReportService, logger: LoggerService);
|
|
1106
|
+
constructor(boundaryOutcomeReportService: BoundaryOutcomeReportService, boundaryReportService: BoundaryReportService, logger: LoggerService);
|
|
1107
|
+
/** Narrows an outcome to the findings that reached one verdict. */
|
|
1108
|
+
private filterVerdict;
|
|
1109
|
+
/**
|
|
1110
|
+
* Warns about every finding charged only to a dependency of the judged
|
|
1111
|
+
* projects. Reported rather than dropped — the judged projects are built on
|
|
1112
|
+
* it — but never failing a run that named a different project.
|
|
1113
|
+
*/
|
|
1114
|
+
private reportBoundaryNotes;
|
|
1089
1115
|
/**
|
|
1090
1116
|
* Logs a boundary pass's violations and failures, and reports whether the
|
|
1091
|
-
* run as a whole should fail
|
|
1117
|
+
* run as a whole should fail — which it does only for a finding charged to
|
|
1118
|
+
* a project the run judges.
|
|
1092
1119
|
*
|
|
1093
1120
|
* Violations go to the console and the exit code and nowhere else: a list of
|
|
1094
1121
|
* things currently wrong is not a document worth publishing on the default
|