@codependix/cli 0.0.7 → 0.0.9

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,21 @@
1
+ ## 0.0.9 (2026-10-08)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated codependix-configuration to 0.0.10
6
+ - Updated codependix-boundaries to 0.0.9
7
+ - Updated codependix-output to 0.0.9
8
+ - Updated codependix-core to 0.0.9
9
+
10
+ ## 0.0.8 (2026-10-08)
11
+
12
+ ### 🧱 Updated Dependencies
13
+
14
+ - Updated codependix-configuration to 0.0.9
15
+ - Updated codependix-boundaries to 0.0.8
16
+ - Updated codependix-output to 0.0.8
17
+ - Updated codependix-core to 0.0.8
18
+
1
19
  ## 0.0.7 (2026-10-08)
2
20
 
3
21
  ### 🧱 Updated Dependencies
package/README.md CHANGED
@@ -686,13 +686,13 @@ What this project is judged against, as declared in its own `callidescope.config
686
686
  ### Project
687
687
 
688
688
  ![Lines of Code](https://img.shields.io/badge/Lines_of_Code-3247-22c55e?style=flat-square)
689
- ![Repository Size](https://img.shields.io/badge/Repository_Size-113.35_kB-6b7280?style=flat-square)
689
+ ![Repository Size](https://img.shields.io/badge/Repository_Size-113.78_kB-6b7280?style=flat-square)
690
690
  ![Folders](https://img.shields.io/badge/Folders-5-4a4a4a?style=flat-square)
691
691
  ![Source Files](https://img.shields.io/badge/Source_Files-30-3178c6?style=flat-square)
692
692
 
693
693
  ### Measured Targets
694
694
 
695
- ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-5.32_kB_gzip-6b7280?style=flat-square)
695
+ ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-5.44_kB_gzip-6b7280?style=flat-square)
696
696
 
697
697
  ### TypeScript
698
698
 
@@ -874,16 +874,16 @@ What this project is judged against, as declared in its own `callidescope.config
874
874
  ### Markdown
875
875
 
