@callidescope/nx 0.0.17 → 0.0.19
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 +148 -147
- package/dist/{address.utilities-Bob54ALI.js → address.utilities-C6wT8n3w.js} +3 -3
- package/dist/{plugin-context.utilities-Cf2qdyw5.js → plugin-context.utilities-CN70VImb.js} +14 -14
- package/dist/{plugin.utilities-R65cQo4r.js → plugin.utilities-uGmd3-4r.js} +2 -2
- package/dist/src/executors/breadth/executor.js +3 -3
- package/dist/src/executors/depth/executor.js +3 -3
- package/dist/src/executors/gate/executor.js +3 -3
- package/dist/src/executors/trace/executor.js +3 -3
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +2 -2
- package/executors.json +4 -4
- package/package.json +13 -9
- package/src/executors/breadth/schema.json +38 -0
- package/src/executors/depth/schema.json +38 -0
- package/src/executors/gate/schema.json +28 -0
- package/src/executors/trace/schema.json +33 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
## 0.0.19 (2026-10-13)
|
|
2
|
+
|
|
3
|
+
### 💅 Refactors
|
|
4
|
+
|
|
5
|
+
- **configuration,codometer,validation:** ♻️ nest every project under a single projects folder ([#1439](https://github.com/organizzolini/codebase/pull/1439))
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated callidescope-configuration to 0.0.19
|
|
10
|
+
- Updated callidescope-output to 0.0.18
|
|
11
|
+
- Updated callidescope-graph to 0.0.18
|
|
12
|
+
- Updated callidescope-core to 0.0.18
|
|
13
|
+
- Updated callidescope-cli to 0.0.19
|
|
14
|
+
|
|
15
|
+
## 0.0.18 (2026-10-13)
|
|
16
|
+
|
|
17
|
+
### 🩹 Fixes
|
|
18
|
+
|
|
19
|
+
- **callidescope,codependix,configuration:** 🐛 harden the codependix nx plugin for consumers outside this workspace ([#1444](https://github.com/organizzolini/codebase/pull/1444), [#1433](https://github.com/organizzolini/codebase/issues/1433))
|
|
20
|
+
|
|
21
|
+
### 🧱 Updated Dependencies
|
|
22
|
+
|
|
23
|
+
- Updated callidescope-configuration to 0.0.18
|
|
24
|
+
- Updated callidescope-output to 0.0.17
|
|
25
|
+
- Updated callidescope-graph to 0.0.17
|
|
26
|
+
- Updated callidescope-core to 0.0.17
|
|
27
|
+
- Updated callidescope-cli to 0.0.18
|
|
28
|
+
|
|
1
29
|
## 0.0.17 (2026-10-13)
|
|
2
30
|
|
|
3
31
|
### 🧱 Updated Dependencies
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
**An Nx plugin that traces call stacks per project, following the Nx dependency graph.**
|
|
6
6
|
|
|
7
7
|
Canonical documentation for call-stack tracing, configuration, depth and breadth analysis, and report formats is in the
|
|
8
|
-
[`@callidescope/cli` README](https://github.com/Organizzolini/codebase/tree/main/
|
|
8
|
+
[`@callidescope/cli` README](https://github.com/Organizzolini/codebase/tree/main/projects/ic-suite/callidescope/callidescope-cli#readme).
|
|
9
9
|
`@callidescope/cli` is Nx-free on purpose: it takes `--directories`, each one a path holding its own `tsconfig.json`, so it
|
|
10
10
|
works in any TypeScript workspace whether or not Nx is anywhere near it. This
|
|
11
11
|
package is the one place in the toolchain that knows Nx exists, and the only
|
|
@@ -64,7 +64,7 @@ nx affected -t trace # only what changed
|
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
|
-
nx run callidescope-nx:depth --addresses="
|
|
67
|
+
nx run callidescope-nx:depth --addresses="projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts#ProjectsService.resolveDependencyClosure"
|
|
68
68
|
nx run callidescope-nx:breadth --addresses="src/foo.service.ts#FooService.bar"
|
|
69
69
|
|
|
70
70
|
# Several at once, which is what a rename spanning a handful of them needs
|
|
@@ -141,7 +141,7 @@ verdict made those two different questions. A project with dependencies has a
|
|
|
141
141
|
non-empty run whatever became of its own sources, so an `exclude` that
|
|
142
142
|
over-matches — which a project's own `callidescope.config.*` may write — leaves
|
|
143
143
|
it owning no report content, owning no finding, and passing green over code
|
|
144
|
-
nothing read. Demonstrated: `
|
|
144
|
+
nothing read. Demonstrated: `projects/ic-suite/codometer/codometer-output` given
|
|
145
145
|
`{"exclude": ["**"]}` of its own traces its dependency's 102 callables and
|
|
146
146
|
contributes none, which is a green gate on the run-wide question and a red one
|
|
147
147
|
on this. The projects that went unread are named back, since `--projects` may
|
|
@@ -172,7 +172,7 @@ empty. A project the configuration **excludes** — `exclude` or `excludeFrom` i
|
|
|
172
172
|
the workspace file — additionally gets no `gate`: its own code is never traced,
|
|
173
173
|
so a gate there would own no finding at all and report green for code it never
|
|
174
174
|
read. It keeps the three that print something, `trace` included, which is what
|
|
175
|
-
the unread exemption above is there to preserve: `
|
|
175
|
+
the unread exemption above is there to preserve: `projects/ic-suite/callidescope/callidescope-examples`
|
|
176
176
|
is the case, and its stacks are still a report a reader can open.
|
|
177
177
|
|
|
178
178
|
### Why the trace follows dependencies
|
|
@@ -189,7 +189,7 @@ project's own boundary would measure the wrong thing.
|
|
|
189
189
|
program for every project the directories it was given transitively import, so
|
|
190
190
|
a call into a dependency resolves to a real frame whether or not Nx is
|
|
191
191
|
involved. Measured on this package,
|
|
192
|
-
`callidescope --directories
|
|
192
|
+
`callidescope --directories projects/ic-suite/callidescope/callidescope-nx` and
|
|
193
193
|
`nx run callidescope-nx:trace` report the same 575 callables across 185 files
|
|
194
194
|
in 7 projects.
|
|
195
195
|
|
|
@@ -302,7 +302,7 @@ This project was generated from the [nestjs-service-project](../../../../configu
|
|
|
302
302
|
|
|
303
303
|
## 🕸️ Codependix
|
|
304
304
|
|
|
305
|
-
Dependency graphs exported by [codependix](https://github.com/Organizzolini/codebase/tree/main/
|
|
305
|
+
Dependency graphs exported by [codependix](https://github.com/Organizzolini/codebase/tree/main/projects/ic-suite/codependix/codependix-cli), regenerated by `nx run codebase:codependix:write`.
|
|
306
306
|
|
|
307
307
|
### Nx Neighborhood
|
|
308
308
|
|
|
@@ -438,6 +438,7 @@ graph LR
|
|
|
438
438
|
file_src_executors_gate_executor_ts["src/executors/gate/executor.ts"]
|
|
439
439
|
file_src_executors_gate_executor_types_ts["src/executors/gate/executor.types.ts"]
|
|
440
440
|
file_src_executors_gate_executor_unit_test_ts["src/executors/gate/executor.unit.test.ts"]
|
|
441
|
+
file_src_executors_manifest_unit_test_ts["src/executors/manifest.unit.test.ts"]
|
|
441
442
|
file_src_executors_trace_executor_ts["src/executors/trace/executor.ts"]
|
|
442
443
|
file_src_executors_trace_executor_types_ts["src/executors/trace/executor.types.ts"]
|
|
443
444
|
file_src_executors_trace_executor_unit_test_ts["src/executors/trace/executor.unit.test.ts"]
|
|
@@ -579,40 +580,40 @@ graph LR
|
|
|
579
580
|
|
|
580
581
|
### Project
|
|
581
582
|
|
|
582
|
-

|
|
584
|
+

|
|
584
585
|

|
|
585
|
-

|
|
586
587
|
|
|
587
588
|
### Measured Targets
|
|
588
589
|
|
|
589
|
-

|
|
590
591
|
|
|
591
592
|
### TypeScript
|
|
592
593
|
|
|
593
|
-

|
|
594
595
|

|
|
595
596
|

|
|
596
597
|

|
|
597
598
|

|
|
598
|
-

|
|
599
600
|

|
|
600
601
|
|
|
601
602
|
### JavaScript
|
|
602
603
|
|
|
603
604
|

|
|
604
|
-

|
|
605
606
|

|
|
606
607
|

|
|
607
|
-

|
|
608
609
|

|
|
609
|
-

|
|
610
611
|

|
|
611
|
-

|
|
613
|
+

|
|
613
614
|

|
|
614
|
-

|
|
616
|
+

|
|
616
617
|

|
|
617
618
|
|
|
618
619
|
### Python
|
|
@@ -633,16 +634,16 @@ graph LR
|
|
|
633
634
|
### JSON
|
|
634
635
|
|
|
635
636
|

|
|
636
|
-

|
|
638
|
+

|
|
638
639
|

|
|
639
|
-

|
|
641
|
+

|
|
641
642
|

|
|
642
643
|

|
|
643
644
|

|
|
644
|
-

|
|
646
|
+

|
|
646
647
|

|
|
647
648
|
|
|
648
649
|
### YAML
|
|
@@ -730,7 +731,7 @@ graph LR
|
|
|
730
731
|

|
|
731
732
|

|
|
732
733
|

|
|
733
|
-

|
|
734
735
|

|
|
735
736
|

|
|
736
737
|

|
|
@@ -768,20 +769,20 @@ graph LR
|
|
|
768
769
|
### Markdown
|
|
769
770
|
|
|
770
771
|

|
|
771
|
-

|
|
772
773
|

|
|
773
|
-

|
|
775
|
+

|
|
775
776
|

|
|
776
777
|

|
|
777
778
|

|
|
778
|
-

|
|
780
|
+

|
|
781
|
+

|
|
781
782
|

|
|
782
783
|

|
|
783
784
|

|
|
784
|
-

|
|
785
786
|

|
|
786
787
|

|
|
787
788
|

|
|
@@ -793,7 +794,7 @@ graph LR
|
|
|
793
794
|
|
|
794
795
|
## 🔭 Callidescope
|
|
795
796
|
|
|
796
|
-
Call stacks traced through `
|
|
797
|
+
Call stacks traced through `projects/ic-suite/callidescope/callidescope-nx`, deepest first. Each frame shows what it takes, what it returns, and what its documentation says.
|
|
797
798
|
|
|
798
799
|
| Measure | Value |
|
|
799
800
|
| --- | --- |
|
|
@@ -819,108 +820,108 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
819
820
|
**1. `breadthExecutor`** — depth ≥ 17 · orphan-root
|
|
820
821
|
|
|
821
822
|
```text
|
|
822
|
-
🚀 breadthExecutor(…): Promise<{ success: boolean; }> [
|
|
823
|
+
🚀 breadthExecutor(…): Promise<{ success: boolean; }> [projects/ic-suite/callidescope/callidescope-nx/src/executors/breadth/executor.ts:15]
|
|
823
824
|
↳ Prints each named callable's direct callers and callees side by side — the two questions a rename or a refactor needs…
|
|
824
|
-
└─> runAddressExecutor(…): Promise<{ success: boolean; }> [
|
|
825
|
+
└─> runAddressExecutor(…): Promise<{ success: boolean; }> [projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.utilities.ts:19]
|
|
825
826
|
↳ Runs the address lookups on behalf of the `depth` or `breadth` executor.
|
|
826
|
-
└─> AddressService.runDepth(args: LookupArguments): Promise<LookupResult> [
|
|
827
|
+
└─> AddressService.runDepth(args: LookupArguments): Promise<LookupResult> [projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts:154]
|
|
827
828
|
↳ Prints every call stack above and below each callable.
|
|
828
|
-
└─> AddressService.locate(…): Promise<string | { identified: { address: string; id: string; }[]; workspace: LocatedWorkspace; }> [
|
|
829
|
+
└─> AddressService.locate(…): Promise<string | { identified: { address: string; id: string; }[]; workspace: LocatedWorkspace; }> [projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts:74]
|
|
829
830
|
↳ Traces the selection, then matches every address against it.
|
|
830
|
-
└─> AddressLookupService.locate(options: AddressCommandOptions): Promise<LocatedWorkspace> [
|
|
831
|
+
└─> AddressLookupService.locate(options: AddressCommandOptions): Promise<LocatedWorkspace> [projects/ic-suite/callidescope/callidescope-cli/src/modules/address-lookup/address-lookup.service.ts:87]
|
|
831
832
|
↳ Loads the configuration and traces the workspace, matching nothing yet.
|
|
832
|
-
└─> CallidescopeService.locate(args: TraceArguments): Promise<LocateOutcome> [
|
|
833
|
+
└─> CallidescopeService.locate(args: TraceArguments): Promise<LocateOutcome> [projects/ic-suite/callidescope/callidescope-cli/src/modules/callidescope/callidescope.service.ts:394]
|
|
833
834
|
↳ Collects every callable and assembles the graph over them, without running the analysis a full trace does.
|
|
834
|
-
└─> GraphAssemblyService.assemble(args: AssembleGraphArguments): AssembledGraph [
|
|
835
|
+
└─> GraphAssemblyService.assemble(args: AssembleGraphArguments): AssembledGraph [projects/ic-suite/callidescope/callidescope-graph/src/modules/graph/graph-assembly.service.ts:43]
|
|
835
836
|
↳ Builds the call graph and everything derived from it.
|
|
836
|
-
└─> EdgesService.build(args: BuildEdgesArguments): EdgeCollection [
|
|
837
|
+
└─> EdgesService.build(args: BuildEdgesArguments): EdgeCollection [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:251]
|
|
837
838
|
↳ Builds every edge in the graph, and records the calls it could not.
|
|
838
|
-
└─> EdgesService.buildSiteEdges(…): { edges: CallEdge[]; unresolved: UnresolvedCall[]; } [
|
|
839
|
+
└─> EdgesService.buildSiteEdges(…): { edges: CallEdge[]; unresolved: UnresolvedCall[]; } [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:59]
|
|
839
840
|
↳ Turns one call site into the edges and non-resolutions it produced.
|
|
840
|
-
└─> EdgesService.resolveSite(…): ResolvedCallSite | undefined [
|
|
841
|
+
└─> EdgesService.resolveSite(…): ResolvedCallSite | undefined [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:226]
|
|
841
842
|
↳ Resolves one call site, choosing the right strategy for its shape.
|
|
842
|
-
└─> SymbolResolutionService.resolve(…): ResolvedCallSite [
|
|
843
|
+
└─> SymbolResolutionService.resolve(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:267]
|
|
843
844
|
↳ Resolves a call expression to every declaration it can reach.
|
|
844
|
-
└─> SymbolResolutionService.resolveSymbol(…): ResolvedCallSite [
|
|
845
|
+
└─> SymbolResolutionService.resolveSymbol(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:165]
|
|
845
846
|
↳ Resolves an already-identified callee symbol to its declarations.
|
|
846
|
-
└─> SymbolResolutionService.resolveThroughHierarchy(…): ResolvedCallSite [
|
|
847
|
+
└─> SymbolResolutionService.resolveThroughHierarchy(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:217]
|
|
847
848
|
↳ Expands an interface or abstract member to its implementations.
|
|
848
|
-
└─> ClassesService.resolveImplementations(…): ImplementationLookup [
|
|
849
|
+
└─> ClassesService.resolveImplementations(…): ImplementationLookup [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:204]
|
|
849
850
|
↳ Finds the concrete declarations one interface member resolves to.
|
|
850
|
-
└─> ClassesService.flatMap(…)(this: undefined, candidate: ts.ClassDeclaration): ts.Declaration[] [
|
|
851
|
-
└─> ClassesService.readMemberDeclarations(…): Declaration[] [
|
|
851
|
+
└─> ClassesService.flatMap(…)(this: undefined, candidate: ts.ClassDeclaration): ts.Declaration[] [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:232]
|
|
852
|
+
└─> ClassesService.readMemberDeclarations(…): Declaration[] [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:148]
|
|
852
853
|
↳ Reads one member's concrete declarations off a candidate class.
|
|
853
|
-
└─> ClassesService.filter(…)(member: ts.PropertyDeclaration | ts.MethodDeclaration): boolean [
|
|
854
|
+
└─> ClassesService.filter(…)(member: ts.PropertyDeclaration | ts.MethodDeclaration): boolean [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:162]
|
|
854
855
|
```
|
|
855
856
|
|
|
856
857
|
**2. `depthExecutor`** — depth ≥ 17 · orphan-root
|
|
857
858
|
|
|
858
859
|
```text
|
|
859
|
-
🚀 depthExecutor(…): Promise<{ success: boolean; }> [
|
|
860
|
+
🚀 depthExecutor(…): Promise<{ success: boolean; }> [projects/ic-suite/callidescope/callidescope-nx/src/executors/depth/executor.ts:15]
|
|
860
861
|
↳ Prints every call stack above and below each named callable — every caller chain up to a root, every callee chain down…
|
|
861
|
-
└─> runAddressExecutor(…): Promise<{ success: boolean; }> [
|
|
862
|
+
└─> runAddressExecutor(…): Promise<{ success: boolean; }> [projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.utilities.ts:19]
|
|
862
863
|
↳ Runs the address lookups on behalf of the `depth` or `breadth` executor.
|
|
863
|
-
└─> AddressService.runDepth(args: LookupArguments): Promise<LookupResult> [
|
|
864
|
+
└─> AddressService.runDepth(args: LookupArguments): Promise<LookupResult> [projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts:154]
|
|
864
865
|
↳ Prints every call stack above and below each callable.
|
|
865
|
-
└─> AddressService.locate(…): Promise<string | { identified: { address: string; id: string; }[]; workspace: LocatedWorkspace; }> [
|
|
866
|
+
└─> AddressService.locate(…): Promise<string | { identified: { address: string; id: string; }[]; workspace: LocatedWorkspace; }> [projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts:74]
|
|
866
867
|
↳ Traces the selection, then matches every address against it.
|
|
867
|
-
└─> AddressLookupService.locate(options: AddressCommandOptions): Promise<LocatedWorkspace> [
|
|
868
|
+
└─> AddressLookupService.locate(options: AddressCommandOptions): Promise<LocatedWorkspace> [projects/ic-suite/callidescope/callidescope-cli/src/modules/address-lookup/address-lookup.service.ts:87]
|
|
868
869
|
↳ Loads the configuration and traces the workspace, matching nothing yet.
|
|
869
|
-
└─> CallidescopeService.locate(args: TraceArguments): Promise<LocateOutcome> [
|
|
870
|
+
└─> CallidescopeService.locate(args: TraceArguments): Promise<LocateOutcome> [projects/ic-suite/callidescope/callidescope-cli/src/modules/callidescope/callidescope.service.ts:394]
|
|
870
871
|
↳ Collects every callable and assembles the graph over them, without running the analysis a full trace does.
|
|
871
|
-
└─> GraphAssemblyService.assemble(args: AssembleGraphArguments): AssembledGraph [
|
|
872
|
+
└─> GraphAssemblyService.assemble(args: AssembleGraphArguments): AssembledGraph [projects/ic-suite/callidescope/callidescope-graph/src/modules/graph/graph-assembly.service.ts:43]
|
|
872
873
|
↳ Builds the call graph and everything derived from it.
|
|
873
|
-
└─> EdgesService.build(args: BuildEdgesArguments): EdgeCollection [
|
|
874
|
+
└─> EdgesService.build(args: BuildEdgesArguments): EdgeCollection [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:251]
|
|
874
875
|
↳ Builds every edge in the graph, and records the calls it could not.
|
|
875
|
-
└─> EdgesService.buildSiteEdges(…): { edges: CallEdge[]; unresolved: UnresolvedCall[]; } [
|
|
876
|
+
└─> EdgesService.buildSiteEdges(…): { edges: CallEdge[]; unresolved: UnresolvedCall[]; } [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:59]
|
|
876
877
|
↳ Turns one call site into the edges and non-resolutions it produced.
|
|
877
|
-
└─> EdgesService.resolveSite(…): ResolvedCallSite | undefined [
|
|
878
|
+
└─> EdgesService.resolveSite(…): ResolvedCallSite | undefined [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:226]
|
|
878
879
|
↳ Resolves one call site, choosing the right strategy for its shape.
|
|
879
|
-
└─> SymbolResolutionService.resolve(…): ResolvedCallSite [
|
|
880
|
+
└─> SymbolResolutionService.resolve(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:267]
|
|
880
881
|
↳ Resolves a call expression to every declaration it can reach.
|
|
881
|
-
└─> SymbolResolutionService.resolveSymbol(…): ResolvedCallSite [
|
|
882
|
+
└─> SymbolResolutionService.resolveSymbol(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:165]
|
|
882
883
|
↳ Resolves an already-identified callee symbol to its declarations.
|
|
883
|
-
└─> SymbolResolutionService.resolveThroughHierarchy(…): ResolvedCallSite [
|
|
884
|
+
└─> SymbolResolutionService.resolveThroughHierarchy(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:217]
|
|
884
885
|
↳ Expands an interface or abstract member to its implementations.
|
|
885
|
-
└─> ClassesService.resolveImplementations(…): ImplementationLookup [
|
|
886
|
+
└─> ClassesService.resolveImplementations(…): ImplementationLookup [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:204]
|
|
886
887
|
↳ Finds the concrete declarations one interface member resolves to.
|
|
887
|
-
└─> ClassesService.flatMap(…)(this: undefined, candidate: ts.ClassDeclaration): ts.Declaration[] [
|
|
888
|
-
└─> ClassesService.readMemberDeclarations(…): Declaration[] [
|
|
888
|
+
└─> ClassesService.flatMap(…)(this: undefined, candidate: ts.ClassDeclaration): ts.Declaration[] [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:232]
|
|
889
|
+
└─> ClassesService.readMemberDeclarations(…): Declaration[] [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:148]
|
|
889
890
|
↳ Reads one member's concrete declarations off a candidate class.
|
|
890
|
-
└─> ClassesService.filter(…)(member: ts.PropertyDeclaration | ts.MethodDeclaration): boolean [
|
|
891
|
+
└─> ClassesService.filter(…)(member: ts.PropertyDeclaration | ts.MethodDeclaration): boolean [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:162]
|
|
891
892
|
```
|
|
892
893
|
|
|
893
894
|
**3. `gateExecutor`** — depth ≥ 15 · orphan-root
|
|
894
895
|
|
|
895
896
|
```text
|
|
896
|
-
🚀 gateExecutor(…): Promise<{ success: boolean; }> [
|
|
897
|
+
🚀 gateExecutor(…): Promise<{ success: boolean; }> [projects/ic-suite/callidescope/callidescope-nx/src/executors/gate/executor.ts:28]
|
|
897
898
|
↳ Fails one project's task when its call stacks broke the limits it is held to.
|
|
898
|
-
└─> PluginService.runGate(args: RunGateArguments): Promise<RunTraceResult> [
|
|
899
|
+
└─> PluginService.runGate(args: RunGateArguments): Promise<RunTraceResult> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:427]
|
|
899
900
|
↳ Traces the resolved directories and judges what it found against the limits every project in scope declared.
|
|
900
|
-
└─> CallidescopeService.trace(args: TraceArguments): Promise<TraceOutcome> [
|
|
901
|
+
└─> CallidescopeService.trace(args: TraceArguments): Promise<TraceOutcome> [projects/ic-suite/callidescope/callidescope-cli/src/modules/callidescope/callidescope.service.ts:408]
|
|
901
902
|
↳ Traces a workspace and returns everything the run found.
|
|
902
|
-
└─> CallidescopeService.analyze(…): AnalyzeOutcome [
|
|
903
|
+
└─> CallidescopeService.analyze(…): AnalyzeOutcome [projects/ic-suite/callidescope/callidescope-cli/src/modules/callidescope/callidescope.service.ts:295]
|
|
903
904
|
↳ Derives every finding from the collected callables.
|
|
904
|
-
└─> GraphAssemblyService.assemble(args: AssembleGraphArguments): AssembledGraph [
|
|
905
|
+
└─> GraphAssemblyService.assemble(args: AssembleGraphArguments): AssembledGraph [projects/ic-suite/callidescope/callidescope-graph/src/modules/graph/graph-assembly.service.ts:43]
|
|
905
906
|
↳ Builds the call graph and everything derived from it.
|
|
906
|
-
└─> EdgesService.build(args: BuildEdgesArguments): EdgeCollection [
|
|
907
|
+
└─> EdgesService.build(args: BuildEdgesArguments): EdgeCollection [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:251]
|
|
907
908
|
↳ Builds every edge in the graph, and records the calls it could not.
|
|
908
|
-
└─> EdgesService.buildSiteEdges(…): { edges: CallEdge[]; unresolved: UnresolvedCall[]; } [
|
|
909
|
+
└─> EdgesService.buildSiteEdges(…): { edges: CallEdge[]; unresolved: UnresolvedCall[]; } [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:59]
|
|
909
910
|
↳ Turns one call site into the edges and non-resolutions it produced.
|
|
910
|
-
└─> EdgesService.resolveSite(…): ResolvedCallSite | undefined [
|
|
911
|
+
└─> EdgesService.resolveSite(…): ResolvedCallSite | undefined [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:226]
|
|
911
912
|
↳ Resolves one call site, choosing the right strategy for its shape.
|
|
912
|
-
└─> SymbolResolutionService.resolve(…): ResolvedCallSite [
|
|
913
|
+
└─> SymbolResolutionService.resolve(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:267]
|
|
913
914
|
↳ Resolves a call expression to every declaration it can reach.
|
|
914
|
-
└─> SymbolResolutionService.resolveSymbol(…): ResolvedCallSite [
|
|
915
|
+
└─> SymbolResolutionService.resolveSymbol(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:165]
|
|
915
916
|
↳ Resolves an already-identified callee symbol to its declarations.
|
|
916
|
-
└─> SymbolResolutionService.resolveThroughHierarchy(…): ResolvedCallSite [
|
|
917
|
+
└─> SymbolResolutionService.resolveThroughHierarchy(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:217]
|
|
917
918
|
↳ Expands an interface or abstract member to its implementations.
|
|
918
|
-
└─> ClassesService.resolveImplementations(…): ImplementationLookup [
|
|
919
|
+
└─> ClassesService.resolveImplementations(…): ImplementationLookup [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:204]
|
|
919
920
|
↳ Finds the concrete declarations one interface member resolves to.
|
|
920
|
-
└─> ClassesService.flatMap(…)(this: undefined, candidate: ts.ClassDeclaration): ts.Declaration[] [
|
|
921
|
-
└─> ClassesService.readMemberDeclarations(…): Declaration[] [
|
|
921
|
+
└─> ClassesService.flatMap(…)(this: undefined, candidate: ts.ClassDeclaration): ts.Declaration[] [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:232]
|
|
922
|
+
└─> ClassesService.readMemberDeclarations(…): Declaration[] [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:148]
|
|
922
923
|
↳ Reads one member's concrete declarations off a candidate class.
|
|
923
|
-
└─> ClassesService.filter(…)(member: ts.PropertyDeclaration | ts.MethodDeclaration): boolean [
|
|
924
|
+
└─> ClassesService.filter(…)(member: ts.PropertyDeclaration | ts.MethodDeclaration): boolean [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:162]
|
|
924
925
|
```
|
|
925
926
|
|
|
926
927
|
<details>
|
|
@@ -929,61 +930,61 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
929
930
|
**4. `traceExecutor`** — depth ≥ 15 · orphan-root
|
|
930
931
|
|
|
931
932
|
```text
|
|
932
|
-
🚀 traceExecutor(…): Promise<{ success: boolean; }> [
|
|
933
|
+
🚀 traceExecutor(…): Promise<{ success: boolean; }> [projects/ic-suite/callidescope/callidescope-nx/src/executors/trace/executor.ts:25]
|
|
933
934
|
↳ Traces one selection of Nx projects with callidescope.
|
|
934
|
-
└─> PluginService.runTrace(args: RunTraceArguments): Promise<RunTraceResult> [
|
|
935
|
+
└─> PluginService.runTrace(args: RunTraceArguments): Promise<RunTraceResult> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:472]
|
|
935
936
|
↳ Traces the resolved directories and renders the report.
|
|
936
|
-
└─> CallidescopeService.trace(args: TraceArguments): Promise<TraceOutcome> [
|
|
937
|
+
└─> CallidescopeService.trace(args: TraceArguments): Promise<TraceOutcome> [projects/ic-suite/callidescope/callidescope-cli/src/modules/callidescope/callidescope.service.ts:408]
|
|
937
938
|
↳ Traces a workspace and returns everything the run found.
|
|
938
|
-
└─> CallidescopeService.analyze(…): AnalyzeOutcome [
|
|
939
|
+
└─> CallidescopeService.analyze(…): AnalyzeOutcome [projects/ic-suite/callidescope/callidescope-cli/src/modules/callidescope/callidescope.service.ts:295]
|
|
939
940
|
↳ Derives every finding from the collected callables.
|
|
940
|
-
└─> GraphAssemblyService.assemble(args: AssembleGraphArguments): AssembledGraph [
|
|
941
|
+
└─> GraphAssemblyService.assemble(args: AssembleGraphArguments): AssembledGraph [projects/ic-suite/callidescope/callidescope-graph/src/modules/graph/graph-assembly.service.ts:43]
|
|
941
942
|
↳ Builds the call graph and everything derived from it.
|
|
942
|
-
└─> EdgesService.build(args: BuildEdgesArguments): EdgeCollection [
|
|
943
|
+
└─> EdgesService.build(args: BuildEdgesArguments): EdgeCollection [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:251]
|
|
943
944
|
↳ Builds every edge in the graph, and records the calls it could not.
|
|
944
|
-
└─> EdgesService.buildSiteEdges(…): { edges: CallEdge[]; unresolved: UnresolvedCall[]; } [
|
|
945
|
+
└─> EdgesService.buildSiteEdges(…): { edges: CallEdge[]; unresolved: UnresolvedCall[]; } [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:59]
|
|
945
946
|
↳ Turns one call site into the edges and non-resolutions it produced.
|
|
946
|
-
└─> EdgesService.resolveSite(…): ResolvedCallSite | undefined [
|
|
947
|
+
└─> EdgesService.resolveSite(…): ResolvedCallSite | undefined [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:226]
|
|
947
948
|
↳ Resolves one call site, choosing the right strategy for its shape.
|
|
948
|
-
└─> SymbolResolutionService.resolve(…): ResolvedCallSite [
|
|
949
|
+
└─> SymbolResolutionService.resolve(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:267]
|
|
949
950
|
↳ Resolves a call expression to every declaration it can reach.
|
|
950
|
-
└─> SymbolResolutionService.resolveSymbol(…): ResolvedCallSite [
|
|
951
|
+
└─> SymbolResolutionService.resolveSymbol(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:165]
|
|
951
952
|
↳ Resolves an already-identified callee symbol to its declarations.
|
|
952
|
-
└─> SymbolResolutionService.resolveThroughHierarchy(…): ResolvedCallSite [
|
|
953
|
+
└─> SymbolResolutionService.resolveThroughHierarchy(…): ResolvedCallSite [projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:217]
|
|
953
954
|
↳ Expands an interface or abstract member to its implementations.
|
|
954
|
-
└─> ClassesService.resolveImplementations(…): ImplementationLookup [
|
|
955
|
+
└─> ClassesService.resolveImplementations(…): ImplementationLookup [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:204]
|
|
955
956
|
↳ Finds the concrete declarations one interface member resolves to.
|
|
956
|
-
└─> ClassesService.flatMap(…)(this: undefined, candidate: ts.ClassDeclaration): ts.Declaration[] [
|
|
957
|
-
└─> ClassesService.readMemberDeclarations(…): Declaration[] [
|
|
957
|
+
└─> ClassesService.flatMap(…)(this: undefined, candidate: ts.ClassDeclaration): ts.Declaration[] [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:232]
|
|
958
|
+
└─> ClassesService.readMemberDeclarations(…): Declaration[] [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:148]
|
|
958
959
|
↳ Reads one member's concrete declarations off a candidate class.
|
|
959
|
-
└─> ClassesService.filter(…)(member: ts.PropertyDeclaration | ts.MethodDeclaration): boolean [
|
|
960
|
+
└─> ClassesService.filter(…)(member: ts.PropertyDeclaration | ts.MethodDeclaration): boolean [projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:162]
|
|
960
961
|
```
|
|
961
962
|
|
|
962
963
|
**5. `anonymous`** — depth ≥ 8 · orphan-root
|
|
963
964
|
|
|
964
965
|
```text
|
|
965
|
-
🚀 anonymous(…): Promise<CreateNodesResultArray> [
|
|
966
|
-
└─> PluginService.inferTargets(args: InferTargetsArguments): Promise<Map<string, InferredTargets>> [
|
|
966
|
+
🚀 anonymous(…): Promise<CreateNodesResultArray> [projects/ic-suite/callidescope/callidescope-nx/src/index.ts:59]
|
|
967
|
+
└─> PluginService.inferTargets(args: InferTargetsArguments): Promise<Map<string, InferredTargets>> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:333]
|
|
967
968
|
↳ Infers this plugin's targets onto every project holding a `tsconfig.json`.
|
|
968
|
-
└─> PluginService.buildExclusionFilter(…): Promise<FileFilter> [
|
|
969
|
+
└─> PluginService.buildExclusionFilter(…): Promise<FileFilter> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:92]
|
|
969
970
|
↳ Builds the predicate deciding which projects the workspace configuration keeps out of every trace.
|
|
970
|
-
└─> ConfigurationService.loadConfigurationFile(args?: LoadConfigurationArguments): Promise<LoadedCallidescopeConfiguration> [
|
|
971
|
+
└─> ConfigurationService.loadConfigurationFile(args?: LoadConfigurationArguments): Promise<LoadedCallidescopeConfiguration> [projects/ic-suite/callidescope/callidescope-configuration/src/modules/configuration/configuration.service.ts:87]
|
|
971
972
|
↳ Loads a configuration, and says what the file itself declared and which file answered.
|
|
972
|
-
└─> ConfigurationFileService.loadConfigurationFile(args?: LoadConfigurationArguments): Promise<LoadedCallidescopeConfiguration> [
|
|
973
|
+
└─> ConfigurationFileService.loadConfigurationFile(args?: LoadConfigurationArguments): Promise<LoadedCallidescopeConfiguration> [projects/ic-suite/callidescope/callidescope-configuration/src/modules/configuration/configuration-file.service.ts:326]
|
|
973
974
|
↳ Loads a configuration, and says what the file itself declared and which file answered.
|
|
974
|
-
└─> ConfigurationFileService.resolveConfigurationPath(configurationPath: string): string [
|
|
975
|
+
└─> ConfigurationFileService.resolveConfigurationPath(configurationPath: string): string [projects/ic-suite/callidescope/callidescope-configuration/src/modules/configuration/configuration-file.service.ts:158]
|
|
975
976
|
↳ Resolves a configuration path against the cwd, then the repository root.
|
|
976
|
-
└─> ConfigurationFileService.findRepositoryRoot(): string | undefined [
|
|
977
|
+
└─> ConfigurationFileService.findRepositoryRoot(): string | undefined [projects/ic-suite/callidescope/callidescope-configuration/src/modules/configuration/configuration-file.service.ts:97]
|
|
977
978
|
↳ Walks upward from the process cwd looking for the repository root.
|
|
978
|
-
└─> ConfigurationFileService.some(…)(marker: ".git" | "pnpm-workspace.yaml"): boolean [
|
|
979
|
+
└─> ConfigurationFileService.some(…)(marker: ".git" | "pnpm-workspace.yaml"): boolean [projects/ic-suite/callidescope/callidescope-configuration/src/modules/configuration/configuration-file.service.ts:102]
|
|
979
980
|
```
|
|
980
981
|
|
|
981
982
|
**6. `resolveProjectsService`** — depth 2 · orphan-root
|
|
982
983
|
|
|
983
984
|
```text
|
|
984
|
-
🚀 resolveProjectsService(): Promise<ProjectsService> [
|
|
985
|
+
🚀 resolveProjectsService(): Promise<ProjectsService> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin-context.utilities.ts:39]
|
|
985
986
|
↳ Resolves the service that reads the workspace's Nx project graph.
|
|
986
|
-
└─> resolvePluginContext(): Promise<INestApplicationContext> [
|
|
987
|
+
└─> resolvePluginContext(): Promise<INestApplicationContext> [projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin-context.utilities.ts:59]
|
|
987
988
|
↳ Builds, or returns, this process's application context.
|
|
988
989
|
```
|
|
989
990
|
|
|
@@ -993,51 +994,51 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
993
994
|
|
|
994
995
|
| Callable | Breadth | Calls directly | Location |
|
|
995
996
|
| --- | --- | --- | --- |
|
|
996
|
-
| `runAddressExecutor` | 7 | `filter(…)`, `resolveExecutorScope`, `resolveOptionsService`, `resolveAddressService`, `OptionsService.readFormat`, `AddressService.runDepth`, `AddressService.runBreadth` | `
|
|
997
|
-
| `ProjectsService.resolveProjectNames` | 6 | `ProjectsService.readProjects`, `ProjectsService.map(…)`, `ProjectsService.resolveTaggedNames`, `ProjectsService.map(…)`, `ProjectsService.readTags`, `ProjectsService.toSorted(…)` | `
|
|
998
|
-
| `OptionsService.readStringList` | 5 | `OptionsService.isUnknownArray`, `OptionsService.filter(…)`, `OptionsService.map(…)`, `OptionsService.flatMap(…)`, `OptionsService.filter(…)` | `
|
|
997
|
+
| `runAddressExecutor` | 7 | `filter(…)`, `resolveExecutorScope`, `resolveOptionsService`, `resolveAddressService`, `OptionsService.readFormat`, `AddressService.runDepth`, `AddressService.runBreadth` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.utilities.ts:19` |
|
|
998
|
+
| `ProjectsService.resolveProjectNames` | 6 | `ProjectsService.readProjects`, `ProjectsService.map(…)`, `ProjectsService.resolveTaggedNames`, `ProjectsService.map(…)`, `ProjectsService.readTags`, `ProjectsService.toSorted(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts:195` |
|
|
999
|
+
| `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:124` |
|
|
999
1000
|
|
|
1000
1001
|
<details>
|
|
1001
1002
|
<summary>36 more callables</summary>
|
|
1002
1003
|
|
|
1003
1004
|
| Callable | Breadth | Calls directly | Location |
|
|
1004
1005
|
| --- | --- | --- | --- |
|
|
1005
|
-
| `PluginService.inferTargets` | 5 | `OptionsService.resolvePluginOptions`, `PluginService.buildExclusionFilter`, `PluginService.holdsProgram`, `PluginService.buildInferredTargets`, `PluginService.isExcludedProject` | `
|
|
1006
|
-
| `PluginService.runGate` | 5 | `RunConfigurationService.load`, `CallidescopeService.trace`, `PluginService.judge`, `PluginService.explainVerdict`, `MarkdownReportService.renderFindings` | `
|
|
1007
|
-
| `PluginService.runTrace` | 5 | `RunConfigurationService.load`, `CallidescopeService.trace`, `PluginService.judge`, `MarkdownReportService.renderRun`, `PluginService.explainVerdict` | `
|
|
1008
|
-
| `resolveExecutorScope` | 5 | `resolveOptionsService`, `OptionsService.readStringList`, `resolvePluginService`, `PluginService.resolveTraceScope`, `PluginService.describeRefusedScope` | `
|
|
1009
|
-
| `traceExecutor` | 5 | `resolveExecutorScope`, `resolveOptionsService`, `resolvePluginService`, `PluginService.runTrace`, `OptionsService.readFormat` | `
|
|
1010
|
-
| `PluginService.resolveTraceScope` | 4 | `ProjectsService.readProjectGraph`, `ProjectsService.resolveProjectNames`, `ProjectsService.resolveDependencyClosure`, `ProjectsService.resolveDirectories` | `
|
|
1011
|
-
| `anonymous` | 4 | `resolvePluginService`, `PluginService.inferTargets`, `filter(…)`, `map(…)` | `
|
|
1012
|
-
| `AddressService.runBreadth` | 3 | `AddressService.locate`, `BreadthService.describeDirectCalls`, `AddressReportService.renderBreadthReports` | `
|
|
1013
|
-
| `AddressService.runDepth` | 3 | `AddressService.locate`, `AddressReportService.renderDepthReports`, `AddressService.map(…)` | `
|
|
1014
|
-
| `ProjectsService.toDirectories` | 3 | `ProjectsService.map(…)`, `ProjectsService.readProjects`, `ProjectsService.toSorted(…)` | `
|
|
1015
|
-
| `RunConfigurationService.load` | 3 | `OptionsService.resolveConfigurationPath`, `RunConfigurationService.readNxConfiguration`, `ConfigurationService.loadConfigurationFile` | `
|
|
1016
|
-
| `gateExecutor` | 3 | `resolveExecutorScope`, `resolvePluginService`, `PluginService.runGate` | `
|
|
1017
|
-
| `AddressService.identify` | 2 | `AddressLookupService.resolve`, `AddressLookupService.describeProblem` | `
|
|
1018
|
-
| `AddressService.locate` | 2 | `AddressLookupService.locate`, `AddressService.identify` | `
|
|
1019
|
-
| `AddressService.map(…)` | 2 | `AddressDepthService.buildDownwardStacks`, `AddressDepthService.buildUpwardStacks` | `
|
|
1020
|
-
| `OptionsService.readRegisteredConfigurationPath` | 2 | `OptionsService.isUnknownArray`, `OptionsService.readEntryConfigurationPath` | `
|
|
1021
|
-
| `OptionsService.resolveConfigurationPath` | 2 | `OptionsService.readRegisteredConfigurationPath`, `OptionsService.find(…)` | `
|
|
1022
|
-
| `ProjectsService.readTags` | 2 | `ProjectsService.toSorted(…)`, `ProjectsService.flatMap(…)` | `
|
|
1023
|
-
| `ProjectsService.resolveTaggedNames` | 2 | `ProjectsService.filter(…)`, `ProjectsService.map(…)` | `
|
|
1024
|
-
| `ProjectsService.readProjects` | 2 | `ProjectsService.toSorted(…)`, `ProjectsService.map(…)` | `
|
|
1025
|
-
| `ProjectsService.resolveDependencyClosure` | 2 | `ProjectsService.filter(…)`, `ProjectsService.toSorted(…)` | `
|
|
1026
|
-
| `ProjectsService.resolveDirectories` | 2 | `ProjectsService.resolveProjectNames`, `ProjectsService.toDirectories` | `
|
|
1027
|
-
| `PluginService.buildExclusionFilter` | 2 | `ConfigurationService.loadConfigurationFile`, `FileFilterService.buildFileFilter` | `
|
|
1028
|
-
| `PluginService.judge` | 2 | `ProjectReportsService.findOwnedFindings`, `ProjectReportsService.findUnreadProjects` | `
|
|
1029
|
-
| `OptionsService.readEntryConfigurationPath` | 1 | `OptionsService.readString` | `
|
|
1030
|
-
| `OptionsService.readFormat` | 1 | `OptionsService.find(…)` | `
|
|
1031
|
-
| `OptionsService.resolvePluginOptions` | 1 | `OptionsService.readString` | `
|
|
1032
|
-
| `reportUnreadProjects` | 1 | `map(…)` | `
|
|
1033
|
-
| `PluginService.explainVerdict` | 1 | `reportUnreadProjects` | `
|
|
1034
|
-
| `PluginService.describeRefusedScope` | 1 | `PluginService.filter(…)` | `
|
|
1035
|
-
| `resolveAddressService` | 1 | `resolvePluginContext` | `
|
|
1036
|
-
| `resolveOptionsService` | 1 | `resolvePluginContext` | `
|
|
1037
|
-
| `resolvePluginService` | 1 | `resolvePluginContext` | `
|
|
1038
|
-
| `resolveProjectsService` | 1 | `resolvePluginContext` | `
|
|
1039
|
-
| `breadthExecutor` | 1 | `runAddressExecutor` | `
|
|
1040
|
-
| `depthExecutor` | 1 | `runAddressExecutor` | `
|
|
1006
|
+
| `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:333` |
|
|
1007
|
+
| `PluginService.runGate` | 5 | `RunConfigurationService.load`, `CallidescopeService.trace`, `PluginService.judge`, `PluginService.explainVerdict`, `MarkdownReportService.renderFindings` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:427` |
|
|
1008
|
+
| `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:472` |
|
|
1009
|
+
| `resolveExecutorScope` | 5 | `resolveOptionsService`, `OptionsService.readStringList`, `resolvePluginService`, `PluginService.resolveTraceScope`, `PluginService.describeRefusedScope` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.utilities.ts:24` |
|
|
1010
|
+
| `traceExecutor` | 5 | `resolveExecutorScope`, `resolveOptionsService`, `resolvePluginService`, `PluginService.runTrace`, `OptionsService.readFormat` | `projects/ic-suite/callidescope/callidescope-nx/src/executors/trace/executor.ts:25` |
|
|
1011
|
+
| `PluginService.resolveTraceScope` | 4 | `ProjectsService.readProjectGraph`, `ProjectsService.resolveProjectNames`, `ProjectsService.resolveDependencyClosure`, `ProjectsService.resolveDirectories` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:383` |
|
|
1012
|
+
| `anonymous` | 4 | `resolvePluginService`, `PluginService.inferTargets`, `filter(…)`, `map(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/index.ts:59` |
|
|
1013
|
+
| `AddressService.runBreadth` | 3 | `AddressService.locate`, `BreadthService.describeDirectCalls`, `AddressReportService.renderBreadthReports` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts:110` |
|
|
1014
|
+
| `AddressService.runDepth` | 3 | `AddressService.locate`, `AddressReportService.renderDepthReports`, `AddressService.map(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts:154` |
|
|
1015
|
+
| `ProjectsService.toDirectories` | 3 | `ProjectsService.map(…)`, `ProjectsService.readProjects`, `ProjectsService.toSorted(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts:233` |
|
|
1016
|
+
| `RunConfigurationService.load` | 3 | `OptionsService.resolveConfigurationPath`, `RunConfigurationService.readNxConfiguration`, `ConfigurationService.loadConfigurationFile` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/run-configuration/run-configuration.service.ts:69` |
|
|
1017
|
+
| `gateExecutor` | 3 | `resolveExecutorScope`, `resolvePluginService`, `PluginService.runGate` | `projects/ic-suite/callidescope/callidescope-nx/src/executors/gate/executor.ts:28` |
|
|
1018
|
+
| `AddressService.identify` | 2 | `AddressLookupService.resolve`, `AddressLookupService.describeProblem` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts:47` |
|
|
1019
|
+
| `AddressService.locate` | 2 | `AddressLookupService.locate`, `AddressService.identify` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts:74` |
|
|
1020
|
+
| `AddressService.map(…)` | 2 | `AddressDepthService.buildDownwardStacks`, `AddressDepthService.buildUpwardStacks` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts:167` |
|
|
1021
|
+
| `OptionsService.readRegisteredConfigurationPath` | 2 | `OptionsService.isUnknownArray`, `OptionsService.readEntryConfigurationPath` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/options/options.service.ts:66` |
|
|
1022
|
+
| `OptionsService.resolveConfigurationPath` | 2 | `OptionsService.readRegisteredConfigurationPath`, `OptionsService.find(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/options/options.service.ts:145` |
|
|
1023
|
+
| `ProjectsService.readTags` | 2 | `ProjectsService.toSorted(…)`, `ProjectsService.flatMap(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts:37` |
|
|
1024
|
+
| `ProjectsService.resolveTaggedNames` | 2 | `ProjectsService.filter(…)`, `ProjectsService.map(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts:53` |
|
|
1025
|
+
| `ProjectsService.readProjects` | 2 | `ProjectsService.toSorted(…)`, `ProjectsService.map(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts:92` |
|
|
1026
|
+
| `ProjectsService.resolveDependencyClosure` | 2 | `ProjectsService.filter(…)`, `ProjectsService.toSorted(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts:122` |
|
|
1027
|
+
| `ProjectsService.resolveDirectories` | 2 | `ProjectsService.resolveProjectNames`, `ProjectsService.toDirectories` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts:171` |
|
|
1028
|
+
| `PluginService.buildExclusionFilter` | 2 | `ConfigurationService.loadConfigurationFile`, `FileFilterService.buildFileFilter` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:92` |
|
|
1029
|
+
| `PluginService.judge` | 2 | `ProjectReportsService.findOwnedFindings`, `ProjectReportsService.findUnreadProjects` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:263` |
|
|
1030
|
+
| `OptionsService.readEntryConfigurationPath` | 1 | `OptionsService.readString` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/options/options.service.ts:42` |
|
|
1031
|
+
| `OptionsService.readFormat` | 1 | `OptionsService.find(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/options/options.service.ts:109` |
|
|
1032
|
+
| `OptionsService.resolvePluginOptions` | 1 | `OptionsService.readString` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/options/options.service.ts:159` |
|
|
1033
|
+
| `reportUnreadProjects` | 1 | `map(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.constants.ts:72` |
|
|
1034
|
+
| `PluginService.explainVerdict` | 1 | `reportUnreadProjects` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:185` |
|
|
1035
|
+
| `PluginService.describeRefusedScope` | 1 | `PluginService.filter(…)` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.service.ts:305` |
|
|
1036
|
+
| `resolveAddressService` | 1 | `resolvePluginContext` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin-context.utilities.ts:18` |
|
|
1037
|
+
| `resolveOptionsService` | 1 | `resolvePluginContext` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin-context.utilities.ts:25` |
|
|
1038
|
+
| `resolvePluginService` | 1 | `resolvePluginContext` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin-context.utilities.ts:32` |
|
|
1039
|
+
| `resolveProjectsService` | 1 | `resolvePluginContext` | `projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin-context.utilities.ts:39` |
|
|
1040
|
+
| `breadthExecutor` | 1 | `runAddressExecutor` | `projects/ic-suite/callidescope/callidescope-nx/src/executors/breadth/executor.ts:15` |
|
|
1041
|
+
| `depthExecutor` | 1 | `runAddressExecutor` | `projects/ic-suite/callidescope/callidescope-nx/src/executors/depth/executor.ts:15` |
|
|
1041
1042
|
|
|
1042
1043
|
</details>
|
|
1043
1044
|
<!-- callidescope:end -->
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e, t } from "./plugin-context.utilities-
|
|
2
|
-
import { t as n } from "./plugin.utilities-
|
|
3
|
-
//#region
|
|
1
|
+
import { n as e, t } from "./plugin-context.utilities-CN70VImb.js";
|
|
2
|
+
import { t as n } from "./plugin.utilities-uGmd3-4r.js";
|
|
3
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.utilities.ts
|
|
4
4
|
async function runAddressExecutor(r) {
|
|
5
5
|
let i = (r.options.addresses ?? []).filter((e) => e !== "");
|
|
6
6
|
if (i.length === 0) throw Error(`The callidescope ${r.kind} executor needs --addresses, as in "--addresses=src/foo.service.ts#FooService.bar".`);
|
|
@@ -56,7 +56,7 @@ function __decorate(e, t, n, r) {
|
|
|
56
56
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
57
57
|
}
|
|
58
58
|
//#endregion
|
|
59
|
-
//#region
|
|
59
|
+
//#region projects/logging/src/modules/logger/logger.service.ts
|
|
60
60
|
var j, M = class LoggerService extends t {
|
|
61
61
|
static {
|
|
62
62
|
j = this;
|
|
@@ -191,7 +191,7 @@ var j, M = class LoggerService extends t {
|
|
|
191
191
|
};
|
|
192
192
|
M = j = __decorate([r({ scope: a.TRANSIENT }), __decorateMetadata("design:paramtypes", [])], M);
|
|
193
193
|
//#endregion
|
|
194
|
-
//#region
|
|
194
|
+
//#region projects/logging/src/modules/logger/logger.module.ts
|
|
195
195
|
var N = class LoggerModule {};
|
|
196
196
|
N = __decorate([n(), i({
|
|
197
197
|
controllers: [],
|
|
@@ -200,7 +200,7 @@ N = __decorate([n(), i({
|
|
|
200
200
|
providers: [M]
|
|
201
201
|
})], N);
|
|
202
202
|
//#endregion
|
|
203
|
-
//#region
|
|
203
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts
|
|
204
204
|
var P = class AddressService {
|
|
205
205
|
addressLookupService;
|
|
206
206
|
addressReportService;
|
|
@@ -304,7 +304,7 @@ P = __decorate([r(), __decorateMetadata("design:paramtypes", [
|
|
|
304
304
|
p === void 0 ? Object : p
|
|
305
305
|
])], P);
|
|
306
306
|
//#endregion
|
|
307
|
-
//#region
|
|
307
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/modules/address/address.module.ts
|
|
308
308
|
var F = class AddressModule {};
|
|
309
309
|
F = __decorate([i({
|
|
310
310
|
controllers: [],
|
|
@@ -317,7 +317,7 @@ F = __decorate([i({
|
|
|
317
317
|
providers: [P]
|
|
318
318
|
})], F);
|
|
319
319
|
//#endregion
|
|
320
|
-
//#region
|
|
320
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/modules/options/options.constants.ts
|
|
321
321
|
var I = "@callidescope/nx", L = "trace", R = "depth", z = "breadth", B = "gate", V = ["callidescope.config.ts", "configuration/callidescope.config.ts"], H = "tsconfig.json", U = class OptionsService {
|
|
322
322
|
constructor() {}
|
|
323
323
|
isUnknownArray(e) {
|
|
@@ -380,7 +380,7 @@ var I = "@callidescope/nx", L = "trace", R = "depth", z = "breadth", B = "gate",
|
|
|
380
380
|
};
|
|
381
381
|
U = __decorate([r(), __decorateMetadata("design:paramtypes", [])], U);
|
|
382
382
|
//#endregion
|
|
383
|
-
//#region
|
|
383
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/modules/options/options.module.ts
|
|
384
384
|
var W = class OptionsModule {};
|
|
385
385
|
W = __decorate([i({
|
|
386
386
|
controllers: [],
|
|
@@ -389,7 +389,7 @@ W = __decorate([i({
|
|
|
389
389
|
providers: [U]
|
|
390
390
|
})], W);
|
|
391
391
|
//#endregion
|
|
392
|
-
//#region
|
|
392
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts
|
|
393
393
|
var G = class ProjectsService {
|
|
394
394
|
constructor() {}
|
|
395
395
|
readTags(e) {
|
|
@@ -465,7 +465,7 @@ var G = class ProjectsService {
|
|
|
465
465
|
};
|
|
466
466
|
G = __decorate([r(), __decorateMetadata("design:paramtypes", [])], G);
|
|
467
467
|
//#endregion
|
|
468
|
-
//#region
|
|
468
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.module.ts
|
|
469
469
|
var K = class ProjectsModule {};
|
|
470
470
|
K = __decorate([i({
|
|
471
471
|
controllers: [],
|
|
@@ -474,7 +474,7 @@ K = __decorate([i({
|
|
|
474
474
|
providers: [G]
|
|
475
475
|
})], K);
|
|
476
476
|
//#endregion
|
|
477
|
-
//#region
|
|
477
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/modules/run-configuration/run-configuration.constants.ts
|
|
478
478
|
var q = "nx.json", J = class RunConfigurationService {
|
|
479
479
|
configurationService;
|
|
480
480
|
optionsService;
|
|
@@ -504,7 +504,7 @@ var q = "nx.json", J = class RunConfigurationService {
|
|
|
504
504
|
};
|
|
505
505
|
J = __decorate([r(), __decorateMetadata("design:paramtypes", [S === void 0 ? Object : S, U === void 0 ? Object : U])], J);
|
|
506
506
|
//#endregion
|
|
507
|
-
//#region
|
|
507
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/modules/run-configuration/run-configuration.module.ts
|
|
508
508
|
var Y = class RunConfigurationModule {};
|
|
509
509
|
Y = __decorate([i({
|
|
510
510
|
controllers: [],
|
|
@@ -513,7 +513,7 @@ Y = __decorate([i({
|
|
|
513
513
|
providers: [J]
|
|
514
514
|
})], Y);
|
|
515
515
|
//#endregion
|
|
516
|
-
//#region
|
|
516
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.constants.ts
|
|
517
517
|
var se = "**/{project.json,callidescope.config.*}", ce = "{projectRoot}/callidescope.config.*", X = "__callidescopePluginContext", reportUnreadProjects = (e) => [
|
|
518
518
|
"## Read nothing of its own (0 files)",
|
|
519
519
|
"",
|
|
@@ -744,7 +744,7 @@ Z = __decorate([r(), __decorateMetadata("design:paramtypes", [
|
|
|
744
744
|
J === void 0 ? Object : J
|
|
745
745
|
])], Z);
|
|
746
746
|
//#endregion
|
|
747
|
-
//#region
|
|
747
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.module.ts
|
|
748
748
|
var Q = class PluginModule {};
|
|
749
749
|
Q = __decorate([i({
|
|
750
750
|
controllers: [],
|
|
@@ -763,7 +763,7 @@ Q = __decorate([i({
|
|
|
763
763
|
providers: [Z]
|
|
764
764
|
})], Q);
|
|
765
765
|
//#endregion
|
|
766
|
-
//#region
|
|
766
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/main.module.ts
|
|
767
767
|
var $ = class MainModule {};
|
|
768
768
|
$ = __decorate([i({
|
|
769
769
|
controllers: [],
|
|
@@ -776,7 +776,7 @@ $ = __decorate([i({
|
|
|
776
776
|
providers: []
|
|
777
777
|
})], $);
|
|
778
778
|
//#endregion
|
|
779
|
-
//#region
|
|
779
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin-context.utilities.ts
|
|
780
780
|
async function resolveAddressService() {
|
|
781
781
|
return (await resolvePluginContext()).get(P);
|
|
782
782
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, r as t } from "./plugin-context.utilities-
|
|
2
|
-
//#region
|
|
1
|
+
import { n as e, r as t } from "./plugin-context.utilities-CN70VImb.js";
|
|
2
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.utilities.ts
|
|
3
3
|
async function resolveExecutorScope(n) {
|
|
4
4
|
let r = await e(), i = r.readStringList(n.options.projects), a = r.readStringList(n.options.tags);
|
|
5
5
|
if (i.length === 0 && a.length === 0) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../../plugin-context.utilities-
|
|
2
|
-
import { t as e } from "../../../address.utilities-
|
|
3
|
-
//#region
|
|
1
|
+
import "../../../plugin-context.utilities-CN70VImb.js";
|
|
2
|
+
import { t as e } from "../../../address.utilities-C6wT8n3w.js";
|
|
3
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/executors/breadth/executor.ts
|
|
4
4
|
async function breadthExecutor(t, n) {
|
|
5
5
|
return await e({
|
|
6
6
|
context: n,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../../plugin-context.utilities-
|
|
2
|
-
import { t as e } from "../../../address.utilities-
|
|
3
|
-
//#region
|
|
1
|
+
import "../../../plugin-context.utilities-CN70VImb.js";
|
|
2
|
+
import { t as e } from "../../../address.utilities-C6wT8n3w.js";
|
|
3
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/executors/depth/executor.ts
|
|
4
4
|
async function depthExecutor(t, n) {
|
|
5
5
|
return await e({
|
|
6
6
|
context: n,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as e, r as t } from "../../../plugin-context.utilities-
|
|
2
|
-
import { t as n } from "../../../plugin.utilities-
|
|
3
|
-
//#region
|
|
1
|
+
import { c as e, r as t } from "../../../plugin-context.utilities-CN70VImb.js";
|
|
2
|
+
import { t as n } from "../../../plugin.utilities-uGmd3-4r.js";
|
|
3
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/executors/gate/executor.ts
|
|
4
4
|
async function gateExecutor(r, i) {
|
|
5
5
|
let a = await n({
|
|
6
6
|
context: i,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e, r as t } from "../../../plugin-context.utilities-
|
|
2
|
-
import { t as n } from "../../../plugin.utilities-
|
|
3
|
-
//#region
|
|
1
|
+
import { n as e, r as t } from "../../../plugin-context.utilities-CN70VImb.js";
|
|
2
|
+
import { t as n } from "../../../plugin.utilities-uGmd3-4r.js";
|
|
3
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/executors/trace/executor.ts
|
|
4
4
|
async function traceExecutor(r, i) {
|
|
5
5
|
let a = await n({
|
|
6
6
|
context: i,
|
package/dist/src/index.d.ts
CHANGED
|
@@ -294,7 +294,7 @@ export declare class PluginService {
|
|
|
294
294
|
* that decides an exit code. Its own code is never traced — discovery drops
|
|
295
295
|
* it before its `tsconfig.json` is opened — so a gate there would own no
|
|
296
296
|
* finding at all and report green for a project it never read.
|
|
297
|
-
* `
|
|
297
|
+
* `projects/ic-suite/callidescope/callidescope-examples` is the case: its fixtures exist to breach
|
|
298
298
|
* the limits, which is why `.callidescopeignore` names it.
|
|
299
299
|
*
|
|
300
300
|
* That sentence is what `runTrace`'s exemption from the unread rule keeps
|
package/dist/src/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as e, a as t, b as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _, y as v } from "../plugin-context.utilities-
|
|
1
|
+
import { _ as e, a as t, b as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _, y as v } from "../plugin-context.utilities-CN70VImb.js";
|
|
2
2
|
import y from "node:path";
|
|
3
|
-
//#region
|
|
3
|
+
//#region projects/ic-suite/callidescope/callidescope-nx/src/index.ts
|
|
4
4
|
var b = {
|
|
5
5
|
createNodes: [c, async (e, t, n) => {
|
|
6
6
|
let r = await (await p()).inferTargets({
|
package/executors.json
CHANGED
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
"executors": {
|
|
4
4
|
"breadth": {
|
|
5
5
|
"description": "Print one callable's direct callers and callees, resolved against a project and its Nx dependencies.",
|
|
6
|
-
"implementation": "
|
|
6
|
+
"implementation": "@callidescope/nx/src/executors/breadth/executor",
|
|
7
7
|
"schema": "./src/executors/breadth/schema.json"
|
|
8
8
|
},
|
|
9
9
|
"depth": {
|
|
10
10
|
"description": "Print every call stack above and below one callable, resolved against a project and its Nx dependencies.",
|
|
11
|
-
"implementation": "
|
|
11
|
+
"implementation": "@callidescope/nx/src/executors/depth/executor",
|
|
12
12
|
"schema": "./src/executors/depth/schema.json"
|
|
13
13
|
},
|
|
14
14
|
"gate": {
|
|
15
15
|
"description": "Fail a project whose call stacks broke the depth or breadth limits it is held to, resolved against the project and its Nx dependencies.",
|
|
16
|
-
"implementation": "
|
|
16
|
+
"implementation": "@callidescope/nx/src/executors/gate/executor",
|
|
17
17
|
"schema": "./src/executors/gate/schema.json"
|
|
18
18
|
},
|
|
19
19
|
"trace": {
|
|
20
20
|
"description": "Trace a project's call stacks with callidescope, following its Nx dependencies.",
|
|
21
|
-
"implementation": "
|
|
21
|
+
"implementation": "@callidescope/nx/src/executors/trace/executor",
|
|
22
22
|
"schema": "./src/executors/trace/schema.json"
|
|
23
23
|
}
|
|
24
24
|
}
|
package/package.json
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
"url": "https://github.com/organizzolini/codebase/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@callidescope/cli": "0.0.
|
|
8
|
-
"@callidescope/configuration": "0.0.
|
|
9
|
-
"@callidescope/core": "0.0.
|
|
10
|
-
"@callidescope/graph": "0.0.
|
|
11
|
-
"@callidescope/output": "0.0.
|
|
7
|
+
"@callidescope/cli": "0.0.19",
|
|
8
|
+
"@callidescope/configuration": "0.0.19",
|
|
9
|
+
"@callidescope/core": "0.0.18",
|
|
10
|
+
"@callidescope/graph": "0.0.18",
|
|
11
|
+
"@callidescope/output": "0.0.18",
|
|
12
12
|
"@nestjs/common": "^11.1.21 || ^12.0.1",
|
|
13
13
|
"@nestjs/core": "^11.1.21 || ^12.0.1",
|
|
14
14
|
"@nx/devkit": "^23.0.0",
|
|
@@ -43,9 +43,10 @@
|
|
|
43
43
|
"dist",
|
|
44
44
|
"executors.json",
|
|
45
45
|
"LICENSE",
|
|
46
|
-
"README.md"
|
|
46
|
+
"README.md",
|
|
47
|
+
"src/executors/*/schema.json"
|
|
47
48
|
],
|
|
48
|
-
"homepage": "https://github.com/organizzolini/codebase/tree/main/
|
|
49
|
+
"homepage": "https://github.com/organizzolini/codebase/tree/main/projects/ic-suite/callidescope/callidescope-nx#readme",
|
|
49
50
|
"keywords": [
|
|
50
51
|
"call-graph",
|
|
51
52
|
"callidescope",
|
|
@@ -60,12 +61,15 @@
|
|
|
60
61
|
"nx": {
|
|
61
62
|
"executors": "./executors.json"
|
|
62
63
|
},
|
|
64
|
+
"peerDependencies": {
|
|
65
|
+
"typescript": "^6.0.3"
|
|
66
|
+
},
|
|
63
67
|
"publishConfig": {
|
|
64
68
|
"access": "public",
|
|
65
69
|
"registry": "https://registry.npmjs.org"
|
|
66
70
|
},
|
|
67
71
|
"repository": {
|
|
68
|
-
"directory": "
|
|
72
|
+
"directory": "projects/ic-suite/callidescope/callidescope-nx",
|
|
69
73
|
"type": "git",
|
|
70
74
|
"url": "git+https://github.com/organizzolini/codebase.git"
|
|
71
75
|
},
|
|
@@ -75,5 +79,5 @@
|
|
|
75
79
|
"strict": true
|
|
76
80
|
},
|
|
77
81
|
"types": "./dist/src/index.d.ts",
|
|
78
|
-
"version": "0.0.
|
|
82
|
+
"version": "0.0.19"
|
|
79
83
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"description": "Print one callable's direct callers and callees, resolved against a project and its Nx dependencies.",
|
|
4
|
+
"properties": {
|
|
5
|
+
"addresses": {
|
|
6
|
+
"description": "The callables to look up, each as <file>#<qualified-name>. Every one must resolve, or the run prints nothing.",
|
|
7
|
+
"items": { "type": "string" },
|
|
8
|
+
"type": "array"
|
|
9
|
+
},
|
|
10
|
+
"configurationPath": {
|
|
11
|
+
"description": "Path to the callidescope configuration file, relative to the workspace root.",
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"format": {
|
|
15
|
+
"description": "What to print: markdown, mermaid, or json.",
|
|
16
|
+
"enum": ["json", "markdown", "mermaid"],
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"projects": {
|
|
20
|
+
"description": "Nx project names to resolve the address against, replacing the project this target belongs to.",
|
|
21
|
+
"items": { "type": "string" },
|
|
22
|
+
"type": "array"
|
|
23
|
+
},
|
|
24
|
+
"tags": {
|
|
25
|
+
"description": "Nx project tags to resolve the address against, selecting every project carrying ANY of them.",
|
|
26
|
+
"items": { "type": "string" },
|
|
27
|
+
"type": "array"
|
|
28
|
+
},
|
|
29
|
+
"withDependencies": {
|
|
30
|
+
"default": true,
|
|
31
|
+
"description": "Widen the selection along the Nx dependency graph, so a call stack is not truncated at a project boundary.",
|
|
32
|
+
"type": "boolean"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"required": ["addresses"],
|
|
36
|
+
"title": "Callidescope breadth",
|
|
37
|
+
"type": "object"
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"description": "Print every call stack above and below one or more callables, resolved against a project and its Nx dependencies.",
|
|
4
|
+
"properties": {
|
|
5
|
+
"addresses": {
|
|
6
|
+
"description": "The callables to look up, each as <file>#<qualified-name>. Every one must resolve, or the run prints nothing.",
|
|
7
|
+
"items": { "type": "string" },
|
|
8
|
+
"type": "array"
|
|
9
|
+
},
|
|
10
|
+
"configurationPath": {
|
|
11
|
+
"description": "Path to the callidescope configuration file, relative to the workspace root.",
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"format": {
|
|
15
|
+
"description": "What to print: markdown, mermaid, or json.",
|
|
16
|
+
"enum": ["json", "markdown", "mermaid"],
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"projects": {
|
|
20
|
+
"description": "Nx project names to resolve the address against, replacing the project this target belongs to.",
|
|
21
|
+
"items": { "type": "string" },
|
|
22
|
+
"type": "array"
|
|
23
|
+
},
|
|
24
|
+
"tags": {
|
|
25
|
+
"description": "Nx project tags to resolve the address against, selecting every project carrying ANY of them.",
|
|
26
|
+
"items": { "type": "string" },
|
|
27
|
+
"type": "array"
|
|
28
|
+
},
|
|
29
|
+
"withDependencies": {
|
|
30
|
+
"default": true,
|
|
31
|
+
"description": "Widen the selection along the Nx dependency graph, so a call stack is not truncated at a project boundary.",
|
|
32
|
+
"type": "boolean"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"required": ["addresses"],
|
|
36
|
+
"title": "Callidescope depth",
|
|
37
|
+
"type": "object"
|
|
38
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"description": "Fail a project whose call stacks broke the depth or breadth limits it is held to, resolved against the project and its Nx dependencies.",
|
|
4
|
+
"properties": {
|
|
5
|
+
"configurationPath": {
|
|
6
|
+
"description": "Path to the callidescope configuration file, relative to the workspace root.",
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"projects": {
|
|
10
|
+
"description": "Nx project names to gate, replacing the project this target belongs to.",
|
|
11
|
+
"items": { "type": "string" },
|
|
12
|
+
"type": "array"
|
|
13
|
+
},
|
|
14
|
+
"tags": {
|
|
15
|
+
"description": "Nx project tags to gate, selecting every project carrying ANY of them.",
|
|
16
|
+
"items": { "type": "string" },
|
|
17
|
+
"type": "array"
|
|
18
|
+
},
|
|
19
|
+
"withDependencies": {
|
|
20
|
+
"default": true,
|
|
21
|
+
"description": "Widen the selection along the Nx dependency graph, so a call stack is not truncated at a project boundary.",
|
|
22
|
+
"type": "boolean"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": [],
|
|
26
|
+
"title": "Callidescope gate",
|
|
27
|
+
"type": "object"
|
|
28
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"description": "Trace a project's call stacks with callidescope, following its Nx dependencies.",
|
|
4
|
+
"properties": {
|
|
5
|
+
"configurationPath": {
|
|
6
|
+
"description": "Path to the callidescope configuration file, relative to the workspace root.",
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"format": {
|
|
10
|
+
"description": "What to print: markdown, mermaid, or json.",
|
|
11
|
+
"enum": ["json", "markdown", "mermaid"],
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"projects": {
|
|
15
|
+
"description": "Nx project names to trace, replacing the project this target belongs to.",
|
|
16
|
+
"items": { "type": "string" },
|
|
17
|
+
"type": "array"
|
|
18
|
+
},
|
|
19
|
+
"tags": {
|
|
20
|
+
"description": "Nx project tags to trace, selecting every project carrying ANY of them.",
|
|
21
|
+
"items": { "type": "string" },
|
|
22
|
+
"type": "array"
|
|
23
|
+
},
|
|
24
|
+
"withDependencies": {
|
|
25
|
+
"default": true,
|
|
26
|
+
"description": "Widen the selection along the Nx dependency graph, so a call stack is not truncated at a project boundary.",
|
|
27
|
+
"type": "boolean"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"required": [],
|
|
31
|
+
"title": "Callidescope trace",
|
|
32
|
+
"type": "object"
|
|
33
|
+
}
|