@callidescope/nx 0.0.64 → 0.0.65
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 +6 -0
- package/README.md +134 -62
- package/dist/{address.utilities-CsqyHZaJ.js → address.utilities-DjzmfI-l.js} +2 -2
- package/dist/{plugin-context.utilities-Bl7Iny6b.js → plugin-context.utilities-BstelNQl.js} +167 -131
- package/dist/{plugin.utilities-BYLiorWH.js → plugin.utilities-C8eEw5MU.js} +1 -1
- package/dist/src/executors/breadth/executor.js +2 -2
- package/dist/src/executors/depth/executor.js +2 -2
- package/dist/src/executors/gate/batch-executor.d.ts +54 -0
- package/dist/src/executors/gate/batch-executor.js +64 -0
- package/dist/src/executors/gate/executor.js +2 -2
- package/dist/src/executors/trace/executor.js +2 -2
- package/dist/src/index.d.ts +136 -48
- package/dist/src/index.js +1 -1
- package/executors.json +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -360,6 +360,7 @@ flowchart LR
|
|
|
360
360
|
RunConfigurationModule
|
|
361
361
|
RunPlanModule
|
|
362
362
|
SignaturesModule
|
|
363
|
+
VerdictModule
|
|
363
364
|
WorkspaceModule
|
|
364
365
|
WriteDestinationsModule
|
|
365
366
|
AddressLookupModule --> CallablesModule
|
|
@@ -402,16 +403,17 @@ flowchart LR
|
|
|
402
403
|
PluginModule --> CallidescopeModule
|
|
403
404
|
PluginModule --> ConfigurationModule
|
|
404
405
|
PluginModule --> OptionsModule
|
|
405
|
-
PluginModule --> ProjectReportsModule
|
|
406
406
|
PluginModule --> ProjectsModule
|
|
407
407
|
PluginModule --> ReportModule
|
|
408
408
|
PluginModule --> RunConfigurationModule
|
|
409
|
+
PluginModule --> VerdictModule
|
|
409
410
|
PluginModule --> WorkspaceModule
|
|
410
411
|
ProgramModule --> WorkspaceModule
|
|
411
412
|
ProjectReportsModule --> GraphModule
|
|
412
413
|
ProjectReportsModule --> SignaturesModule
|
|
413
414
|
RunConfigurationModule --> ConfigurationModule
|
|
414
415
|
RunPlanModule --> FlagResolutionModule
|
|
416
|
+
VerdictModule --> ProjectReportsModule
|
|
415
417
|
WriteDestinationsModule --> OutputJsonModule
|
|
416
418
|
WriteDestinationsModule --> OutputMarkdownModule
|
|
417
419
|
WriteDestinationsModule --> ReportModule
|
|
@@ -436,6 +438,8 @@ graph LR
|
|
|
436
438
|
file_src_executors_breadth_executor_unit_test_ts["src/executors/breadth/executor.unit.test.ts"]
|
|
437
439
|
file_src_executors_depth_executor_ts["src/executors/depth/executor.ts"]
|
|
438
440
|
file_src_executors_depth_executor_unit_test_ts["src/executors/depth/executor.unit.test.ts"]
|
|
441
|
+
file_src_executors_gate_batch_executor_ts["src/executors/gate/batch-executor.ts"]
|
|
442
|
+
file_src_executors_gate_batch_executor_unit_test_ts["src/executors/gate/batch-executor.unit.test.ts"]
|
|
439
443
|
file_src_executors_gate_executor_integration_test_ts["src/executors/gate/executor.integration.test.ts"]
|
|
440
444
|
file_src_executors_gate_executor_ts["src/executors/gate/executor.ts"]
|
|
441
445
|
file_src_executors_gate_executor_types_ts["src/executors/gate/executor.types.ts"]
|
|
@@ -476,6 +480,11 @@ graph LR
|
|
|
476
480
|
file_src_modules_run_configuration_run_configuration_service_ts["src/modules/run-configuration/run-configuration.service.ts"]
|
|
477
481
|
file_src_modules_run_configuration_run_configuration_service_unit_test_ts["src/modules/run-configuration/run-configuration.service.unit.test.ts"]
|
|
478
482
|
file_src_modules_run_configuration_run_configuration_types_ts["src/modules/run-configuration/run-configuration.types.ts"]
|
|
483
|
+
file_src_modules_verdict_verdict_constants_ts["src/modules/verdict/verdict.constants.ts"]
|
|
484
|
+
file_src_modules_verdict_verdict_module_ts["src/modules/verdict/verdict.module.ts"]
|
|
485
|
+
file_src_modules_verdict_verdict_service_ts["src/modules/verdict/verdict.service.ts"]
|
|
486
|
+
file_src_modules_verdict_verdict_service_unit_test_ts["src/modules/verdict/verdict.service.unit.test.ts"]
|
|
487
|
+
file_src_modules_verdict_verdict_types_ts["src/modules/verdict/verdict.types.ts"]
|
|
479
488
|
file_testing_mocks_ts["testing/mocks.ts"]
|
|
480
489
|
file_testing_setup_ts["testing/setup.ts"]
|
|
481
490
|
file_vite_config_ts["vite.config.ts"]
|
|
@@ -490,6 +499,17 @@ graph LR
|
|
|
490
499
|
file_src_executors_depth_executor_ts --> file_src_modules_address_address_utilities_ts
|
|
491
500
|
file_src_executors_depth_executor_unit_test_ts --> file_src_executors_depth_executor_ts
|
|
492
501
|
file_src_executors_depth_executor_unit_test_ts --> file_src_modules_address_address_utilities_ts
|
|
502
|
+
file_src_executors_gate_batch_executor_ts --> file_src_executors_gate_executor_types_ts
|
|
503
|
+
file_src_executors_gate_batch_executor_ts --> file_src_modules_plugin_plugin_context_utilities_ts
|
|
504
|
+
file_src_executors_gate_batch_executor_ts --> file_src_modules_plugin_plugin_constants_ts
|
|
505
|
+
file_src_executors_gate_batch_executor_ts --> file_src_modules_plugin_plugin_types_ts
|
|
506
|
+
file_src_executors_gate_batch_executor_ts --> file_src_modules_plugin_plugin_utilities_ts
|
|
507
|
+
file_src_executors_gate_batch_executor_unit_test_ts --> file_src_executors_gate_batch_executor_ts
|
|
508
|
+
file_src_executors_gate_batch_executor_unit_test_ts --> file_src_executors_gate_executor_types_ts
|
|
509
|
+
file_src_executors_gate_batch_executor_unit_test_ts --> file_src_modules_options_options_service_ts
|
|
510
|
+
file_src_executors_gate_batch_executor_unit_test_ts --> file_src_modules_plugin_plugin_constants_ts
|
|
511
|
+
file_src_executors_gate_batch_executor_unit_test_ts --> file_src_modules_plugin_plugin_service_ts
|
|
512
|
+
file_src_executors_gate_batch_executor_unit_test_ts --> file_src_modules_plugin_plugin_types_ts
|
|
493
513
|
file_src_executors_gate_executor_integration_test_ts --> file_src_executors_gate_executor_ts
|
|
494
514
|
file_src_executors_gate_executor_integration_test_ts --> file_src_executors_gate_executor_types_ts
|
|
495
515
|
file_src_executors_gate_executor_integration_test_ts --> file_src_modules_plugin_plugin_constants_ts
|
|
@@ -547,6 +567,7 @@ graph LR
|
|
|
547
567
|
file_src_modules_plugin_plugin_module_ts --> file_src_modules_plugin_plugin_service_ts
|
|
548
568
|
file_src_modules_plugin_plugin_module_ts --> file_src_modules_projects_projects_module_ts
|
|
549
569
|
file_src_modules_plugin_plugin_module_ts --> file_src_modules_run_configuration_run_configuration_module_ts
|
|
570
|
+
file_src_modules_plugin_plugin_module_ts --> file_src_modules_verdict_verdict_module_ts
|
|
550
571
|
file_src_modules_plugin_plugin_service_ts --> file_src_modules_options_options_constants_ts
|
|
551
572
|
file_src_modules_plugin_plugin_service_ts --> file_src_modules_options_options_service_ts
|
|
552
573
|
file_src_modules_plugin_plugin_service_ts --> file_src_modules_options_options_types_ts
|
|
@@ -554,12 +575,14 @@ graph LR
|
|
|
554
575
|
file_src_modules_plugin_plugin_service_ts --> file_src_modules_plugin_plugin_types_ts
|
|
555
576
|
file_src_modules_plugin_plugin_service_ts --> file_src_modules_projects_projects_service_ts
|
|
556
577
|
file_src_modules_plugin_plugin_service_ts --> file_src_modules_run_configuration_run_configuration_service_ts
|
|
578
|
+
file_src_modules_plugin_plugin_service_ts --> file_src_modules_verdict_verdict_service_ts
|
|
557
579
|
file_src_modules_plugin_plugin_service_unit_test_ts --> file_src_modules_options_options_service_ts
|
|
558
580
|
file_src_modules_plugin_plugin_service_unit_test_ts --> file_src_modules_plugin_plugin_constants_ts
|
|
559
581
|
file_src_modules_plugin_plugin_service_unit_test_ts --> file_src_modules_plugin_plugin_service_ts
|
|
560
582
|
file_src_modules_plugin_plugin_service_unit_test_ts --> file_src_modules_plugin_plugin_types_ts
|
|
561
583
|
file_src_modules_plugin_plugin_service_unit_test_ts --> file_src_modules_projects_projects_service_ts
|
|
562
584
|
file_src_modules_plugin_plugin_service_unit_test_ts --> file_src_modules_run_configuration_run_configuration_service_ts
|
|
585
|
+
file_src_modules_plugin_plugin_service_unit_test_ts --> file_src_modules_verdict_verdict_service_ts
|
|
563
586
|
file_src_modules_plugin_plugin_types_ts --> file_src_modules_plugin_plugin_constants_ts
|
|
564
587
|
file_src_modules_plugin_plugin_utilities_ts --> file_src_modules_plugin_plugin_context_utilities_ts
|
|
565
588
|
file_src_modules_plugin_plugin_utilities_ts --> file_src_modules_plugin_plugin_types_ts
|
|
@@ -569,6 +592,12 @@ graph LR
|
|
|
569
592
|
file_src_modules_run_configuration_run_configuration_module_ts --> file_src_modules_run_configuration_run_configuration_service_ts
|
|
570
593
|
file_src_modules_run_configuration_run_configuration_service_ts --> file_src_modules_run_configuration_run_configuration_types_ts
|
|
571
594
|
file_src_modules_run_configuration_run_configuration_service_unit_test_ts --> file_src_modules_run_configuration_run_configuration_service_ts
|
|
595
|
+
file_src_modules_verdict_verdict_module_ts --> file_src_modules_verdict_verdict_service_ts
|
|
596
|
+
file_src_modules_verdict_verdict_service_ts --> file_src_modules_plugin_plugin_constants_ts
|
|
597
|
+
file_src_modules_verdict_verdict_service_ts --> file_src_modules_plugin_plugin_types_ts
|
|
598
|
+
file_src_modules_verdict_verdict_service_unit_test_ts --> file_src_modules_plugin_plugin_constants_ts
|
|
599
|
+
file_src_modules_verdict_verdict_service_unit_test_ts --> file_src_modules_plugin_plugin_types_ts
|
|
600
|
+
file_src_modules_verdict_verdict_service_unit_test_ts --> file_src_modules_verdict_verdict_service_ts
|
|
572
601
|
```
|
|
573
602
|
<!-- codependix:end name="codependix-file-imports" -->
|
|
574
603
|
|
|
@@ -578,40 +607,40 @@ graph LR
|
|
|
578
607
|
|
|
579
608
|
### Project
|
|
580
609
|
|
|
581
|
-

|
|
611
|
+

|
|
612
|
+

|
|
613
|
+

|
|
585
614
|
|
|
586
615
|
### Measured Targets
|
|
587
616
|
|
|
588
|
-

|
|
589
618
|
|
|
590
619
|
### TypeScript
|
|
591
620
|
|
|
592
|
-

|
|
622
|
+

|
|
594
623
|

|
|
595
624
|

|
|
596
|
-

|
|
626
|
+

|
|
598
627
|

|
|
599
628
|
|
|
600
629
|
### JavaScript
|
|
601
630
|
|
|
602
631
|

|
|
603
|
-

|
|
604
633
|

|
|
605
|
-

|
|
635
|
+

|
|
636
|
+

|
|
637
|
+

|
|
638
|
+

|
|
639
|
+

|
|
640
|
+

|
|
641
|
+

|
|
642
|
+

|
|
643
|
+

|
|
615
644
|

|
|
616
645
|
|
|
617
646
|
### Python
|
|
@@ -632,16 +661,16 @@ graph LR
|
|
|
632
661
|
### JSON
|
|
633
662
|
|
|
634
663
|

|
|
635
|
-

|
|
636
665
|

|
|
637
666
|

|
|
638
|
-

|
|
668
|
+

|
|
640
669
|

|
|
641
|
-

|
|
642
671
|

|
|
643
672
|

|
|
644
|
-

|
|
645
674
|

|
|
646
675
|
|
|
647
676
|
### YAML
|
|
@@ -722,14 +751,14 @@ graph LR
|
|
|
722
751
|
|
|
723
752
|
### Conventions
|
|
724
753
|
|
|
725
|
-

|
|
755
|
+

|
|
727
756
|

|
|
728
|
-

|
|
758
|
+

|
|
730
759
|

|
|
731
760
|

|
|
732
|
-

|
|
733
762
|

|
|
734
763
|

|
|
735
764
|

|
|
@@ -767,20 +796,20 @@ graph LR
|
|
|
767
796
|
### Markdown
|
|
768
797
|
|
|
769
798
|

|
|
770
|
-

|
|
771
800
|

|
|
772
|
-

|
|
802
|
+

|
|
774
803
|

|
|
775
804
|

|
|
776
805
|

|
|
777
|
-

|
|
807
|
+

|
|
808
|
+

|
|
780
809
|

|
|
781
810
|

|
|
782
811
|

|
|
783
|
-

|
|
784
813
|

|
|
785
814
|

|
|
786
815
|

|
|
@@ -796,10 +825,10 @@ Call stacks traced through `projects/ic-suite/callidescope/callidescope-nx`, dee
|
|
|
796
825
|
|
|
797
826
|
| Measure | Value |
|
|
798
827
|
| --- | --- |
|
|
799
|
-
| Callables |
|
|
800
|
-
| Files |
|
|
801
|
-
| Calls traced |
|
|
802
|
-
| Call stacks |
|
|
828
|
+
| Callables | 83 |
|
|
829
|
+
| Files | 44 |
|
|
830
|
+
| Calls traced | 123 |
|
|
831
|
+
| Call stacks | 7 |
|
|
803
832
|
| Deepest stack | 17 |
|
|
804
833
|
| Stacks through recursion | 0 |
|
|
805
834
|
| Unfollowable calls | 1 |
|
|
@@ -889,12 +918,48 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
889
918
|
└─> ClassesService.filter(…)(member: ts.PropertyDeclaration | ts.MethodDeclaration): boolean [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:162]
|
|
890
919
|
```
|
|
891
920
|
|
|
892
|
-
**3. `
|
|
921
|
+
**3. `gateBatchExecutor`** — depth ≥ 15 · orphan-root
|
|
922
|
+
|
|
923
|
+
```text
|
|
924
|
+
🚀 gateBatchExecutor(…): Promise<Record<string, GateBatchTaskResult>> [projects/ic-suite/callidescope/callidescope-nx/src/executors/gate/batch-executor.ts:33]
|
|
925
|
+
↳ Gates every task Nx batched for this executor from one trace.
|
|
926
|
+
└─> PluginService.runGateBatch(args: RunGateBatchArguments): Promise<Record<string, RunTraceResult>> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:394]
|
|
927
|
+
↳ Gates every task of a batch from one trace of their combined scope.
|
|
928
|
+
└─> CallidescopeService.trace(args: TraceArguments): Promise<TraceOutcome> [projects/ic-suite/callidescope/callidescope-cli/src/modules/callidescope/callidescope.service.ts:408]
|
|
929
|
+
↳ Traces a workspace and returns everything the run found.
|
|
930
|
+
└─> CallidescopeService.analyze(…): AnalyzeOutcome [projects/ic-suite/callidescope/callidescope-cli/src/modules/callidescope/callidescope.service.ts:295]
|
|
931
|
+
↳ Derives every finding from the collected callables.
|
|
932
|
+
└─> GraphAssemblyService.assemble(args: AssembleGraphArguments): AssembledGraph [projects/ic-suite/callidescope/callidescope-graph/src/modules/graph/graph-assembly.service.ts:43]
|
|
933
|
+
↳ Builds the call graph and everything derived from it.
|
|
934
|
+
└─> EdgesService.build(args: BuildEdgesArguments): EdgeCollection [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:251]
|
|
935
|
+
↳ Builds every edge in the graph, and records the calls it could not.
|
|
936
|
+
└─> EdgesService.buildSiteEdges(…): { edges: CallEdge[]; unresolved: UnresolvedCall[]; } [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:59]
|
|
937
|
+
↳ Turns one call site into the edges and non-resolutions it produced.
|
|
938
|
+
└─> EdgesService.resolveSite(…): ResolvedCallSite | undefined [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:226]
|
|
939
|
+
↳ Resolves one call site, choosing the right strategy for its shape.
|
|
940
|
+
└─> SymbolResolutionService.resolve(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:267]
|
|
941
|
+
↳ Resolves a call expression to every declaration it can reach.
|
|
942
|
+
└─> SymbolResolutionService.resolveSymbol(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:165]
|
|
943
|
+
↳ Resolves an already-identified callee symbol to its declarations.
|
|
944
|
+
└─> SymbolResolutionService.resolveThroughHierarchy(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:217]
|
|
945
|
+
↳ Expands an interface or abstract member to its implementations.
|
|
946
|
+
└─> ClassesService.resolveImplementations(…): ImplementationLookup [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:204]
|
|
947
|
+
↳ Finds the concrete declarations one interface member resolves to.
|
|
948
|
+
└─> ClassesService.flatMap(…)(this: undefined, candidate: ts.ClassDeclaration): ts.Declaration[] [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:232]
|
|
949
|
+
└─> ClassesService.readMemberDeclarations(…): Declaration[] [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:148]
|
|
950
|
+
↳ Reads one member's concrete declarations off a candidate class.
|
|
951
|
+
└─> ClassesService.filter(…)(member: ts.PropertyDeclaration | ts.MethodDeclaration): boolean [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:162]
|
|
952
|
+
```
|
|
953
|
+
|
|
954
|
+
<details>
|
|
955
|
+
<summary>4 more call stacks</summary>
|
|
956
|
+
|
|
957
|
+
**4. `gateExecutor`** — depth ≥ 15 · orphan-root
|
|
893
958
|
|
|
894
959
|
```text
|
|
895
960
|
🚀 gateExecutor(…): Promise<{ success: boolean; }> [projects/ic-suite/callidescope/callidescope-nx/src/executors/gate/executor.ts:31]
|
|
896
961
|
↳ Fails one project's task when its call stacks broke the limits it is held to.
|
|
897
|
-
└─> PluginService.runGate(args: RunGateArguments): Promise<RunTraceResult> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:
|
|
962
|
+
└─> PluginService.runGate(args: RunGateArguments): Promise<RunTraceResult> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:368]
|
|
898
963
|
↳ Traces the resolved directories and judges what it found against the limits every project in scope declared.
|
|
899
964
|
└─> CallidescopeService.trace(args: TraceArguments): Promise<TraceOutcome> [projects/ic-suite/callidescope/callidescope-cli/src/modules/callidescope/callidescope.service.ts:408]
|
|
900
965
|
↳ Traces a workspace and returns everything the run found.
|
|
@@ -922,15 +987,12 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
922
987
|
└─> ClassesService.filter(…)(member: ts.PropertyDeclaration | ts.MethodDeclaration): boolean [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:162]
|
|
923
988
|
```
|
|
924
989
|
|
|
925
|
-
|
|
926
|
-
<summary>3 more call stacks</summary>
|
|
927
|
-
|
|
928
|
-
**4. `traceExecutor`** — depth ≥ 15 · orphan-root
|
|
990
|
+
**5. `traceExecutor`** — depth ≥ 15 · orphan-root
|
|
929
991
|
|
|
930
992
|
```text
|
|
931
993
|
🚀 traceExecutor(…): Promise<{ success: boolean; }> [projects/ic-suite/callidescope/callidescope-nx/src/executors/trace/executor.ts:25]
|
|
932
994
|
↳ Traces one selection of Nx projects with callidescope.
|
|
933
|
-
└─> PluginService.runTrace(args: RunTraceArguments): Promise<RunTraceResult> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:
|
|
995
|
+
└─> PluginService.runTrace(args: RunTraceArguments): Promise<RunTraceResult> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:438]
|
|
934
996
|
↳ Traces the resolved directories and renders the report.
|
|
935
997
|
└─> CallidescopeService.trace(args: TraceArguments): Promise<TraceOutcome> [projects/ic-suite/callidescope/callidescope-cli/src/modules/callidescope/callidescope.service.ts:408]
|
|
936
998
|
↳ Traces a workspace and returns everything the run found.
|
|
@@ -958,13 +1020,13 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
958
1020
|
└─> ClassesService.filter(…)(member: ts.PropertyDeclaration | ts.MethodDeclaration): boolean [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:162]
|
|
959
1021
|
```
|
|
960
1022
|
|
|
961
|
-
**
|
|
1023
|
+
**6. `anonymous`** — depth ≥ 8 · orphan-root
|
|
962
1024
|
|
|
963
1025
|
```text
|
|
964
1026
|
🚀 anonymous(…): Promise<CreateNodesResultArray> [projects/ic-suite/callidescope/callidescope-nx/src/index.ts:59]
|
|
965
|
-
└─> PluginService.inferTargets(args: InferTargetsArguments): Promise<Map<string, InferredTargets>> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:
|
|
1027
|
+
└─> PluginService.inferTargets(args: InferTargetsArguments): Promise<Map<string, InferredTargets>> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:274]
|
|
966
1028
|
↳ Infers this plugin's targets onto every project holding a `tsconfig.json`.
|
|
967
|
-
└─> PluginService.buildExclusionFilter(…): Promise<FileFilter> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:
|
|
1029
|
+
└─> PluginService.buildExclusionFilter(…): Promise<FileFilter> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:87]
|
|
968
1030
|
↳ Builds the predicate deciding which projects the workspace configuration keeps out of every trace.
|
|
969
1031
|
└─> ConfigurationService.loadConfigurationFile(args: LoadConfigurationArguments): Promise<LoadedCallidescopeConfiguration> [projects/ic-suite/callidescope/callidescope-configuration/src/modules/configuration/configuration.service.ts:80]
|
|
970
1032
|
↳ Loads a configuration, and says what the file itself declared and which file answered.
|
|
@@ -977,7 +1039,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
977
1039
|
└─> ConfigurationFileService.some(…)(marker: ".git" | "pnpm-workspace.yaml"): boolean [projects/ic-suite/callidescope/callidescope-configuration/src/modules/configuration/configuration-file.service.ts:74]
|
|
978
1040
|
```
|
|
979
1041
|
|
|
980
|
-
**
|
|
1042
|
+
**7. `resolveProjectsService`** — depth 2 · orphan-root
|
|
981
1043
|
|
|
982
1044
|
```text
|
|
983
1045
|
🚀 resolveProjectsService(): Promise<ProjectsService> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin-context.utilities.ts:39]
|
|
@@ -997,21 +1059,25 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
997
1059
|
| `traceExecutor` | 6 | `resolveExecutorScope`, `resolveOptionsService`, `resolvePluginService`, `PluginService.runTrace`, `OptionsService.readConfiguration`, `OptionsService.readFormat` | `projects/ic-suite/callidescope/callidescope-nx/src/executors/trace/executor.ts:25` |
|
|
998
1060
|
|
|
999
1061
|
<details>
|
|
1000
|
-
<summary>
|
|
1062
|
+
<summary>41 more callables</summary>
|
|
1001
1063
|
|
|
1002
1064
|
| Callable | Breadth | Calls directly | Location |
|
|
1003
1065
|
| --- | --- | --- | --- |
|
|
1004
1066
|
| `OptionsService.readStringList` | 5 | `OptionsService.isUnknownArray`, `OptionsService.filter(…)`, `OptionsService.map(…)`, `OptionsService.flatMap(…)`, `OptionsService.filter(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/options/options.service.ts:109` |
|
|
1005
|
-
| `PluginService.inferTargets` | 5 | `OptionsService.resolvePluginOptions`, `PluginService.buildExclusionFilter`, `PluginService.holdsProgram`, `PluginService.buildInferredTargets`, `PluginService.isExcludedProject` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:
|
|
1006
|
-
| `PluginService.
|
|
1007
|
-
| `PluginService.runTrace` | 5 | `RunConfigurationService.load`, `CallidescopeService.trace`, `PluginService.judge`, `MarkdownReportService.renderRun`, `PluginService.explainVerdict` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:475` |
|
|
1067
|
+
| `PluginService.inferTargets` | 5 | `OptionsService.resolvePluginOptions`, `PluginService.buildExclusionFilter`, `PluginService.holdsProgram`, `PluginService.buildInferredTargets`, `PluginService.isExcludedProject` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:274` |
|
|
1068
|
+
| `PluginService.runTrace` | 5 | `RunConfigurationService.load`, `CallidescopeService.trace`, `VerdictService.judge`, `MarkdownReportService.renderRun`, `VerdictService.explain` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:438` |
|
|
1008
1069
|
| `resolveExecutorScope` | 5 | `resolveOptionsService`, `OptionsService.readStringList`, `resolvePluginService`, `PluginService.resolveTraceScope`, `PluginService.describeRefusedScope` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.utilities.ts:24` |
|
|
1009
1070
|
| `gateExecutor` | 5 | `resolveExecutorScope`, `resolveOptionsService`, `resolvePluginService`, `PluginService.runGate`, `OptionsService.readConfiguration` | `projects/ic-suite/callidescope/callidescope-nx/src/executors/gate/executor.ts:31` |
|
|
1010
|
-
| `PluginService.resolveTraceScope` | 4 | `ProjectsService.readProjectGraph`, `ProjectsService.resolveProjectNames`, `ProjectsService.resolveDependencyClosure`, `ProjectsService.resolveDirectories` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:
|
|
1071
|
+
| `PluginService.resolveTraceScope` | 4 | `ProjectsService.readProjectGraph`, `ProjectsService.resolveProjectNames`, `ProjectsService.resolveDependencyClosure`, `ProjectsService.resolveDirectories` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:324` |
|
|
1072
|
+
| `PluginService.runGateBatch` | 4 | `RunConfigurationService.load`, `CallidescopeService.trace`, `PluginService.flatMap(…)`, `PluginService.map(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:394` |
|
|
1011
1073
|
| `anonymous` | 4 | `resolvePluginService`, `PluginService.inferTargets`, `filter(…)`, `map(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/index.ts:59` |
|
|
1074
|
+
| `gateBatchExecutor` | 4 | `map(…)`, `resolvePluginService`, `PluginService.runGateBatch`, `printFailures` | `projects/ic-suite/callidescope/callidescope-nx/src/executors/gate/batch-executor.ts:33` |
|
|
1012
1075
|
| `AddressService.runBreadth` | 3 | `AddressService.locate`, `BreadthService.describeDirectCalls`, `AddressReportService.renderBreadthReports` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts:108` |
|
|
1013
1076
|
| `AddressService.runDepth` | 3 | `AddressService.locate`, `AddressReportService.renderDepthReports`, `AddressService.map(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts:152` |
|
|
1014
1077
|
| `ProjectsService.toDirectories` | 3 | `ProjectsService.map(…)`, `ProjectsService.readProjects`, `ProjectsService.toSorted(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts:233` |
|
|
1078
|
+
| `PluginService.renderGateVerdict` | 3 | `VerdictService.judge`, `VerdictService.explain`, `MarkdownReportService.renderFindings` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:214` |
|
|
1079
|
+
| `PluginService.runGate` | 3 | `RunConfigurationService.load`, `CallidescopeService.trace`, `PluginService.renderGateVerdict` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:368` |
|
|
1080
|
+
| `resolveTask` | 3 | `resolveOptionsService`, `resolveExecutorScope`, `OptionsService.readConfiguration` | `projects/ic-suite/callidescope/callidescope-nx/src/executors/gate/batch-executor.ts:104` |
|
|
1015
1081
|
| `AddressService.identify` | 2 | `AddressLookupService.resolve`, `AddressLookupService.describeProblem` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts:47` |
|
|
1016
1082
|
| `AddressService.locate` | 2 | `AddressLookupService.locate`, `AddressService.identify` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts:74` |
|
|
1017
1083
|
| `AddressService.map(…)` | 2 | `AddressDepthService.buildDownwardStacks`, `AddressDepthService.buildUpwardStacks` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts:165` |
|
|
@@ -1022,20 +1088,22 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
1022
1088
|
| `ProjectsService.readProjects` | 2 | `ProjectsService.toSorted(…)`, `ProjectsService.map(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts:92` |
|
|
1023
1089
|
| `ProjectsService.resolveDependencyClosure` | 2 | `ProjectsService.filter(…)`, `ProjectsService.toSorted(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts:122` |
|
|
1024
1090
|
| `ProjectsService.resolveDirectories` | 2 | `ProjectsService.resolveProjectNames`, `ProjectsService.toDirectories` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts:171` |
|
|
1025
|
-
| `
|
|
1026
|
-
| `PluginService.
|
|
1091
|
+
| `VerdictService.judge` | 2 | `ProjectReportsService.findOwnedFindings`, `ProjectReportsService.findUnreadProjects` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/verdict/verdict.service.ts:90` |
|
|
1092
|
+
| `PluginService.buildExclusionFilter` | 2 | `ConfigurationService.loadConfigurationFile`, `FileFilterService.buildFileFilter` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:87` |
|
|
1027
1093
|
| `OptionsService.readConfiguration` | 1 | `ConfigurationService.requireConfigurationPath` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/options/options.service.ts:63` |
|
|
1028
1094
|
| `OptionsService.readFormat` | 1 | `OptionsService.find(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/options/options.service.ts:77` |
|
|
1029
1095
|
| `RunConfigurationService.load` | 1 | `ConfigurationService.loadConfigurationFile` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/run-configuration/run-configuration.service.ts:39` |
|
|
1030
1096
|
| `reportUnreadProjects` | 1 | `map(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.constants.ts:72` |
|
|
1031
|
-
| `
|
|
1032
|
-
| `PluginService.describeRefusedScope` | 1 | `PluginService.filter(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:
|
|
1097
|
+
| `VerdictService.explain` | 1 | `reportUnreadProjects` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/verdict/verdict.service.ts:43` |
|
|
1098
|
+
| `PluginService.describeRefusedScope` | 1 | `PluginService.filter(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:246` |
|
|
1099
|
+
| `PluginService.map(…)` | 1 | `PluginService.renderGateVerdict` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:411` |
|
|
1033
1100
|
| `resolveAddressService` | 1 | `resolvePluginContext` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin-context.utilities.ts:18` |
|
|
1034
1101
|
| `resolveOptionsService` | 1 | `resolvePluginContext` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin-context.utilities.ts:25` |
|
|
1035
1102
|
| `resolvePluginService` | 1 | `resolvePluginContext` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin-context.utilities.ts:32` |
|
|
1036
1103
|
| `resolveProjectsService` | 1 | `resolvePluginContext` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin-context.utilities.ts:39` |
|
|
1037
1104
|
| `breadthExecutor` | 1 | `runAddressExecutor` | `projects/ic-suite/callidescope/callidescope-nx/src/executors/breadth/executor.ts:15` |
|
|
1038
1105
|
| `depthExecutor` | 1 | `runAddressExecutor` | `projects/ic-suite/callidescope/callidescope-nx/src/executors/depth/executor.ts:15` |
|
|
1106
|
+
| `map(…)` | 1 | `resolveTask` | `projects/ic-suite/callidescope/callidescope-nx/src/executors/gate/batch-executor.ts:37` |
|
|
1039
1107
|
|
|
1040
1108
|
</details>
|
|
1041
1109
|
<!-- callidescope:end -->
|
|
@@ -1047,6 +1115,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
1047
1115
|
The words this project uses that the root glossary does not define, regenerated with `nx run callidescope-nx:coinagerie-check:write`.
|
|
1048
1116
|
|
|
1049
1117
|
- **abort**:
|
|
1118
|
+
- **batch**:
|
|
1050
1119
|
- **beta**:
|
|
1051
1120
|
- **breach**:
|
|
1052
1121
|
- **breadth**:
|
|
@@ -1060,12 +1129,15 @@ The words this project uses that the root glossary does not define, regenerated
|
|
|
1060
1129
|
- **hold**:
|
|
1061
1130
|
- **identify**:
|
|
1062
1131
|
- **know**:
|
|
1132
|
+
- **parallelism**:
|
|
1063
1133
|
- **posix**:
|
|
1134
|
+
- **prefer**:
|
|
1064
1135
|
- **realpath**:
|
|
1065
1136
|
- **refuse**:
|
|
1066
1137
|
- **restrict**:
|
|
1067
1138
|
- **selection**:
|
|
1068
1139
|
- **subpath**:
|
|
1140
|
+
- **terminal**:
|
|
1069
1141
|
- **trace**:
|
|
1070
1142
|
- **unmatched**:
|
|
1071
1143
|
- **unread**:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, t } from "./plugin-context.utilities-
|
|
2
|
-
import { t as n } from "./plugin.utilities-
|
|
1
|
+
import { n as e, t } from "./plugin-context.utilities-BstelNQl.js";
|
|
2
|
+
import { t as n } from "./plugin.utilities-C8eEw5MU.js";
|
|
3
3
|
// src/modules/address/address.utilities.ts
|
|
4
4
|
async function runAddressExecutor(r) {
|
|
5
5
|
let i = (r.options.addresses ?? []).filter((e) => e !== "");
|