@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 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
- The target names are short because they read better on the command line than
51
- repeating the tool's name on both sides of the colon. Rename any of them from
52
- the registration if a workspace already uses one.
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
- ![Lines of Code](https://img.shields.io/badge/Lines_of_Code-6004-22c55e?style=flat-square)
581
- ![Repository Size](https://img.shields.io/badge/Repository_Size-232.03_kB-6b7280?style=flat-square)
580
+ ![Lines of Code](https://img.shields.io/badge/Lines_of_Code-6009-22c55e?style=flat-square)
581
+ ![Repository Size](https://img.shields.io/badge/Repository_Size-232.94_kB-6b7280?style=flat-square)
582
582
  ![Folders](https://img.shields.io/badge/Folders-13-4a4a4a?style=flat-square)
583
583
  ![Source Files](https://img.shields.io/badge/Source_Files-54-3178c6?style=flat-square)
584
584
 
@@ -610,7 +610,7 @@ graph LR
610
610
  ![Imports](https://img.shields.io/badge/Imports-225-0284c7?style=flat-square)
611
611
  ![Exported Symbols](https://img.shields.io/badge/Exported_Symbols-61-ea580c?style=flat-square)
612
612
  ![Comments](https://img.shields.io/badge/Comments-287-64748b?style=flat-square)
613
- ![Comment Lines](https://img.shields.io/badge/Comment_Lines-754-475569?style=flat-square)
613
+ ![Comment Lines](https://img.shields.io/badge/Comment_Lines-755-475569?style=flat-square)
614
614
  ![TODO Comments](https://img.shields.io/badge/TODO_Comments-0-ca8a04?style=flat-square)
615
615
 
616
616
  ### Python
@@ -766,20 +766,20 @@ graph LR
766
766
  ### Markdown
767
767
 
768
768
  ![Markdown Files](https://img.shields.io/badge/Markdown_Files-2-083fa1?style=flat-square)
769
- ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-605-1f6feb?style=flat-square)
769
+ ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-629-1f6feb?style=flat-square)
770
770
  ![H1](https://img.shields.io/badge/H1-1-7c3aed?style=flat-square)
771
- ![H2](https://img.shields.io/badge/H2-40-8b5cf6?style=flat-square)
772
- ![H3](https://img.shields.io/badge/H3-51-a78bfa?style=flat-square)
771
+ ![H2](https://img.shields.io/badge/H2-42-8b5cf6?style=flat-square)
772
+ ![H3](https://img.shields.io/badge/H3-54-a78bfa?style=flat-square)
773
773
  ![H4](https://img.shields.io/badge/H4-0-c4b5fd?style=flat-square)
774
774
  ![H5](https://img.shields.io/badge/H5-0-ddd6fe?style=flat-square)
775
775
  ![H6](https://img.shields.io/badge/H6-0-ede9fe?style=flat-square)
776
- ![Paragraphs](https://img.shields.io/badge/Paragraphs-215-64748b?style=flat-square)
777
- ![Lists](https://img.shields.io/badge/Lists-45-16a34a?style=flat-square)
778
- ![List Items](https://img.shields.io/badge/List_Items-192-22c55e?style=flat-square)
776
+ ![Paragraphs](https://img.shields.io/badge/Paragraphs-226-64748b?style=flat-square)
777
+ ![Lists](https://img.shields.io/badge/Lists-48-16a34a?style=flat-square)
778
+ ![List Items](https://img.shields.io/badge/List_Items-203-22c55e?style=flat-square)
779
779
  ![Task List Items](https://img.shields.io/badge/Task_List_Items-0-4ade80?style=flat-square)
780
780
  ![Tables](https://img.shields.io/badge/Tables-2-0284c7?style=flat-square)
781
781
  ![Table Rows](https://img.shields.io/badge/Table_Rows-10-0ea5e9?style=flat-square)
782
- ![Links](https://img.shields.io/badge/Links-17-059669?style=flat-square)
782
+ ![Links](https://img.shields.io/badge/Links-18-059669?style=flat-square)
783
783
  ![Images](https://img.shields.io/badge/Images-0-10b981?style=flat-square)
784
784
  ![Code Blocks](https://img.shields.io/badge/Code_Blocks-11-dc2626?style=flat-square)
785
785
  ![Inline Code](https://img.shields.io/badge/Inline_Code-100-ef4444?style=flat-square)
@@ -1,5 +1,5 @@
1
- import { n as e, t } from "./plugin-context.utilities-B2BXtiTJ.js";
2
- import { t as n } from "./plugin.utilities-Evc-Oepn.js";
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-B2BXtiTJ.js";
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-B2BXtiTJ.js";
2
- import { t as e } from "../../../address.utilities-OT9XmTAl.js";
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-B2BXtiTJ.js";
2
- import { t as e } from "../../../address.utilities-OT9XmTAl.js";
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-B2BXtiTJ.js";
2
- import { t as r } from "../../../plugin.utilities-Evc-Oepn.js";
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 category, and
9
- * `nx affected -t trace` covers only what changed — none of which the
10
- * workspace-wide command can do, and none of which needs a flag of its own:
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-B2BXtiTJ.js";
2
- import { t as n } from "../../../plugin.utilities-Evc-Oepn.js";
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({
@@ -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
- * Short and unprefixed, so a run reads `nx run callidescope-nx:trace` rather
101
- * than repeating the tool's name on both sides of the colon. Every one of them
102
- * is overridable from the `nx.json` registration, which is the escape hatch
103
- * for a workspace where a name this general would collide.
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-B2BXtiTJ.js";
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.37",
8
- "@callidescope/configuration": "0.0.37",
9
- "@callidescope/core": "0.0.36",
10
- "@callidescope/graph": "0.0.36",
11
- "@callidescope/output": "0.0.36",
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.37"
82
+ "version": "0.0.39"
83
83
  }