@callidescope/nx 0.0.1 → 0.0.5
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 +13 -0
- package/README.md +21 -19
- package/dist/{address.utilities-DJG3-xMW.js → address.utilities-B5EjO2f1.js} +2 -2
- package/dist/{plugin-context.utilities-bBTXF3Wk.js → plugin-context.utilities-DqVPRaSc.js} +3 -3
- package/dist/{plugin.utilities-CX_Q5t8_.js → plugin.utilities-wC61NCb6.js} +1 -1
- package/dist/src/executors/breadth/executor.js +1 -1
- package/dist/src/executors/depth/executor.js +1 -1
- package/dist/src/executors/gate/executor.js +2 -2
- package/dist/src/executors/trace/executor.js +2 -2
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/package.json +11 -10
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
## 0.0.5 (2026-10-06)
|
|
2
|
+
|
|
3
|
+
### 💅 Refactors
|
|
4
|
+
|
|
5
|
+
- **ic-suite:** ♻️ rename @codebase/logger to @codebase/logging ([#1208](https://github.com/organizzolini/codebase/pull/1208))
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated callidescope-configuration to 0.0.5
|
|
10
|
+
- Updated callidescope-output to 0.0.5
|
|
11
|
+
- Updated callidescope-graph to 0.0.5
|
|
12
|
+
- Updated callidescope-core to 0.0.5
|
|
13
|
+
- Updated callidescope-cli to 0.0.5
|
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# 🔭🧬 Callidescope Nx
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@callidescope/nx)
|
|
4
|
+
|
|
3
5
|
**An Nx plugin that traces call stacks per project, following the Nx dependency graph.**
|
|
4
6
|
|
|
5
7
|
Canonical documentation for call-stack tracing, configuration, depth and breadth analysis, and report formats is in the
|
|
@@ -215,8 +217,8 @@ projects the run calls its own — not how far a stack runs.
|
|
|
215
217
|
### Executor options
|
|
216
218
|
|
|
217
219
|
```bash
|
|
218
|
-
nx run
|
|
219
|
-
nx run
|
|
220
|
+
nx run logging:trace --tags=type:package
|
|
221
|
+
nx run logging:depth --addresses="a.ts#A.b" --projects=callidescope-cli
|
|
220
222
|
```
|
|
221
223
|
|
|
222
224
|
All three executors take the same scoping options.
|
|
@@ -313,13 +315,13 @@ graph LR
|
|
|
313
315
|
callidescope_graph["callidescope-graph"]
|
|
314
316
|
callidescope_nx["callidescope-nx"]
|
|
315
317
|
callidescope_output["callidescope-output"]
|
|
316
|
-
|
|
318
|
+
logging["logging"]
|
|
317
319
|
callidescope_nx --> callidescope_cli
|
|
318
320
|
callidescope_nx --> callidescope_configuration
|
|
319
321
|
callidescope_nx --> callidescope_core
|
|
320
322
|
callidescope_nx --> callidescope_graph
|
|
321
323
|
callidescope_nx --> callidescope_output
|
|
322
|
-
callidescope_nx -->
|
|
324
|
+
callidescope_nx --> logging
|
|
323
325
|
classDef subject fill:#7c3aed,color:#fff,stroke:#4c1d95,stroke-width:2px
|
|
324
326
|
class callidescope_nx subject
|
|
325
327
|
```
|
|
@@ -577,14 +579,14 @@ graph LR
|
|
|
577
579
|
|
|
578
580
|
### Project
|
|
579
581
|
|
|
580
|
-

|
|
583
|
+

|
|
582
584
|

|
|
583
585
|

|
|
584
586
|
|
|
585
587
|
### Measured Targets
|
|
586
588
|
|
|
587
|
-

|
|
588
590
|
|
|
589
591
|
### TypeScript
|
|
590
592
|
|
|
@@ -631,16 +633,16 @@ graph LR
|
|
|
631
633
|
### JSON
|
|
632
634
|
|
|
633
635
|

|
|
634
|
-

|
|
635
637
|

|
|
636
638
|

|
|
637
639
|

|
|
638
|
-

|
|
639
641
|

|
|
640
642
|

|
|
641
643
|

|
|
642
|
-

|
|
645
|
+

|
|
644
646
|

|
|
645
647
|
|
|
646
648
|
### YAML
|
|
@@ -765,21 +767,21 @@ graph LR
|
|
|
765
767
|
|
|
766
768
|
### Markdown
|
|
767
769
|
|
|
768
|
-

|
|
771
|
+

|
|
770
772
|

|
|
771
|
-

|
|
774
|
+

|
|
773
775
|

|
|
774
776
|

|
|
775
777
|

|
|
776
|
-

|
|
779
|
+

|
|
780
|
+

|
|
779
781
|

|
|
780
782
|

|
|
781
783
|

|
|
782
|
-

|
|
783
785
|

|
|
784
786
|

|
|
785
787
|

|
|
@@ -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-DqVPRaSc.js";
|
|
2
|
+
import { t as n } from "./plugin.utilities-wC61NCb6.js";
|
|
3
3
|
//#region packages/ic-suite/callidescope/callidescope-nx/src/modules/address/address.utilities.ts
|
|
4
4
|
async function r(r) {
|
|
5
5
|
let i = (r.options.addresses ?? []).filter((e) => e !== "");
|
|
@@ -9,7 +9,7 @@ import { AddressDepthService as p, BreadthService as m, FileFilterService as h,
|
|
|
9
9
|
import { AddressReportModule as _, AddressReportService as v, MarkdownReportService as y, ProjectReportsModule as b, ProjectReportsService as x, ReportModule as re } from "@callidescope/output";
|
|
10
10
|
import { CALLIDESCOPE_OUTPUT_FORMATS as ie, ConfigurationModule as S, ConfigurationService as C, DEFAULT_OUTPUT_FORMAT as w, DEFAULT_PREVIEW_COUNT as T, DEFAULT_RUN_HEADING as ae } from "@callidescope/configuration";
|
|
11
11
|
import { createProjectGraphAsync as oe } from "@nx/devkit";
|
|
12
|
-
//#region packages/
|
|
12
|
+
//#region packages/logging/src/modules/logger/logger.constants.ts
|
|
13
13
|
var se = /^(\p{Extended_Pictographic}️?(?:\p{Extended_Pictographic}️?)*)\s+/u, E = /^([A-Za-z]+)/, D = /* @__PURE__ */ new Set([
|
|
14
14
|
"built",
|
|
15
15
|
"cut",
|
|
@@ -53,7 +53,7 @@ function A(e, t, n, r) {
|
|
|
53
53
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
54
54
|
}
|
|
55
55
|
//#endregion
|
|
56
|
-
//#region packages/
|
|
56
|
+
//#region packages/logging/src/modules/logger/logger.service.ts
|
|
57
57
|
var j, M = class extends t {
|
|
58
58
|
static {
|
|
59
59
|
j = this;
|
|
@@ -192,7 +192,7 @@ var j, M = class extends t {
|
|
|
192
192
|
};
|
|
193
193
|
M = j = A([r({ scope: a.TRANSIENT }), k("design:paramtypes", [])], M);
|
|
194
194
|
//#endregion
|
|
195
|
-
//#region packages/
|
|
195
|
+
//#region packages/logging/src/modules/logger/logger.module.ts
|
|
196
196
|
var N = class {};
|
|
197
197
|
N = A([n(), i({
|
|
198
198
|
controllers: [],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, r as t } from "./plugin-context.utilities-
|
|
1
|
+
import { n as e, r as t } from "./plugin-context.utilities-DqVPRaSc.js";
|
|
2
2
|
//#region packages/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.utilities.ts
|
|
3
3
|
async function n(n) {
|
|
4
4
|
let r = await e(), i = r.readStringList(n.options.projects), a = r.readStringList(n.options.tags);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as e, r as t } from "../../../plugin-context.utilities-
|
|
2
|
-
import { t as n } from "../../../plugin.utilities-
|
|
1
|
+
import { c as e, r as t } from "../../../plugin-context.utilities-DqVPRaSc.js";
|
|
2
|
+
import { t as n } from "../../../plugin.utilities-wC61NCb6.js";
|
|
3
3
|
//#region packages/ic-suite/callidescope/callidescope-nx/src/executors/gate/executor.ts
|
|
4
4
|
async function r(r, i) {
|
|
5
5
|
let a = await n({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, r as t } from "../../../plugin-context.utilities-
|
|
2
|
-
import { t as n } from "../../../plugin.utilities-
|
|
1
|
+
import { n as e, r as t } from "../../../plugin-context.utilities-DqVPRaSc.js";
|
|
2
|
+
import { t as n } from "../../../plugin.utilities-wC61NCb6.js";
|
|
3
3
|
//#region packages/ic-suite/callidescope/callidescope-nx/src/executors/trace/executor.ts
|
|
4
4
|
async function r(r, i) {
|
|
5
5
|
let a = await n({
|
package/dist/src/index.d.ts
CHANGED
|
@@ -181,7 +181,7 @@ export declare class MainModule {
|
|
|
181
181
|
* `codependix-nx-projects` declares a near-identical shape and reads it out of the
|
|
182
182
|
* graph the same way. They are deliberately not shared: the two packages sit
|
|
183
183
|
* in different toolchains, and `configuration/eslint.config.ts` lets this one
|
|
184
|
-
* depend on nothing but `
|
|
184
|
+
* depend on nothing but `logging` precisely so `@nx/devkit` cannot spread. A
|
|
185
185
|
* package extracted to hold both would have to be depended on by both, which
|
|
186
186
|
* is the coupling that rule exists to prevent.
|
|
187
187
|
*/
|
package/dist/src/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-DqVPRaSc.js";
|
|
2
2
|
import y from "node:path";
|
|
3
3
|
//#region packages/ic-suite/callidescope/callidescope-nx/src/index.ts
|
|
4
4
|
var b = {
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "Jimmy Paolini",
|
|
3
3
|
"bugs": {
|
|
4
|
-
"url": "https://github.com/
|
|
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.5",
|
|
8
|
+
"@callidescope/configuration": "0.0.5",
|
|
9
|
+
"@callidescope/core": "0.0.5",
|
|
10
|
+
"@callidescope/graph": "0.0.5",
|
|
11
|
+
"@callidescope/output": "0.0.5",
|
|
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",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"description": "Nx plugin providing project-scoped call-stack tracing and depth gating along Nx dependency graphs",
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@codebase/
|
|
21
|
+
"@codebase/logging": "0.0.1",
|
|
22
22
|
"@golevelup/ts-vitest": "^4.0.0",
|
|
23
23
|
"@nestjs/testing": "^12.0.1",
|
|
24
24
|
"@nx/eslint-plugin": "^23.0.0",
|
|
@@ -39,12 +39,13 @@
|
|
|
39
39
|
"./src/executors/*": "./dist/src/executors/*.js"
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
|
+
"CHANGELOG.md",
|
|
42
43
|
"dist",
|
|
43
44
|
"executors.json",
|
|
44
45
|
"LICENSE",
|
|
45
46
|
"README.md"
|
|
46
47
|
],
|
|
47
|
-
"homepage": "https://github.com/
|
|
48
|
+
"homepage": "https://github.com/organizzolini/codebase/tree/main/packages/ic-suite/callidescope/callidescope-nx#readme",
|
|
48
49
|
"keywords": [
|
|
49
50
|
"call-graph",
|
|
50
51
|
"callidescope",
|
|
@@ -66,7 +67,7 @@
|
|
|
66
67
|
"repository": {
|
|
67
68
|
"directory": "packages/ic-suite/callidescope/callidescope-nx",
|
|
68
69
|
"type": "git",
|
|
69
|
-
"url": "git+https://github.com/
|
|
70
|
+
"url": "git+https://github.com/organizzolini/codebase.git"
|
|
70
71
|
},
|
|
71
72
|
"type": "module",
|
|
72
73
|
"typeCoverage": {
|
|
@@ -74,5 +75,5 @@
|
|
|
74
75
|
"strict": true
|
|
75
76
|
},
|
|
76
77
|
"types": "./dist/src/index.d.ts",
|
|
77
|
-
"version": "0.0.
|
|
78
|
+
"version": "0.0.5"
|
|
78
79
|
}
|