@callidescope/nx 0.0.8 → 0.0.10

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,23 @@
1
+ ## 0.0.10 (2026-10-08)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated callidescope-configuration to 0.0.11
6
+ - Updated callidescope-output to 0.0.10
7
+ - Updated callidescope-graph to 0.0.10
8
+ - Updated callidescope-core to 0.0.10
9
+ - Updated callidescope-cli to 0.0.10
10
+
11
+ ## 0.0.9 (2026-10-08)
12
+
13
+ ### 🧱 Updated Dependencies
14
+
15
+ - Updated callidescope-configuration to 0.0.10
16
+ - Updated callidescope-output to 0.0.9
17
+ - Updated callidescope-graph to 0.0.9
18
+ - Updated callidescope-core to 0.0.9
19
+ - Updated callidescope-cli to 0.0.9
20
+
1
21
  ## 0.0.8 (2026-10-08)
2
22
 
3
23
  ### 🧱 Updated Dependencies
package/README.md CHANGED
@@ -580,13 +580,13 @@ graph LR
580
580
  ### Project
581
581
 
582
582
  ![Lines of Code](https://img.shields.io/badge/Lines_of_Code-5824-22c55e?style=flat-square)
583
- ![Repository Size](https://img.shields.io/badge/Repository_Size-216.66_kB-6b7280?style=flat-square)
583
+ ![Repository Size](https://img.shields.io/badge/Repository_Size-217.17_kB-6b7280?style=flat-square)
584
584
  ![Folders](https://img.shields.io/badge/Folders-13-4a4a4a?style=flat-square)
585
585
  ![Source Files](https://img.shields.io/badge/Source_Files-53-3178c6?style=flat-square)
586
586
 
587
587
  ### Measured Targets
588
588
 
589
- ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-9.80_kB_gzip-6b7280?style=flat-square)
589
+ ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-10.03_kB_gzip-6b7280?style=flat-square)
590
590
 
591
591
  ### TypeScript
592
592
 
@@ -768,16 +768,16 @@ graph LR
768
768
  ### Markdown
769
769
 
770
770
  ![Markdown Files](https://img.shields.io/badge/Markdown_Files-2-083fa1?style=flat-square)
771
- ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-299-1f6feb?style=flat-square)
771
+ ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-319-1f6feb?style=flat-square)
772
772
  ![H1](https://img.shields.io/badge/H1-1-7c3aed?style=flat-square)
773
- ![H2](https://img.shields.io/badge/H2-11-8b5cf6?style=flat-square)
774
- ![H3](https://img.shields.io/badge/H3-17-a78bfa?style=flat-square)
773
+ ![H2](https://img.shields.io/badge/H2-13-8b5cf6?style=flat-square)
774
+ ![H3](https://img.shields.io/badge/H3-19-a78bfa?style=flat-square)
775
775
  ![H4](https://img.shields.io/badge/H4-0-c4b5fd?style=flat-square)
776
776
  ![H5](https://img.shields.io/badge/H5-0-ddd6fe?style=flat-square)
777
777
  ![H6](https://img.shields.io/badge/H6-0-ede9fe?style=flat-square)
778
- ![Paragraphs](https://img.shields.io/badge/Paragraphs-69-64748b?style=flat-square)
779
- ![Lists](https://img.shields.io/badge/Lists-11-16a34a?style=flat-square)
780
- ![List Items](https://img.shields.io/badge/List_Items-46-22c55e?style=flat-square)
778
+ ![Paragraphs](https://img.shields.io/badge/Paragraphs-79-64748b?style=flat-square)
779
+ ![Lists](https://img.shields.io/badge/Lists-13-16a34a?style=flat-square)
780
+ ![List Items](https://img.shields.io/badge/List_Items-56-22c55e?style=flat-square)
781
781
  ![Task List Items](https://img.shields.io/badge/Task_List_Items-0-4ade80?style=flat-square)
782
782
  ![Tables](https://img.shields.io/badge/Tables-2-0284c7?style=flat-square)
783
783
  ![Table Rows](https://img.shields.io/badge/Table_Rows-10-0ea5e9?style=flat-square)
@@ -1,7 +1,7 @@
1
- import { n as e, t } from "./plugin-context.utilities-DqVPRaSc.js";
2
- import { t as n } from "./plugin.utilities-wC61NCb6.js";
1
+ import { n as e, t } from "./plugin-context.utilities-CVgKMrus.js";
2
+ import { t as n } from "./plugin.utilities-RbHRMUSm.js";
3
3
  //#region packages/ic-suite/callidescope/callidescope-nx/src/modules/address/address.utilities.ts
4
- async function r(r) {
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".`);
7
7
  let a = await n({
@@ -17,4 +17,4 @@ async function r(r) {
17
17
  return process.stdout.write(`${l.report}\n`), { success: l.ok };
18
18
  }
19
19
  //#endregion
20
- export { r as t };
20
+ export { runAddressExecutor as t };
@@ -1,16 +1,19 @@
1
1
  import "reflect-metadata";
2
2
  import { NestFactory as e } from "@nestjs/core";
3
3
  import { ConsoleLogger as t, Global as n, Injectable as r, Module as i, Scope as a } from "@nestjs/common";
4
- import { existsSync as o, mkdirSync as s, readFileSync as c } from "node:fs";
5
- import l from "node:path";
6
- import u from "pino";
7
- import { AddressLookupModule as ee, AddressLookupService as d, CallidescopeModule as te, CallidescopeService as f } from "@callidescope/cli";
8
- import { AddressDepthService as p, BreadthService as m, FileFilterService as h, GraphModule as g, WorkspaceModule as ne } from "@callidescope/graph";
9
- import { AddressReportModule as _, AddressReportService as v, MarkdownReportService as y, ProjectReportsModule as b, ProjectReportsService as x, ReportModule as re } from "@callidescope/output";
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
- import { createProjectGraphAsync as oe } from "@nx/devkit";
12
- //#region packages/logging/src/modules/logger/logger.constants.ts
13
- var se = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\s+/u, E = /^([A-Za-z]+)/, D = /* @__PURE__ */ new Set([
4
+ import { existsSync as o, mkdirSync as s, readFileSync as ee } from "node:fs";
5
+ import c from "node:path";
6
+ import l from "pino";
7
+ import { AddressLookupModule as te, AddressLookupService as u, CallidescopeModule as ne, CallidescopeService as d } from "@callidescope/cli";
8
+ import { AddressDepthService as f, BreadthService as p, FileFilterService as m, GraphModule as h, WorkspaceModule as g } from "@callidescope/graph";
9
+ import { AddressReportModule as _, AddressReportService as v, MarkdownReportService as y, ProjectReportsModule as re, ProjectReportsService as b, ReportModule as ie } from "@callidescope/output";
10
+ import { CALLIDESCOPE_OUTPUT_FORMATS as ae, ConfigurationModule as x, ConfigurationService as S, DEFAULT_OUTPUT_FORMAT as C, DEFAULT_PREVIEW_COUNT as w, DEFAULT_RUN_HEADING as T } from "@callidescope/configuration";
11
+ import { createProjectGraphAsync as E } from "@nx/devkit";
12
+ //#region \0rolldown/runtime.js
13
+ var D = Object.defineProperty, __name = (e, t) => D(e, "name", {
14
+ value: t,
15
+ configurable: !0
16
+ }), O = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\s+/u, k = /^([A-Za-z]+)/, A = /* @__PURE__ */ new Set([
14
17
  "built",
15
18
  "cut",
16
19
  "found",
@@ -28,7 +31,7 @@ var se = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\
28
31
  "split",
29
32
  "took",
30
33
  "wrote"
31
- ]), O = /* @__PURE__ */ new Set([
34
+ ]), oe = /* @__PURE__ */ new Set([
32
35
  "CommandFactory",
33
36
  "ExceptionHandler",
34
37
  "GraphQLModule",
@@ -41,12 +44,12 @@ var se = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\
41
44
  ]);
42
45
  //#endregion
43
46
  //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorateMetadata.js
44
- function k(e, t) {
47
+ function __decorateMetadata(e, t) {
45
48
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
46
49
  }
47
50
  //#endregion
48
51
  //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorate.js
49
- function A(e, t, n, r) {
52
+ function __decorate(e, t, n, r) {
50
53
  var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
51
54
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
52
55
  else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
@@ -54,7 +57,7 @@ function A(e, t, n, r) {
54
57
  }
55
58
  //#endregion
56
59
  //#region packages/logging/src/modules/logger/logger.service.ts
57
- var j, M = class extends t {
60
+ var j, M = class LoggerService extends t {
58
61
  static {
59
62
  j = this;
60
63
  }
@@ -67,7 +70,7 @@ var j, M = class extends t {
67
70
  child = j.root;
68
71
  static createRootLogger() {
69
72
  let e = process.env.LOG_LEVEL ?? "info";
70
- return j.isProduction ? j.writesToStandardError ? u({ level: e }, u.destination(2)) : u({ level: e }) : u({
73
+ return j.isProduction ? j.writesToStandardError ? l({ level: e }, l.destination(2)) : l({ level: e }) : l({
71
74
  level: e,
72
75
  transport: {
73
76
  options: {
@@ -106,15 +109,15 @@ var j, M = class extends t {
106
109
  getConventionalMessageViolation(e) {
107
110
  let t = e.emoji, n = e.text;
108
111
  if (t === void 0) return `Log message must start with an emoji naming its subject, then a verb: "${n}"`;
109
- let r = E.exec(n)?.[1];
112
+ let r = k.exec(n)?.[1];
110
113
  if (r === void 0 || !this.isConventionalVerb(r)) return `Log message must begin with a verb in present progressive or past tense, got "${r ?? ""}": "${t} ${n}"`;
111
114
  }
112
115
  isConventionalVerb(e) {
113
116
  let t = e.toLowerCase();
114
- return t.endsWith("ing") || t.endsWith("ed") || D.has(t);
117
+ return t.endsWith("ing") || t.endsWith("ed") || A.has(t);
115
118
  }
116
119
  parseMessage(e) {
117
- let t = String(e), n = se.exec(t), r = n?.[1];
120
+ let t = String(e), n = O.exec(t), r = n?.[1];
118
121
  return r === void 0 ? {
119
122
  emoji: void 0,
120
123
  text: t
@@ -124,7 +127,7 @@ var j, M = class extends t {
124
127
  };
125
128
  }
126
129
  shouldSkipConventionalMessageValidation(e) {
127
- return e !== void 0 && O.has(e);
130
+ return e !== void 0 && oe.has(e);
128
131
  }
129
132
  static get root() {
130
133
  return j.rootLogger ??= j.createRootLogger(), j.rootLogger;
@@ -137,8 +140,8 @@ var j, M = class extends t {
137
140
  };
138
141
  }
139
142
  createTimestampedOutputLogFilePath(e) {
140
- let t = l.join(process.cwd(), "output");
141
- return o(t) || s(t, { recursive: !0 }), l.join(t, `${e}-${(/* @__PURE__ */ new Date()).toISOString().replaceAll(/[:.]/g, "-")}.log`);
143
+ let t = c.join(process.cwd(), "output");
144
+ return o(t) || s(t, { recursive: !0 }), c.join(t, `${e}-${(/* @__PURE__ */ new Date()).toISOString().replaceAll(/[:.]/g, "-")}.log`);
142
145
  }
143
146
  debug(e, t, n) {
144
147
  let r = this.parseMessage(e);
@@ -190,11 +193,11 @@ var j, M = class extends t {
190
193
  }), r.text);
191
194
  }
192
195
  };
193
- M = j = A([r({ scope: a.TRANSIENT }), k("design:paramtypes", [])], M);
196
+ M = j = __decorate([r({ scope: a.TRANSIENT }), __decorateMetadata("design:paramtypes", [])], M);
194
197
  //#endregion
195
198
  //#region packages/logging/src/modules/logger/logger.module.ts
196
- var N = class {};
197
- N = A([n(), i({
199
+ var N = class LoggerModule {};
200
+ N = __decorate([n(), i({
198
201
  controllers: [],
199
202
  exports: [M],
200
203
  imports: [],
@@ -202,7 +205,7 @@ N = A([n(), i({
202
205
  })], N);
203
206
  //#endregion
204
207
  //#region packages/ic-suite/callidescope/callidescope-nx/src/modules/address/address.service.ts
205
- var P = class {
208
+ var P = class AddressService {
206
209
  addressLookupService;
207
210
  addressReportService;
208
211
  addressDepthService;
@@ -270,7 +273,7 @@ var P = class {
270
273
  return {
271
274
  ok: !0,
272
275
  report: this.addressReportService.renderBreadthReports({
273
- format: e.format ?? w,
276
+ format: e.format ?? C,
274
277
  reports: a
275
278
  })
276
279
  };
@@ -285,7 +288,7 @@ var P = class {
285
288
  return {
286
289
  ok: !0,
287
290
  report: this.addressReportService.renderDepthReports({
288
- format: e.format ?? w,
291
+ format: e.format ?? C,
289
292
  reports: n.map(({ address: e, id: t }) => {
290
293
  let n = {
291
294
  callablesById: r.located.callablesById,
@@ -302,28 +305,28 @@ var P = class {
302
305
  };
303
306
  }
304
307
  };
305
- P = A([r(), k("design:paramtypes", [
306
- d === void 0 ? Object : d,
308
+ P = __decorate([r(), __decorateMetadata("design:paramtypes", [
309
+ u === void 0 ? Object : u,
307
310
  v === void 0 ? Object : v,
308
- p === void 0 ? Object : p,
309
- m === void 0 ? Object : m
311
+ f === void 0 ? Object : f,
312
+ p === void 0 ? Object : p
310
313
  ])], P);
311
314
  //#endregion
312
315
  //#region packages/ic-suite/callidescope/callidescope-nx/src/modules/address/address.module.ts
313
- var F = class {};
314
- F = A([i({
316
+ var F = class AddressModule {};
317
+ F = __decorate([i({
315
318
  controllers: [],
316
319
  exports: [P],
317
320
  imports: [
318
- ee,
321
+ te,
319
322
  _,
320
- g
323
+ h
321
324
  ],
322
325
  providers: [P]
323
326
  })], F);
324
327
  //#endregion
325
328
  //#region packages/ic-suite/callidescope/callidescope-nx/src/modules/options/options.constants.ts
326
- 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 {
329
+ 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 {
327
330
  constructor() {}
328
331
  isUnknownArray(e) {
329
332
  return Array.isArray(e);
@@ -349,7 +352,7 @@ var I = "@callidescope/nx", L = "trace", R = "depth", z = "breadth", B = "gate",
349
352
  return typeof t == "string" && t !== "" ? t : void 0;
350
353
  }
351
354
  readFormat(e) {
352
- return ie.find((t) => t === e);
355
+ return ae.find((t) => t === e);
353
356
  }
354
357
  readStringList(e) {
355
358
  return this.isUnknownArray(e) ? e.filter((e) => typeof e == "string").flatMap((e) => e.split(",")).map((e) => e.trim()).filter((e) => e !== "") : typeof e == "string" ? this.readStringList([e]) : [];
@@ -383,11 +386,11 @@ var I = "@callidescope/nx", L = "trace", R = "depth", z = "breadth", B = "gate",
383
386
  };
384
387
  }
385
388
  };
386
- U = A([r(), k("design:paramtypes", [])], U);
389
+ U = __decorate([r(), __decorateMetadata("design:paramtypes", [])], U);
387
390
  //#endregion
388
391
  //#region packages/ic-suite/callidescope/callidescope-nx/src/modules/options/options.module.ts
389
- var W = class {};
390
- W = A([i({
392
+ var W = class OptionsModule {};
393
+ W = __decorate([i({
391
394
  controllers: [],
392
395
  exports: [U],
393
396
  imports: [],
@@ -395,7 +398,7 @@ W = A([i({
395
398
  })], W);
396
399
  //#endregion
397
400
  //#region packages/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.service.ts
398
- var G = class {
401
+ var G = class ProjectsService {
399
402
  constructor() {}
400
403
  readTags(e) {
401
404
  return [...new Set(e.flatMap((e) => e.tags))].toSorted((e, t) => e.localeCompare(t));
@@ -416,7 +419,7 @@ var G = class {
416
419
  };
417
420
  }
418
421
  async readProjectGraph() {
419
- return oe({ exitOnError: !1 });
422
+ return E({ exitOnError: !1 });
420
423
  }
421
424
  readProjects(e) {
422
425
  return Object.entries(e.nodes).map(([e, t]) => ({
@@ -478,11 +481,11 @@ var G = class {
478
481
  return [...n].toSorted((e, t) => e.localeCompare(t));
479
482
  }
480
483
  };
481
- G = A([r(), k("design:paramtypes", [])], G);
484
+ G = __decorate([r(), __decorateMetadata("design:paramtypes", [])], G);
482
485
  //#endregion
483
486
  //#region packages/ic-suite/callidescope/callidescope-nx/src/modules/projects/projects.module.ts
484
- var K = class {};
485
- K = A([i({
487
+ var K = class ProjectsModule {};
488
+ K = __decorate([i({
486
489
  controllers: [],
487
490
  exports: [G],
488
491
  imports: [],
@@ -490,7 +493,7 @@ K = A([i({
490
493
  })], K);
491
494
  //#endregion
492
495
  //#region packages/ic-suite/callidescope/callidescope-nx/src/modules/run-configuration/run-configuration.constants.ts
493
- var ce = "nx.json", q = class {
496
+ var q = "nx.json", J = class RunConfigurationService {
494
497
  configurationService;
495
498
  optionsService;
496
499
  constructor(e, t) {
@@ -498,14 +501,14 @@ var ce = "nx.json", q = class {
498
501
  }
499
502
  readNxConfiguration(e) {
500
503
  try {
501
- return JSON.parse(c(l.join(e, ce), "utf8"));
504
+ return JSON.parse(ee(c.join(e, q), "utf8"));
502
505
  } catch {
503
506
  return;
504
507
  }
505
508
  }
506
509
  async load(e) {
507
510
  let t = e.configurationPath ?? this.optionsService.resolveConfigurationPath({
508
- exists: (t) => o(l.join(e.workspaceRoot, t)),
511
+ exists: (t) => o(c.join(e.workspaceRoot, t)),
509
512
  nxConfiguration: this.readNxConfiguration(e.workspaceRoot)
510
513
  }), n = await this.configurationService.loadConfigurationFile({
511
514
  configurationPath: t,
@@ -517,19 +520,19 @@ var ce = "nx.json", q = class {
517
520
  };
518
521
  }
519
522
  };
520
- q = A([r(), k("design:paramtypes", [C === void 0 ? Object : C, U === void 0 ? Object : U])], q);
523
+ J = __decorate([r(), __decorateMetadata("design:paramtypes", [S === void 0 ? Object : S, U === void 0 ? Object : U])], J);
521
524
  //#endregion
522
525
  //#region packages/ic-suite/callidescope/callidescope-nx/src/modules/run-configuration/run-configuration.module.ts
523
- var J = class {};
524
- J = A([i({
526
+ var Y = class RunConfigurationModule {};
527
+ Y = __decorate([i({
525
528
  controllers: [],
526
- exports: [q],
527
- imports: [S, W],
528
- providers: [q]
529
- })], J);
529
+ exports: [J],
530
+ imports: [x, W],
531
+ providers: [J]
532
+ })], Y);
530
533
  //#endregion
531
534
  //#region packages/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.constants.ts
532
- var le = "**/{project.json,callidescope.config.*}", ue = "{projectRoot}/callidescope.config.*", Y = "__callidescopePluginContext", de = (e) => [
535
+ var se = "**/{project.json,callidescope.config.*}", ce = "{projectRoot}/callidescope.config.*", X = "__callidescopePluginContext", reportUnreadProjects = (e) => [
533
536
  "## Read nothing of its own (0 files)",
534
537
  "",
535
538
  `This run judged ${e.length === 1 ? "a project" : "projects"} whose own code it never read:`,
@@ -546,7 +549,7 @@ var le = "**/{project.json,callidescope.config.*}", ue = "{projectRoot}/callides
546
549
  "configuration and `exclude` in the project's own `callidescope.config.*`",
547
550
  "for a pattern matching everything that project holds, and check that the",
548
551
  "project still holds sources its `tsconfig.json` includes."
549
- ].join("\n"), fe = [
552
+ ].join("\n"), le = [
550
553
  "## Traced nothing (0 callables)",
551
554
  "",
552
555
  "This gate read no code, so it judged none. It fails rather than passing:",
@@ -555,7 +558,7 @@ var le = "**/{project.json,callidescope.config.*}", ue = "{projectRoot}/callides
555
558
  "Check `exclude` and `excludeFrom` in the workspace callidescope",
556
559
  "configuration and in this project's own `callidescope.config.*` for a",
557
560
  "pattern matching everything the project holds."
558
- ].join("\n"), pe = [
561
+ ].join("\n"), ue = [
559
562
  "## Traced nothing (no directories in scope)",
560
563
  "",
561
564
  "This gate's Nx selection resolved to no directory, so nothing was traced",
@@ -564,7 +567,7 @@ var le = "**/{project.json,callidescope.config.*}", ue = "{projectRoot}/callides
564
567
  "",
565
568
  "Check the `projects` and `tags` this target was given, and whether the",
566
569
  "projects they name still hold a root of their own."
567
- ].join("\n"), X = class {
570
+ ].join("\n"), Z = class PluginService {
568
571
  callidescopeService;
569
572
  configurationService;
570
573
  fileFilterService;
@@ -621,19 +624,19 @@ var le = "**/{project.json,callidescope.config.*}", ue = "{projectRoot}/callides
621
624
  [t.gateTargetName]: {
622
625
  cache: !0,
623
626
  executor: `${I}:gate`,
624
- inputs: [...n, ue],
627
+ inputs: [...n, ce],
625
628
  options: {}
626
629
  }
627
630
  };
628
631
  }
629
632
  explainVerdict(e) {
630
- return e.unreadProjectNames.length > 0 ? de(e.unreadProjectNames) : e.reason;
633
+ return e.unreadProjectNames.length > 0 ? reportUnreadProjects(e.unreadProjectNames) : e.reason;
631
634
  }
632
635
  holdsProgram(e) {
633
- return o(l.join(e.workspaceRoot, e.projectRoot, H));
636
+ return o(c.join(e.workspaceRoot, e.projectRoot, H));
634
637
  }
635
638
  isExcludedProject(e) {
636
- return e.fileFilter.isExcluded(l.posix.join(e.projectRoot, H));
639
+ return e.fileFilter.isExcluded(c.posix.join(e.projectRoot, H));
637
640
  }
638
641
  judge(e) {
639
642
  let t = this.projectReportsService.findOwnedFindings({
@@ -647,7 +650,7 @@ var le = "**/{project.json,callidescope.config.*}", ue = "{projectRoot}/callides
647
650
  return e.result.summary.callableCount === 0 ? {
648
651
  findings: t,
649
652
  ok: !1,
650
- reason: fe,
653
+ reason: le,
651
654
  unreadProjectNames: n
652
655
  } : {
653
656
  findings: t,
@@ -665,8 +668,8 @@ var le = "**/{project.json,callidescope.config.*}", ue = "{projectRoot}/callides
665
668
  workspaceRoot: e.workspaceRoot
666
669
  }), r = /* @__PURE__ */ new Map();
667
670
  for (let i of e.projectConfigurationFiles) {
668
- if (l.basename(i) !== "project.json") continue;
669
- let a = l.dirname(i);
671
+ if (c.basename(i) !== "project.json") continue;
672
+ let a = c.dirname(i);
670
673
  a !== "." && this.holdsProgram({
671
674
  projectRoot: a,
672
675
  workspaceRoot: e.workspaceRoot
@@ -720,12 +723,12 @@ var le = "**/{project.json,callidescope.config.*}", ue = "{projectRoot}/callides
720
723
  ok: i.ok && i.unreadProjectNames.length === 0,
721
724
  report: this.explainVerdict(i) ?? this.markdownReportService.renderFindings({
722
725
  ...i.findings,
723
- previewCount: T
726
+ previewCount: w
724
727
  })
725
728
  };
726
729
  }
727
730
  async runTrace(e) {
728
- let { configuration: t, path: n } = await this.runConfigurationService.load(e), r = e.format ?? w, i = await this.callidescopeService.trace({
731
+ let { configuration: t, path: n } = await this.runConfigurationService.load(e), r = e.format ?? C, i = await this.callidescopeService.trace({
729
732
  configuration: t,
730
733
  configurationPath: n,
731
734
  directories: e.directories,
@@ -736,9 +739,9 @@ var le = "**/{project.json,callidescope.config.*}", ue = "{projectRoot}/callides
736
739
  result: i.result
737
740
  }), o = this.markdownReportService.renderRun({
738
741
  description: void 0,
739
- heading: ae,
742
+ heading: T,
740
743
  limits: i.projectLimits,
741
- previewCount: T,
744
+ previewCount: w,
742
745
  rendering: r === "mermaid" ? "diagram" : "tree",
743
746
  result: i.result
744
747
  }), s = this.explainVerdict(a);
@@ -748,68 +751,68 @@ var le = "**/{project.json,callidescope.config.*}", ue = "{projectRoot}/callides
748
751
  };
749
752
  }
750
753
  };
751
- X = A([r(), k("design:paramtypes", [
752
- f === void 0 ? Object : f,
753
- C === void 0 ? Object : C,
754
- h === void 0 ? Object : h,
754
+ Z = __decorate([r(), __decorateMetadata("design:paramtypes", [
755
+ d === void 0 ? Object : d,
756
+ S === void 0 ? Object : S,
757
+ m === void 0 ? Object : m,
755
758
  y === void 0 ? Object : y,
756
759
  U === void 0 ? Object : U,
757
- x === void 0 ? Object : x,
760
+ b === void 0 ? Object : b,
758
761
  G === void 0 ? Object : G,
759
- q === void 0 ? Object : q
760
- ])], X);
762
+ J === void 0 ? Object : J
763
+ ])], Z);
761
764
  //#endregion
762
765
  //#region packages/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.module.ts
763
- var Z = class {};
764
- Z = A([i({
766
+ var Q = class PluginModule {};
767
+ Q = __decorate([i({
765
768
  controllers: [],
766
- exports: [X],
769
+ exports: [Z],
767
770
  imports: [
768
- te,
769
- S,
771
+ ne,
772
+ x,
770
773
  N,
771
774
  W,
772
- b,
773
- K,
774
775
  re,
775
- J,
776
- ne
776
+ K,
777
+ ie,
778
+ Y,
779
+ g
777
780
  ],
778
- providers: [X]
779
- })], Z);
781
+ providers: [Z]
782
+ })], Q);
780
783
  //#endregion
781
784
  //#region packages/ic-suite/callidescope/callidescope-nx/src/main.module.ts
782
- var Q = class {};
783
- Q = A([i({
785
+ var $ = class MainModule {};
786
+ $ = __decorate([i({
784
787
  controllers: [],
785
- exports: [F, Z],
788
+ exports: [F, Q],
786
789
  imports: [
787
790
  F,
788
791
  N,
789
- Z
792
+ Q
790
793
  ],
791
794
  providers: []
792
- })], Q);
795
+ })], $);
793
796
  //#endregion
794
797
  //#region packages/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin-context.utilities.ts
795
- async function me() {
796
- return (await $()).get(P);
798
+ async function resolveAddressService() {
799
+ return (await resolvePluginContext()).get(P);
797
800
  }
798
- async function he() {
799
- return (await $()).get(U);
801
+ async function resolveOptionsService() {
802
+ return (await resolvePluginContext()).get(U);
800
803
  }
801
- async function ge() {
802
- return (await $()).get(X);
804
+ async function resolvePluginService() {
805
+ return (await resolvePluginContext()).get(Z);
803
806
  }
804
- async function _e() {
805
- return (await $()).get(G);
807
+ async function resolveProjectsService() {
808
+ return (await resolvePluginContext()).get(G);
806
809
  }
807
- async function $() {
810
+ async function resolvePluginContext() {
808
811
  let t = globalThis;
809
- return t[Y] ??= e.createApplicationContext(Q, {
812
+ return t[X] ??= e.createApplicationContext($, {
810
813
  abortOnError: !1,
811
814
  logger: !1
812
- }), await t[Y];
815
+ }), await t[X];
813
816
  }
814
817
  //#endregion
815
- export { B as _, Q as a, P as b, pe as c, G as d, W as f, R as g, z as h, _e as i, le as l, I as m, he as n, Z as o, U as p, ge as r, X as s, me as t, K as u, L as v, F as y };
818
+ export { B as _, $ as a, P as b, ue as c, G as d, W as f, R as g, z as h, resolveProjectsService as i, se as l, I as m, resolveOptionsService as n, Q as o, U as p, resolvePluginService as r, Z as s, resolveAddressService as t, K as u, L as v, __name as x, F as y };
@@ -1,6 +1,6 @@
1
- import { n as e, r as t } from "./plugin-context.utilities-DqVPRaSc.js";
1
+ import { n as e, r as t } from "./plugin-context.utilities-CVgKMrus.js";
2
2
  //#region packages/ic-suite/callidescope/callidescope-nx/src/modules/plugin/plugin.utilities.ts
3
- async function n(n) {
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) {
6
6
  if (n.context.projectName === void 0) throw Error(`The callidescope ${n.label} executor must be run against a project, or given \`projects\` or \`tags\`.`);
@@ -15,4 +15,4 @@ async function n(n) {
15
15
  return s;
16
16
  }
17
17
  //#endregion
18
- export { n as t };
18
+ export { resolveExecutorScope as t };
@@ -1,6 +1,7 @@
1
- import { t as e } from "../../../address.utilities-B5EjO2f1.js";
1
+ import "../../../plugin-context.utilities-CVgKMrus.js";
2
+ import { t as e } from "../../../address.utilities-BntrHZWU.js";
2
3
  //#region packages/ic-suite/callidescope/callidescope-nx/src/executors/breadth/executor.ts
3
- async function t(t, n) {
4
+ async function breadthExecutor(t, n) {
4
5
  return await e({
5
6
  context: n,
6
7
  kind: "breadth",
@@ -8,4 +9,4 @@ async function t(t, n) {
8
9
  });
9
10
  }
10
11
  //#endregion
11
- export { t as default };
12
+ export { breadthExecutor as default };
@@ -1,6 +1,7 @@
1
- import { t as e } from "../../../address.utilities-B5EjO2f1.js";
1
+ import "../../../plugin-context.utilities-CVgKMrus.js";
2
+ import { t as e } from "../../../address.utilities-BntrHZWU.js";
2
3
  //#region packages/ic-suite/callidescope/callidescope-nx/src/executors/depth/executor.ts
3
- async function t(t, n) {
4
+ async function depthExecutor(t, n) {
4
5
  return await e({
5
6
  context: n,
6
7
  kind: "depth",
@@ -8,4 +9,4 @@ async function t(t, n) {
8
9
  });
9
10
  }
10
11
  //#endregion
11
- export { t as default };
12
+ export { depthExecutor as default };
@@ -1,7 +1,7 @@
1
- import { c as e, r as t } from "../../../plugin-context.utilities-DqVPRaSc.js";
2
- import { t as n } from "../../../plugin.utilities-wC61NCb6.js";
1
+ import { c as e, r as t } from "../../../plugin-context.utilities-CVgKMrus.js";
2
+ import { t as n } from "../../../plugin.utilities-RbHRMUSm.js";
3
3
  //#region packages/ic-suite/callidescope/callidescope-nx/src/executors/gate/executor.ts
4
- async function r(r, i) {
4
+ async function gateExecutor(r, i) {
5
5
  let a = await n({
6
6
  context: i,
7
7
  label: "gate",
@@ -17,4 +17,4 @@ async function r(r, i) {
17
17
  return process.stdout.write(`${o.report}\n`), { success: o.ok };
18
18
  }
19
19
  //#endregion
20
- export { r as default };
20
+ export { gateExecutor as default };
@@ -1,7 +1,7 @@
1
- import { n as e, r as t } from "../../../plugin-context.utilities-DqVPRaSc.js";
2
- import { t as n } from "../../../plugin.utilities-wC61NCb6.js";
1
+ import { n as e, r as t } from "../../../plugin-context.utilities-CVgKMrus.js";
2
+ import { t as n } from "../../../plugin.utilities-RbHRMUSm.js";
3
3
  //#region packages/ic-suite/callidescope/callidescope-nx/src/executors/trace/executor.ts
4
- async function r(r, i) {
4
+ async function traceExecutor(r, i) {
5
5
  let a = await n({
6
6
  context: i,
7
7
  label: "trace",
@@ -18,4 +18,4 @@ async function r(r, i) {
18
18
  return process.stdout.write(`${s.report}\n`), { success: s.ok };
19
19
  }
20
20
  //#endregion
21
- export { r as default };
21
+ export { traceExecutor as default };
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-DqVPRaSc.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-CVgKMrus.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
@@ -4,11 +4,11 @@
4
4
  "url": "https://github.com/organizzolini/codebase/issues"
5
5
  },
6
6
  "dependencies": {
7
- "@callidescope/cli": "0.0.8",
8
- "@callidescope/configuration": "0.0.9",
9
- "@callidescope/core": "0.0.8",
10
- "@callidescope/graph": "0.0.8",
11
- "@callidescope/output": "0.0.8",
7
+ "@callidescope/cli": "0.0.10",
8
+ "@callidescope/configuration": "0.0.11",
9
+ "@callidescope/core": "0.0.10",
10
+ "@callidescope/graph": "0.0.10",
11
+ "@callidescope/output": "0.0.10",
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",
@@ -75,5 +75,5 @@
75
75
  "strict": true
76
76
  },
77
77
  "types": "./dist/src/index.d.ts",
78
- "version": "0.0.8"
78
+ "version": "0.0.10"
79
79
  }