876
876
  ![Markdown Files](https://img.shields.io/badge/Markdown_Files-2-083fa1?style=flat-square)
877
- ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-286-1f6feb?style=flat-square)
877
+ ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-304-1f6feb?style=flat-square)
878
878
  ![H1](https://img.shields.io/badge/H1-1-7c3aed?style=flat-square)
879
- ![H2](https://img.shields.io/badge/H2-11-8b5cf6?style=flat-square)
880
- ![H3](https://img.shields.io/badge/H3-19-a78bfa?style=flat-square)
879
+ ![H2](https://img.shields.io/badge/H2-13-8b5cf6?style=flat-square)
880
+ ![H3](https://img.shields.io/badge/H3-21-a78bfa?style=flat-square)
881
881
  ![H4](https://img.shields.io/badge/H4-0-c4b5fd?style=flat-square)
882
882
  ![H5](https://img.shields.io/badge/H5-0-ddd6fe?style=flat-square)
883
883
  ![H6](https://img.shields.io/badge/H6-0-ede9fe?style=flat-square)
884
- ![Paragraphs](https://img.shields.io/badge/Paragraphs-66-64748b?style=flat-square)
885
- ![Lists](https://img.shields.io/badge/Lists-11-16a34a?style=flat-square)
886
- ![List Items](https://img.shields.io/badge/List_Items-45-22c55e?style=flat-square)
884
+ ![Paragraphs](https://img.shields.io/badge/Paragraphs-74-64748b?style=flat-square)
885
+ ![Lists](https://img.shields.io/badge/Lists-13-16a34a?style=flat-square)
886
+ ![List Items](https://img.shields.io/badge/List_Items-53-22c55e?style=flat-square)
887
887
  ![Task List Items](https://img.shields.io/badge/Task_List_Items-0-4ade80?style=flat-square)
888
888
  ![Tables](https://img.shields.io/badge/Tables-2-0284c7?style=flat-square)
889
889
  ![Table Rows](https://img.shields.io/badge/Table_Rows-10-0ea5e9?style=flat-square)
@@ -9,8 +9,11 @@ import { BoundaryCheckModule as f, BoundaryCheckService as p, RunContextModule a
9
9
  import { CHECK_NAMES as g, ConfigurationModule as _, ConfigurationService as v } from "@codependix/configuration";
10
10
  import { CombinedOutputModule as y, CombinedOutputService as b, FORMAT_MARKDOWN as x, FORMAT_NAMES as S, GraphRunModule as C, GraphRunService as w, PATH_FORMAT_NAMES as T, PathQueryModule as E, PathQueryService as D, ReportingModule as O, ReportingService as k } from "@codependix/output";
11
11
  import { Command as A, CommandRunner as j, Option as M } from "nest-commander";
12
- //#region packages/logging/src/modules/logger/logger.constants.ts
13
- var N = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\s+/u, P = /^([A-Za-z]+)/, F = /* @__PURE__ */ new Set([
12
+ //#region \0rolldown/runtime.js
13
+ var N = Object.defineProperty, __name = (e, t) => N(e, "name", {
14
+ value: t,
15
+ configurable: !0
16
+ }), P = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\s+/u, F = /^([A-Za-z]+)/, I = /* @__PURE__ */ new Set([
14
17
  "built",
15
18
  "cut",
16
19
  "found",
@@ -28,7 +31,7 @@ var N = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\s
28
31
  "split",
29
32
  "took",
30
33
  "wrote"
31
- ]), I = /* @__PURE__ */ new Set([
34
+ ]), L = /* @__PURE__ */ new Set([
32
35
  "CommandFactory",
33
36
  "ExceptionHandler",
34
37
  "GraphQLModule",
@@ -41,12 +44,12 @@ var N = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\s
41
44
  ]);
42
45
  //#endregion
43
46
  //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorateMetadata.js
44
- function L(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 R(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,9 +57,9 @@ function R(e, t, n, r) {
54
57
  }
55
58
  //#endregion
56
59
  //#region packages/logging/src/modules/logger/logger.service.ts
57
- var z, B = class extends e {
60
+ var R, z = class LoggerService extends e {
58
61
  static {
59
- z = this;
62
+ R = this;
60
63
  }
61
64
  constructor() {
62
65
  super();
@@ -64,15 +67,15 @@ var z, B = class extends e {
64
67
  static isProduction = process.env.NODE_ENV === "production";
65
68
  static rootLogger;
66
69
  static writesToStandardError = !1;
67
- child = z.root;
70
+ child = R.root;
68
71
  static createRootLogger() {
69
72
  let e = process.env.LOG_LEVEL ?? "info";
70
- return z.isProduction ? z.writesToStandardError ? u({ level: e }, u.destination(2)) : u({ level: e }) : u({
73
+ return R.isProduction ? R.writesToStandardError ? u({ level: e }, u.destination(2)) : u({ level: e }) : u({
71
74
  level: e,
72
75
  transport: {
73
76
  options: {
74
77
  colorize: !0,
75
- destination: z.writesToStandardError ? 2 : 1,
78
+ destination: R.writesToStandardError ? 2 : 1,
76
79
  ignore: "pid,hostname,emoji",
77
80
  messageFormat: "{emoji} {msg}",
78
81
  singleLine: !0
@@ -82,14 +85,14 @@ var z, B = class extends e {
82
85
  });
83
86
  }
84
87
  static logToStandardError() {
85
- if (z.rootLogger !== void 0) {
88
+ if (R.rootLogger !== void 0) {
86
89
  process.emitWarning("LoggerService.logToStandardError() was called after the first log line, so log lines still go to standard output and anything piping that stream will read them as data. Call it as the first statement of the application's bootstrap.");
87
90
  return;
88
91
  }
89
- z.writesToStandardError = !0;
92
+ R.writesToStandardError = !0;
90
93
  }
91
94
  assertConventionalMessage(e) {
92
- if (z.isProduction || this.shouldSkipConventionalMessageValidation(e.context)) return;
95
+ if (R.isProduction || this.shouldSkipConventionalMessageValidation(e.context)) return;
93
96
  let t = this.getConventionalMessageViolation(e.parsed);
94
97
  if (t !== void 0) throw Error(t);
95
98
  }
@@ -100,21 +103,21 @@ var z, B = class extends e {
100
103
  }), {
101
104
  ...e.data,
102
105
  context: e.context,
103
- ...z.isProduction ? {} : { emoji: e.parsed.emoji }
106
+ ...R.isProduction ? {} : { emoji: e.parsed.emoji }
104
107
  };
105
108
  }
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 = P.exec(n)?.[1];
112
+ let r = F.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") || F.has(t);
117
+ return t.endsWith("ing") || t.endsWith("ed") || I.has(t);
115
118
  }
116
119
  parseMessage(e) {
117
- let t = String(e), n = N.exec(t), r = n?.[1];
120
+ let t = String(e), n = P.exec(t), r = n?.[1];
118
121
  return r === void 0 ? {
119
122
  emoji: void 0,
120
123
  text: t
@@ -124,10 +127,10 @@ var z, B = class extends e {
124
127
  };
125
128
  }
126
129
  shouldSkipConventionalMessageValidation(e) {
127
- return e !== void 0 && I.has(e);
130
+ return e !== void 0 && L.has(e);
128
131
  }
129
132
  static get root() {
130
- return z.rootLogger ??= z.createRootLogger(), z.rootLogger;
133
+ return R.rootLogger ??= R.createRootLogger(), R.rootLogger;
131
134
  }
132
135
  buildErrorLogEntry(e, t) {
133
136
  let n = t instanceof Error ? t.stack || t.message : String(t);
@@ -171,7 +174,7 @@ var z, B = class extends e {
171
174
  this.info(e, t, n);
172
175
  }
173
176
  setContext(e) {
174
- super.setContext(e), this.child = z.root.child({ context: e });
177
+ super.setContext(e), this.child = R.root.child({ context: e });
175
178
  }
176
179
  verbose(e, t, n) {
177
180
  let r = this.parseMessage(e);
@@ -190,19 +193,19 @@ var z, B = class extends e {
190
193
  }), r.text);
191
194
  }
192
195
  };
193
- B = z = R([n({ scope: i.TRANSIENT }), L("design:paramtypes", [])], B);
196
+ z = R = __decorate([n({ scope: i.TRANSIENT }), __decorateMetadata("design:paramtypes", [])], z);
194
197
  //#endregion
195
198
  //#region packages/logging/src/modules/logger/logger.module.ts
196
- var V = class {};
197
- V = R([t(), r({
199
+ var B = class LoggerModule {};
200
+ B = __decorate([t(), r({
198
201
  controllers: [],
199
- exports: [B],
202
+ exports: [z],
200
203
  imports: [],
201
- providers: [B]
202
- })], V);
204
+ providers: [z]
205
+ })], B);
203
206
  //#endregion
204
207
  //#region packages/ic-suite/codependix/codependix-cli/src/constants.ts
205
- var H = d.object({}), U, W = U = class extends j {
208
+ var V = d.object({}), H, U = H = class MapCommand extends j {
206
209
  graphRunService;
207
210
  boundaryCheckService;
208
211
  combinedOutputService;
@@ -211,7 +214,7 @@ var H = d.object({}), U, W = U = class extends j {
211
214
  reportingService;
212
215
  runContextService;
213
216
  constructor(e, t, n, r, i, a, o) {
214
- super(), this.graphRunService = e, this.boundaryCheckService = t, this.combinedOutputService = n, this.configurationService = r, this.logger = i, this.reportingService = a, this.runContextService = o, this.logger.setContext(U.name);
217
+ super(), this.graphRunService = e, this.boundaryCheckService = t, this.combinedOutputService = n, this.configurationService = r, this.logger = i, this.reportingService = a, this.runContextService = o, this.logger.setContext(H.name);
215
218
  }
216
219
  runCombinedOutput(e) {
217
220
  e.combinedGraphs !== void 0 && this.combinedOutputService.run({
@@ -317,164 +320,164 @@ var H = d.object({}), U, W = U = class extends j {
317
320
  }
318
321
  }
319
322
  };
320
- R([
323
+ __decorate([
321
324
  M({
322
325
  description: `Fail on a comma-separated set drawn from ${g.map((e) => `"${e}"`).join(" and ")}`,
323
326
  flags: "--check [check]"
324
327
  }),
325
- L("design:type", Function),
326
- L("design:paramtypes", [String]),
327
- L("design:returntype", String)
328
- ], W.prototype, "parseCheck", null), R([
328
+ __decorateMetadata("design:type", Function),
329
+ __decorateMetadata("design:paramtypes", [String]),
330
+ __decorateMetadata("design:returntype", String)
331
+ ], U.prototype, "parseCheck", null), __decorate([
329
332
  M({
330
333
  description: "Path to the codependix configuration file",
331
334
  flags: "--config [config]"
332
335
  }),
333
- L("design:type", Function),
334
- L("design:paramtypes", [Object]),
335
- L("design:returntype", Object)
336
- ], W.prototype, "parseConfig", null), R([
336
+ __decorateMetadata("design:type", Function),
337
+ __decorateMetadata("design:paramtypes", [Object]),
338
+ __decorateMetadata("design:returntype", Object)
339
+ ], U.prototype, "parseConfig", null), __decorate([
337
340
  M({
338
341
  description: "Directory whose Nx workspace this run reads",
339
342
  flags: "-d, --directory [directory]"
340
343
  }),
341
- L("design:type", Function),
342
- L("design:paramtypes", [Object]),
343
- L("design:returntype", String)
344
- ], W.prototype, "parseDirectory", null), R([
344
+ __decorateMetadata("design:type", Function),
345
+ __decorateMetadata("design:paramtypes", [Object]),
346
+ __decorateMetadata("design:returntype", String)
347
+ ], U.prototype, "parseDirectory", null), __decorate([
345
348
  M({
346
349
  description: "Comma-separated globs overriding the configured exclude. Refused when exclude was never configured",
347
350
  flags: "--exclude [exclude]"
348
351
  }),
349
- L("design:type", Function),
350
- L("design:paramtypes", [Object]),
351
- L("design:returntype", Array)
352
- ], W.prototype, "parseExclude", null), R([
352
+ __decorateMetadata("design:type", Function),
353
+ __decorateMetadata("design:paramtypes", [Object]),
354
+ __decorateMetadata("design:returntype", Array)
355
+ ], U.prototype, "parseExclude", null), __decorate([
353
356
  M({
354
357
  description: "Build, check, and write the fileImports graph type",
355
358
  flags: "--file-imports"
356
359
  }),
357
- L("design:type", Function),
358
- L("design:paramtypes", []),
359
- L("design:returntype", Boolean)
360
- ], W.prototype, "parseFileImports", null), R([
360
+ __decorateMetadata("design:type", Function),
361
+ __decorateMetadata("design:paramtypes", []),
362
+ __decorateMetadata("design:returntype", Boolean)
363
+ ], U.prototype, "parseFileImports", null), __decorate([
361
364
  M({
362
365
  description: `What to print to standard output, one of ${S.join(" and ")} (default: ${x}). A graph type prints only when this run also configured a workspace destination for it, even if its own toggle flag enabled it`,
363
366
  flags: "-f, --format [format]"
364
367
  }),
365
- L("design:type", Function),
366
- L("design:paramtypes", [Object]),
367
- L("design:returntype", Object)
368
- ], W.prototype, "parseFormat", null), R([
368
+ __decorateMetadata("design:type", Function),
369
+ __decorateMetadata("design:paramtypes", [Object]),
370
+ __decorateMetadata("design:returntype", Object)
371
+ ], U.prototype, "parseFormat", null), __decorate([
369
372
  M({
370
373
  description: "Comma-separated globs overriding the configured include. Refused when include was never configured",
371
374
  flags: "--include [include]"
372
375
  }),
373
- L("design:type", Function),
374
- L("design:paramtypes", [Object]),
375
- L("design:returntype", Array)
376
- ], W.prototype, "parseInclude", null), R([
376
+ __decorateMetadata("design:type", Function),
377
+ __decorateMetadata("design:paramtypes", [Object]),
378
+ __decorateMetadata("design:returntype", Array)
379
+ ], U.prototype, "parseInclude", null), __decorate([
377
380
  M({
378
381
  description: "Write every active graph type's data, combined into one JSON file at this path, keyed by graph type name. A type appears only when this run also configured a workspace destination for it",
379
382
  flags: "--json-output [jsonOutput]"
380
383
  }),
381
- L("design:type", Function),
382
- L("design:paramtypes", [Object]),
383
- L("design:returntype", Object)
384
- ], W.prototype, "parseJsonOutput", null), R([
384
+ __decorateMetadata("design:type", Function),
385
+ __decorateMetadata("design:paramtypes", [Object]),
386
+ __decorateMetadata("design:returntype", Object)
387
+ ], U.prototype, "parseJsonOutput", null), __decorate([
385
388
  M({
386
389
  description: "Write every active graph type's rendered diagram, combined into one Markdown file at this path. A type appears only when this run also configured a workspace destination for it",
387
390
  flags: "--markdown-output [markdownOutput]"
388
391
  }),
389
- L("design:type", Function),
390
- L("design:paramtypes", [Object]),
391
- L("design:returntype", Object)
392
- ], W.prototype, "parseMarkdownOutput", null), R([
392
+ __decorateMetadata("design:type", Function),
393
+ __decorateMetadata("design:paramtypes", [Object]),
394
+ __decorateMetadata("design:returntype", Object)
395
+ ], U.prototype, "parseMarkdownOutput", null), __decorate([
393
396
  M({
394
397
  description: "Build, check, and write the nestjsModules graph type",
395
398
  flags: "--nestjs-modules"
396
399
  }),
397
- L("design:type", Function),
398
- L("design:paramtypes", []),
399
- L("design:returntype", Boolean)
400
- ], W.prototype, "parseNestjsModules", null), R([
400
+ __decorateMetadata("design:type", Function),
401
+ __decorateMetadata("design:paramtypes", []),
402
+ __decorateMetadata("design:returntype", Boolean)
403
+ ], U.prototype, "parseNestjsModules", null), __decorate([
401
404
  M({
402
405
  description: "Skip the fileImports graph type for this run",
403
406
  flags: "--no-file-imports"
404
407
  }),
405
- L("design:type", Function),
406
- L("design:paramtypes", []),
407
- L("design:returntype", Boolean)
408
- ], W.prototype, "parseNoFileImports", null), R([
408
+ __decorateMetadata("design:type", Function),
409
+ __decorateMetadata("design:paramtypes", []),
410
+ __decorateMetadata("design:returntype", Boolean)
411
+ ], U.prototype, "parseNoFileImports", null), __decorate([
409
412
  M({
410
413
  description: "Skip the nestjsModules graph type for this run",
411
414
  flags: "--no-nestjs-modules"
412
415
  }),
413
- L("design:type", Function),
414
- L("design:paramtypes", []),
415
- L("design:returntype", Boolean)
416
- ], W.prototype, "parseNoNestjsModules", null), R([
416
+ __decorateMetadata("design:type", Function),
417
+ __decorateMetadata("design:paramtypes", []),
418
+ __decorateMetadata("design:returntype", Boolean)
419
+ ], U.prototype, "parseNoNestjsModules", null), __decorate([
417
420
  M({
418
421
  description: "Skip the nxProjects graph type for this run",
419
422
  flags: "--no-nx-projects"
420
423
  }),
421
- L("design:type", Function),
422
- L("design:paramtypes", []),
423
- L("design:returntype", Boolean)
424
- ], W.prototype, "parseNoNxProjects", null), R([
424
+ __decorateMetadata("design:type", Function),
425
+ __decorateMetadata("design:paramtypes", []),
426
+ __decorateMetadata("design:returntype", Boolean)
427
+ ], U.prototype, "parseNoNxProjects", null), __decorate([
425
428
  M({
426
429
  description: "Build, check, and write the nxProjects graph type",
427
430
  flags: "--nx-projects"
428
431
  }),
429
- L("design:type", Function),
430
- L("design:paramtypes", []),
431
- L("design:returntype", Boolean)
432
- ], W.prototype, "parseNxProjects", null), R([
432
+ __decorateMetadata("design:type", Function),
433
+ __decorateMetadata("design:paramtypes", []),
434
+ __decorateMetadata("design:returntype", Boolean)
435
+ ], U.prototype, "parseNxProjects", null), __decorate([
433
436
  M({
434
437
  description: "Comma-separated project names or roots to export for, as globs, beyond those include already selects. Also narrows the Workspace Graph and --check boundaries to the named set",
435
438
  flags: "--projects [projects]"
436
439
  }),
437
- L("design:type", Function),
438
- L("design:paramtypes", [Object]),
439
- L("design:returntype", Object)
440
- ], W.prototype, "parseProjects", null), R([
440
+ __decorateMetadata("design:type", Function),
441
+ __decorateMetadata("design:paramtypes", [Object]),
442
+ __decorateMetadata("design:returntype", Object)
443
+ ], U.prototype, "parseProjects", null), __decorate([
441
444
  M({
442
445
  description: "Comma-separated Nx tags to export for, beyond what include already selects. Also narrows the Workspace Graph and --check boundaries to the tagged projects",
443
446
  flags: "--tags [tags]"
444
447
  }),
445
- L("design:type", Function),
446
- L("design:paramtypes", [Object]),
447
- L("design:returntype", Object)
448
- ], W.prototype, "parseTags", null), R([
448
+ __decorateMetadata("design:type", Function),
449
+ __decorateMetadata("design:paramtypes", [Object]),
450
+ __decorateMetadata("design:returntype", Object)
451
+ ], U.prototype, "parseTags", null), __decorate([
449
452
  M({
450
453
  description: "Write every configured export",
451
454
  flags: "--write"
452
455
  }),
453
- L("design:type", Function),
454
- L("design:paramtypes", [Object]),
455
- L("design:returntype", Boolean)
456
- ], W.prototype, "parseWrite", null), W = U = R([
456
+ __decorateMetadata("design:type", Function),
457
+ __decorateMetadata("design:paramtypes", [Object]),
458
+ __decorateMetadata("design:returntype", Boolean)
459
+ ], U.prototype, "parseWrite", null), U = H = __decorate([
457
460
  A({
458
461
  description: "Map every configured dependency graph and export it",
459
462
  name: "map"
460
463
  }),
461
464
  n(),
462
- L("design:paramtypes", [
465
+ __decorateMetadata("design:paramtypes", [
463
466
  w === void 0 ? Object : w,
464
467
  p === void 0 ? Object : p,
465
468
  b === void 0 ? Object : b,
466
469
  v === void 0 ? Object : v,
467
- B === void 0 ? Object : B,
470
+ z === void 0 ? Object : z,
468
471
  k === void 0 ? Object : k,
469
472
  h === void 0 ? Object : h
470
473
  ])
471
- ], W);
474
+ ], U);
472
475
  //#endregion
473
476
  //#region packages/ic-suite/codependix/codependix-cli/src/modules/map/map.module.ts
474
- var G = class {};
475
- G = R([r({
477
+ var W = class MapModule {};
478
+ W = __decorate([r({
476
479
  controllers: [],
477
- exports: [W],
480
+ exports: [U],
478
481
  imports: [
479
482
  f,
480
483
  y,
@@ -483,22 +486,22 @@ G = R([r({
483
486
  O,
484
487
  m
485
488
  ],
486
- providers: [W]
487
- })], G);
489
+ providers: [U]
490
+ })], W);
488
491
  //#endregion
489
492
  //#region packages/ic-suite/codependix/codependix-cli/src/modules/path/path.constants.ts
490
- var K = "The path command requires both <from> and <to> arguments, as in \"codependix path <from> <to>\".", q, J = q = class extends j {
493
+ var G = "The path command requires both <from> and <to> arguments, as in \"codependix path <from> <to>\".", K, q = K = class PathCommand extends j {
491
494
  configurationService;
492
495
  logger;
493
496
  pathQueryService;
494
497
  reportingService;
495
498
  runContextService;
496
499
  constructor(e, t, n, r, i) {
497
- super(), this.configurationService = e, this.logger = t, this.pathQueryService = n, this.reportingService = r, this.runContextService = i, this.logger.setContext(q.name);
500
+ super(), this.configurationService = e, this.logger = t, this.pathQueryService = n, this.reportingService = r, this.runContextService = i, this.logger.setContext(K.name);
498
501
  }
499
502
  validateInputs(e, t) {
500
503
  let n = e[0], r = e[1];
501
- if (!n || !r) return this.logger.error("🕸️ Rejected the command line", void 0, { reasons: [K] }), process.exitCode = 1, null;
504
+ if (!n || !r) return this.logger.error("🕸️ Rejected the command line", void 0, { reasons: [G] }), process.exitCode = 1, null;
502
505
  let { errors: i, format: a } = this.pathQueryService.resolveFormat(t.format);
503
506
  return i.length > 0 ? (this.logger.error("🕸️ Rejected the command line", void 0, { reasons: i }), process.exitCode = 1, null) : {
504
507
  format: a,
@@ -567,152 +570,152 @@ var K = "The path command requires both <from> and <to> arguments, as in \"codep
567
570
  }
568
571
  }
569
572
  };
570
- R([
573
+ __decorate([
571
574
  M({
572
575
  description: "Path to the codependix configuration file",
573
576
  flags: "--config [config]"
574
577
  }),
575
- L("design:type", Function),
576
- L("design:paramtypes", [Object]),
577
- L("design:returntype", Object)
578
- ], J.prototype, "parseConfig", null), R([
578
+ __decorateMetadata("design:type", Function),
579
+ __decorateMetadata("design:paramtypes", [Object]),
580
+ __decorateMetadata("design:returntype", Object)
581
+ ], q.prototype, "parseConfig", null), __decorate([
579
582
  M({
580
583
  description: "Directory whose Nx workspace this run reads",
581
584
  flags: "-d, --directory [directory]"
582
585
  }),
583
- L("design:type", Function),
584
- L("design:paramtypes", [Object]),
585
- L("design:returntype", String)
586
- ], J.prototype, "parseDirectory", null), R([
586
+ __decorateMetadata("design:type", Function),
587
+ __decorateMetadata("design:paramtypes", [Object]),
588
+ __decorateMetadata("design:returntype", String)
589
+ ], q.prototype, "parseDirectory", null), __decorate([
587
590
  M({
588
591
  description: "Comma-separated globs overriding the configured exclude. Refused when exclude was never configured",
589
592
  flags: "--exclude [exclude]"
590
593
  }),
591
- L("design:type", Function),
592
- L("design:paramtypes", [Object]),
593
- L("design:returntype", Array)
594
- ], J.prototype, "parseExclude", null), R([
594
+ __decorateMetadata("design:type", Function),
595
+ __decorateMetadata("design:paramtypes", [Object]),
596
+ __decorateMetadata("design:returntype", Array)
597
+ ], q.prototype, "parseExclude", null), __decorate([
595
598
  M({
596
599
  description: "Query the fileImports graph type",
597
600
  flags: "--file-imports"
598
601
  }),
599
- L("design:type", Function),
600
- L("design:paramtypes", []),
601
- L("design:returntype", Boolean)
602
- ], J.prototype, "parseFileImports", null), R([
602
+ __decorateMetadata("design:type", Function),
603
+ __decorateMetadata("design:paramtypes", []),
604
+ __decorateMetadata("design:returntype", Boolean)
605
+ ], q.prototype, "parseFileImports", null), __decorate([
603
606
  M({
604
607
  description: `What to print to standard output, one of ${T.join(", ")} (default: ${x})`,
605
608
  flags: "-f, --format [format]"
606
609
  }),
607
- L("design:type", Function),
608
- L("design:paramtypes", [Object]),
609
- L("design:returntype", Object)
610
- ], J.prototype, "parseFormat", null), R([
610
+ __decorateMetadata("design:type", Function),
611
+ __decorateMetadata("design:paramtypes", [Object]),
612
+ __decorateMetadata("design:returntype", Object)
613
+ ], q.prototype, "parseFormat", null), __decorate([
611
614
  M({
612
615
  description: "Comma-separated globs overriding the configured include. Refused when include was never configured",
613
616
  flags: "--include [include]"
614
617
  }),
615
- L("design:type", Function),
616
- L("design:paramtypes", [Object]),
617
- L("design:returntype", Array)
618
- ], J.prototype, "parseInclude", null), R([
618
+ __decorateMetadata("design:type", Function),
619
+ __decorateMetadata("design:paramtypes", [Object]),
620
+ __decorateMetadata("design:returntype", Array)
621
+ ], q.prototype, "parseInclude", null), __decorate([
619
622
  M({
620
623
  description: "Query the nestjsModules graph type",
621
624
  flags: "--nestjs-modules"
622
625
  }),
623
- L("design:type", Function),
624
- L("design:paramtypes", []),
625
- L("design:returntype", Boolean)
626
- ], J.prototype, "parseNestjsModules", null), R([
626
+ __decorateMetadata("design:type", Function),
627
+ __decorateMetadata("design:paramtypes", []),
628
+ __decorateMetadata("design:returntype", Boolean)
629
+ ], q.prototype, "parseNestjsModules", null), __decorate([
627
630
  M({
628
631
  description: "Skip the fileImports graph type for this query",
629
632
  flags: "--no-file-imports"
630
633
  }),
631
- L("design:type", Function),
632
- L("design:paramtypes", []),
633
- L("design:returntype", Boolean)
634
- ], J.prototype, "parseNoFileImports", null), R([
634
+ __decorateMetadata("design:type", Function),
635
+ __decorateMetadata("design:paramtypes", []),
636
+ __decorateMetadata("design:returntype", Boolean)
637
+ ], q.prototype, "parseNoFileImports", null), __decorate([
635
638
  M({
636
639
  description: "Skip the nestjsModules graph type for this query",
637
640
  flags: "--no-nestjs-modules"
638
641
  }),
639
- L("design:type", Function),
640
- L("design:paramtypes", []),
641
- L("design:returntype", Boolean)
642
- ], J.prototype, "parseNoNestjsModules", null), R([
642
+ __decorateMetadata("design:type", Function),
643
+ __decorateMetadata("design:paramtypes", []),
644
+ __decorateMetadata("design:returntype", Boolean)
645
+ ], q.prototype, "parseNoNestjsModules", null), __decorate([
643
646
  M({
644
647
  description: "Skip the nxProjects graph type for this query",
645
648
  flags: "--no-nx-projects"
646
649
  }),
647
- L("design:type", Function),
648
- L("design:paramtypes", []),
649
- L("design:returntype", Boolean)
650
- ], J.prototype, "parseNoNxProjects", null), R([
650
+ __decorateMetadata("design:type", Function),
651
+ __decorateMetadata("design:paramtypes", []),
652
+ __decorateMetadata("design:returntype", Boolean)
653
+ ], q.prototype, "parseNoNxProjects", null), __decorate([
651
654
  M({
652
655
  description: "Query the nxProjects graph type",
653
656
  flags: "--nx-projects"
654
657
  }),
655
- L("design:type", Function),
656
- L("design:paramtypes", []),
657
- L("design:returntype", Boolean)
658
- ], J.prototype, "parseNxProjects", null), R([
658
+ __decorateMetadata("design:type", Function),
659
+ __decorateMetadata("design:paramtypes", []),
660
+ __decorateMetadata("design:returntype", Boolean)
661
+ ], q.prototype, "parseNxProjects", null), __decorate([
659
662
  M({
660
663
  description: "Comma-separated project names or roots to search across, as globs, beyond those include already selects",
661
664
  flags: "--projects [projects]"
662
665
  }),
663
- L("design:type", Function),
664
- L("design:paramtypes", [Object]),
665
- L("design:returntype", Object)
666
- ], J.prototype, "parseProjects", null), R([
666
+ __decorateMetadata("design:type", Function),
667
+ __decorateMetadata("design:paramtypes", [Object]),
668
+ __decorateMetadata("design:returntype", Object)
669
+ ], q.prototype, "parseProjects", null), __decorate([
667
670
  M({
668
671
  description: "Comma-separated Nx tags to search across, beyond what include already selects",
669
672
  flags: "--tags [tags]"
670
673
  }),
671
- L("design:type", Function),
672
- L("design:paramtypes", [Object]),
673
- L("design:returntype", Object)
674
- ], J.prototype, "parseTags", null), J = q = R([
674
+ __decorateMetadata("design:type", Function),
675
+ __decorateMetadata("design:paramtypes", [Object]),
676
+ __decorateMetadata("design:returntype", Object)
677
+ ], q.prototype, "parseTags", null), q = K = __decorate([
675
678
  A({
676
679
  arguments: "<from> <to>",
677
680
  description: "Find the shortest connecting path between two nodes in codependix graphs",
678
681
  name: "path"
679
682
  }),
680
683
  n(),
681
- L("design:paramtypes", [
684
+ __decorateMetadata("design:paramtypes", [
682
685
  v === void 0 ? Object : v,
683
- B === void 0 ? Object : B,
686
+ z === void 0 ? Object : z,
684
687
  D === void 0 ? Object : D,
685
688
  k === void 0 ? Object : k,
686
689
  h === void 0 ? Object : h
687
690
  ])
688
- ], J);
691
+ ], q);
689
692
  //#endregion
690
693
  //#region packages/ic-suite/codependix/codependix-cli/src/modules/path/path.module.ts
691
- var Y = class {};
692
- Y = R([r({
694
+ var J = class PathModule {};
695
+ J = __decorate([r({
693
696
  controllers: [],
694
- exports: [J],
697
+ exports: [q],
695
698
  imports: [
696
699
  _,
697
700
  E,
698
701
  O,
699
702
  m
700
703
  ],
701
- providers: [J]
702
- })], Y);
704
+ providers: [q]
705
+ })], J);
703
706
  //#endregion
704
707
  //#region packages/ic-suite/codependix/codependix-cli/src/main.module.ts
705
- var X = class {};
706
- X = R([r({ imports: [
708
+ var Y = class MainModule {};
709
+ Y = __decorate([r({ imports: [
707
710
  a.forRoot({
708
711
  envFilePath: ".env",
709
712
  isGlobal: !0,
710
- validate: (e) => H.parse(e)
713
+ validate: (e) => V.parse(e)
711
714
  }),
712
715
  o,
713
- V,
714
- G,
715
- Y
716
- ] })], X);
716
+ B,
717
+ W,
718
+ J
719
+ ] })], Y);
717
720
  //#endregion
718
- export { B as i, G as n, W as r, X as t };
721
+ export { __name as a, z as i, W as n, U as r, Y as t };
package/dist/src/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "../main.module-CoJiQi-B.js";
1
+ import { n as e, r as t, t as n } from "../main.module-DhSimp4F.js";
2
2
  export { n as MainModule, t as MapCommand, e as MapModule };
package/dist/src/main.js CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
- import { i as e, t } from "../main.module-CoJiQi-B.js";
2
+ import { i as e, t } from "../main.module-DhSimp4F.js";
3
3
  import { CommandFactory as n } from "nest-commander";
4
4
  import "reflect-metadata";
5
5
  //#region packages/ic-suite/codependix/codependix-cli/src/main.ts
6
- async function r() {
6
+ async function main() {
7
7
  e.logToStandardError();
8
8
  let r = new e();
9
9
  r.setContext("CommandFactory"), await n.run(t, {
@@ -11,5 +11,5 @@ async function r() {
11
11
  logger: r
12
12
  });
13
13
  }
14
- r();
14
+ main();
15
15
  //#endregion
package/package.json CHANGED
@@ -7,10 +7,10 @@
7
7
  "url": "https://github.com/organizzolini/codebase/issues"
8
8
  },
9
9
  "dependencies": {
10
- "@codependix/boundaries": "0.0.7",
11
- "@codependix/configuration": "0.0.8",
12
- "@codependix/core": "0.0.7",
13
- "@codependix/output": "0.0.7",
10
+ "@codependix/boundaries": "0.0.9",
11
+ "@codependix/configuration": "0.0.10",
12
+ "@codependix/core": "0.0.9",
13
+ "@codependix/output": "0.0.9",
14
14
  "@nestjs/common": "^11.1.21 || ^12.0.1",
15
15
  "@nestjs/config": "^12.0.0",
16
16
  "@nestjs/core": "^11.1.21 || ^12.0.1",
@@ -74,5 +74,5 @@
74
74
  "strict": true
75
75
  },
76
76
  "types": "./dist/src/index.d.ts",
77
- "version": "0.0.7"
77
+ "version": "0.0.9"
78
78
  }