@callidescope/nx 0.0.37 → 0.0.39
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 +24 -0
- package/README.md +28 -28
- package/dist/{address.utilities-OT9XmTAl.js → address.utilities-AOjo2jbN.js} +2 -2
- package/dist/{plugin-context.utilities-B2BXtiTJ.js → plugin-context.utilities-Cm-M6Cp7.js} +5 -5
- package/dist/{plugin.utilities-Evc-Oepn.js → plugin.utilities-DRh7L8rc.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/executor.js +2 -2
- package/dist/src/executors/trace/executor.d.ts +5 -5
- package/dist/src/executors/trace/executor.js +2 -2
- package/dist/src/index.d.ts +9 -8
- package/dist/src/index.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## 0.0.39 (2026-10-18)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated callidescope-configuration to 0.0.39
|
|
6
|
+
- Updated callidescope-output to 0.0.38
|
|
7
|
+
- Updated callidescope-graph to 0.0.38
|
|
8
|
+
- Updated callidescope-core to 0.0.38
|
|
9
|
+
- Updated callidescope-cli to 0.0.39
|
|
10
|
+
|
|
11
|
+
## 0.0.38 (2026-10-18)
|
|
12
|
+
|
|
13
|
+
### 🚀 Features
|
|
14
|
+
|
|
15
|
+
- **callidescope:** ✨ prefix inferred nx target defaults ([#1706](https://github.com/organizzolini/codebase/pull/1706))
|
|
16
|
+
|
|
17
|
+
### 🧱 Updated Dependencies
|
|
18
|
+
|
|
19
|
+
- Updated callidescope-configuration to 0.0.38
|
|
20
|
+
- Updated callidescope-output to 0.0.37
|
|
21
|
+
- Updated callidescope-graph to 0.0.37
|
|
22
|
+
- Updated callidescope-core to 0.0.37
|
|
23
|
+
- Updated callidescope-cli to 0.0.38
|
|
24
|
+
|
|
1
25
|
## 0.0.37 (2026-10-18)
|
|
2
26
|
|
|
3
27
|
### 🧱 Updated Dependencies
|
package/README.md
CHANGED
|
@@ -42,14 +42,14 @@ Register it in `nx.json`:
|
|
|
42
42
|
| Option | Meaning |
|
|
43
43
|
| ------ | ------- |
|
|
44
44
|
| `configurationPath` | Required. Where the workspace callidescope configuration lives. Nothing is searched for: a registration that omits it is refused, naming this option. The refusal is decided by `@callidescope/configuration`, which every surface shares |
|
|
45
|
-
| `traceTargetName` | Name of the inferred trace target. `trace` when omitted |
|
|
46
|
-
| `depthTargetName` | Name of the inferred depth target. `depth` when omitted |
|
|
47
|
-
| `breadthTargetName` | Name of the inferred breadth target. `breadth` when omitted |
|
|
48
|
-
| `gateTargetName` | Name of the inferred gate target. `gate` when omitted |
|
|
45
|
+
| `traceTargetName` | Name of the inferred trace target. `callidescope-trace` when omitted |
|
|
46
|
+
| `depthTargetName` | Name of the inferred depth target. `callidescope-depth` when omitted |
|
|
47
|
+
| `breadthTargetName` | Name of the inferred breadth target. `callidescope-breadth` when omitted |
|
|
48
|
+
| `gateTargetName` | Name of the inferred gate target. `callidescope-gate` when omitted |
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
All inferred targets default to `callidescope-*` names to avoid generic task
|
|
51
|
+
labels in Nx lists. Rename any of them from the registration if a workspace
|
|
52
|
+
already uses one.
|
|
53
53
|
|
|
54
54
|
## Usage
|
|
55
55
|
|
|
@@ -57,26 +57,26 @@ Four targets are inferred onto every project holding a `tsconfig.json`, so
|
|
|
57
57
|
selection is Nx's job rather than a flag of this package's own:
|
|
58
58
|
|
|
59
59
|
```bash
|
|
60
|
-
nx run callidescope-nx:trace # one project, with its dependencies
|
|
61
|
-
nx run-many -t trace # the workspace
|
|
62
|
-
nx run-many -t trace --projects=tag:type:package # a category
|
|
63
|
-
nx affected -t trace # only what changed
|
|
60
|
+
nx run callidescope-nx:callidescope-trace # one project, with its dependencies
|
|
61
|
+
nx run-many -t callidescope-trace # the workspace
|
|
62
|
+
nx run-many -t callidescope-trace --projects=tag:type:package # a category
|
|
63
|
+
nx affected -t callidescope-trace # only what changed
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
|
-
nx run callidescope-nx:depth --addresses="projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts#ProjectsService.resolveDependencyClosure"
|
|
68
|
-
nx run callidescope-nx:breadth --addresses="src/foo.service.ts#FooService.bar"
|
|
67
|
+
nx run callidescope-nx:callidescope-depth --addresses="projects/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts#ProjectsService.resolveDependencyClosure"
|
|
68
|
+
nx run callidescope-nx:callidescope-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
|
|
71
|
-
nx run callidescope-nx:depth --addresses="src/a.service.ts#A.b,src/c.service.ts#C.d"
|
|
71
|
+
nx run callidescope-nx:callidescope-depth --addresses="src/a.service.ts#A.b,src/c.service.ts#C.d"
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
| Target | Answers |
|
|
75
75
|
| ------ | ------- |
|
|
76
|
-
| `gate` | Whether anything in the project broke the limits it is held to |
|
|
77
|
-
| `trace` | Every call stack in the project, and which ones broke a limit |
|
|
78
|
-
| `depth` | Every stack above and below each callable — callers up to a root, callees down to a leaf |
|
|
79
|
-
| `breadth` | Each callable's direct callers and callees, side by side |
|
|
76
|
+
| `callidescope-gate` | Whether anything in the project broke the limits it is held to |
|
|
77
|
+
| `callidescope-trace` | Every call stack in the project, and which ones broke a limit |
|
|
78
|
+
| `callidescope-depth` | Every stack above and below each callable — callers up to a root, callees down to a leaf |
|
|
79
|
+
| `callidescope-breadth` | Each callable's direct callers and callees, side by side |
|
|
80
80
|
|
|
81
81
|
`depth` and `breadth` take the same `<file>#<qualified-name>` addresses the
|
|
82
82
|
`callidescope` command does — the form every printed stack already uses — and
|
|
@@ -577,8 +577,8 @@ graph LR
|
|
|
577
577
|
|
|
578
578
|
### Project
|
|
579
579
|
|
|
580
|
-

|
|
581
|
+

|
|
582
582
|

|
|
583
583
|

|
|
584
584
|
|
|
@@ -610,7 +610,7 @@ graph LR
|
|
|
610
610
|

|
|
611
611
|

|
|
612
612
|

|
|
613
|
-

|
|
614
614
|

|
|
615
615
|
|
|
616
616
|
### Python
|
|
@@ -766,20 +766,20 @@ graph LR
|
|
|
766
766
|
### Markdown
|
|
767
767
|
|
|
768
768
|

|
|
769
|
-

|
|
770
770
|

|
|
771
|
-

|
|
772
|
+

|
|
773
773
|

|
|
774
774
|

|
|
775
775
|

|
|
776
|
-

|
|
777
|
+

|
|
778
|
+

|
|
779
779
|

|
|
780
780
|

|
|
781
781
|

|
|
782
|
-

|
|
783
783
|

|
|
784
784
|

|
|
785
785
|

|
|
@@ -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-Cm-M6Cp7.js";
|
|
2
|
+
import { t as n } from "./plugin.utilities-DRh7L8rc.js";
|
|
3
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 !== "");
|
|
@@ -318,7 +318,7 @@ P = __decorate([i({
|
|
|
318
318
|
})], P);
|
|
319
319
|
//#endregion
|
|
320
320
|
//#region projects/ic-suite/callidescope/callidescope-nx/src/modules/options/options.constants.ts
|
|
321
|
-
var F = "@callidescope/nx", I = "trace", L = "depth", R = "breadth", z = "gate", B = `The "configurationPath" option in the nx.json registration of ${F}`, V = "The \"configuration\" executor option", H = "tsconfig.json", U = class OptionsService {
|
|
321
|
+
var F = "@callidescope/nx", I = "callidescope-trace", L = "callidescope-depth", R = "callidescope-breadth", z = "callidescope-gate", B = `The "configurationPath" option in the nx.json registration of ${F}`, V = "The \"configuration\" executor option", H = "tsconfig.json", U = class OptionsService {
|
|
322
322
|
configurationService;
|
|
323
323
|
constructor(e) {
|
|
324
324
|
this.configurationService = e;
|
|
@@ -354,20 +354,20 @@ var F = "@callidescope/nx", I = "trace", L = "depth", R = "breadth", z = "gate",
|
|
|
354
354
|
breadthTargetName: this.readString({
|
|
355
355
|
key: "breadthTargetName",
|
|
356
356
|
options: t
|
|
357
|
-
}) ?? "breadth",
|
|
357
|
+
}) ?? "callidescope-breadth",
|
|
358
358
|
configurationPath: n,
|
|
359
359
|
depthTargetName: this.readString({
|
|
360
360
|
key: "depthTargetName",
|
|
361
361
|
options: t
|
|
362
|
-
}) ?? "depth",
|
|
362
|
+
}) ?? "callidescope-depth",
|
|
363
363
|
gateTargetName: this.readString({
|
|
364
364
|
key: "gateTargetName",
|
|
365
365
|
options: t
|
|
366
|
-
}) ?? "gate",
|
|
366
|
+
}) ?? "callidescope-gate",
|
|
367
367
|
traceTargetName: this.readString({
|
|
368
368
|
key: "traceTargetName",
|
|
369
369
|
options: t
|
|
370
|
-
}) ?? "trace"
|
|
370
|
+
}) ?? "callidescope-trace"
|
|
371
371
|
};
|
|
372
372
|
}
|
|
373
373
|
};
|
|
@@ -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-Cm-M6Cp7.js";
|
|
2
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);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../plugin-context.utilities-
|
|
2
|
-
import { t as e } from "../../../address.utilities-
|
|
1
|
+
import "../../../plugin-context.utilities-Cm-M6Cp7.js";
|
|
2
|
+
import { t as e } from "../../../address.utilities-AOjo2jbN.js";
|
|
3
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({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../plugin-context.utilities-
|
|
2
|
-
import { t as e } from "../../../address.utilities-
|
|
1
|
+
import "../../../plugin-context.utilities-Cm-M6Cp7.js";
|
|
2
|
+
import { t as e } from "../../../address.utilities-AOjo2jbN.js";
|
|
3
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({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as e, n as t, r as n } from "../../../plugin-context.utilities-
|
|
2
|
-
import { t as r } from "../../../plugin.utilities-
|
|
1
|
+
import { c as e, n as t, r as n } from "../../../plugin-context.utilities-Cm-M6Cp7.js";
|
|
2
|
+
import { t as r } from "../../../plugin.utilities-DRh7L8rc.js";
|
|
3
3
|
//#region projects/ic-suite/callidescope/callidescope-nx/src/executors/gate/executor.ts
|
|
4
4
|
async function gateExecutor(i, a) {
|
|
5
5
|
let o = await r({
|
|
@@ -4,11 +4,11 @@ import { ExecutorContext } from '@nx/devkit';
|
|
|
4
4
|
* Traces one selection of Nx projects with callidescope.
|
|
5
5
|
*
|
|
6
6
|
* Inferred onto every project holding a `tsconfig.json`, so
|
|
7
|
-
* `nx run-many -t trace` covers the workspace,
|
|
8
|
-
* `nx run-many -t trace --projects=tag:type:package` covers a
|
|
9
|
-
* `nx affected -t trace` covers only what changed
|
|
10
|
-
* workspace-wide command can do, and none of which needs
|
|
11
|
-
* selecting projects is what the task runner is for.
|
|
7
|
+
* `nx run-many -t callidescope-trace` covers the workspace,
|
|
8
|
+
* `nx run-many -t callidescope-trace --projects=tag:type:package` covers a
|
|
9
|
+
* category, and `nx affected -t callidescope-trace` covers only what changed
|
|
10
|
+
* — none of which the workspace-wide command can do, and none of which needs
|
|
11
|
+
* a flag of its own: selecting projects is what the task runner is for.
|
|
12
12
|
*
|
|
13
13
|
* With neither `projects` nor `tags` given, the selection is the project this
|
|
14
14
|
* target belongs to.
|
|
@@ -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-Cm-M6Cp7.js";
|
|
2
|
+
import { t as n } from "../../../plugin.utilities-DRh7L8rc.js";
|
|
3
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({
|
package/dist/src/index.d.ts
CHANGED
|
@@ -79,10 +79,10 @@ export declare interface CallidescopePluginOptions {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/** Name of the inferred per-project breadth-lookup target. */
|
|
82
|
-
export declare const DEFAULT_BREADTH_TARGET_NAME = "breadth";
|
|
82
|
+
export declare const DEFAULT_BREADTH_TARGET_NAME = "callidescope-breadth";
|
|
83
83
|
|
|
84
84
|
/** Name of the inferred per-project depth-lookup target. */
|
|
85
|
-
export declare const DEFAULT_DEPTH_TARGET_NAME = "depth";
|
|
85
|
+
export declare const DEFAULT_DEPTH_TARGET_NAME = "callidescope-depth";
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* Name of the inferred per-project gate target.
|
|
@@ -92,17 +92,18 @@ export declare const DEFAULT_DEPTH_TARGET_NAME = "depth";
|
|
|
92
92
|
* the target here a pipeline is meant to read an exit code from, so it says
|
|
93
93
|
* `gate`.
|
|
94
94
|
*/
|
|
95
|
-
export declare const DEFAULT_GATE_TARGET_NAME = "gate";
|
|
95
|
+
export declare const DEFAULT_GATE_TARGET_NAME = "callidescope-gate";
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* Names of the inferred per-project targets, when the registration names none.
|
|
99
99
|
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
100
|
+
* Prefixed defaults keep inferred tasks grouped and recognizable in Nx task
|
|
101
|
+
* lists, and avoid collisions with generic names in workspaces carrying
|
|
102
|
+
* several toolchains.
|
|
103
|
+
*
|
|
104
|
+
* Every one of them is overridable from the `nx.json` registration.
|
|
104
105
|
*/
|
|
105
|
-
export declare const DEFAULT_TRACE_TARGET_NAME = "trace";
|
|
106
|
+
export declare const DEFAULT_TRACE_TARGET_NAME = "callidescope-trace";
|
|
106
107
|
|
|
107
108
|
/** A target this plugin infers onto a project. */
|
|
108
109
|
declare interface InferredTarget {
|
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-Cm-M6Cp7.js";
|
|
2
2
|
import y from "node:path";
|
|
3
3
|
//#region projects/ic-suite/callidescope/callidescope-nx/src/index.ts
|
|
4
4
|
var b = {
|
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.39",
|
|
8
|
+
"@callidescope/configuration": "0.0.39",
|
|
9
|
+
"@callidescope/core": "0.0.38",
|
|
10
|
+
"@callidescope/graph": "0.0.38",
|
|
11
|
+
"@callidescope/output": "0.0.38",
|
|
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",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"strict": true
|
|
80
80
|
},
|
|
81
81
|
"types": "./dist/src/index.d.ts",
|
|
82
|
-
"version": "0.0.
|
|
82
|
+
"version": "0.0.39"
|
|
83
83
|
}
|