@codependix/cli 0.0.15 โ 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +89 -66
- package/dist/{main.module-DJFfw_zD.js โ main.module-BySMJCYI.js} +7 -15
- package/dist/src/index.js +1 -2
- package/dist/src/main.js +1 -1
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## 0.0.16 (2026-10-13)
|
|
2
|
+
|
|
3
|
+
### ๐ Features
|
|
4
|
+
|
|
5
|
+
- **codependix:** โจ infer a per-project codependix-gate target from a new nx plugin ([#1429](https://github.com/organizzolini/codebase/pull/1429), [#1403](https://github.com/organizzolini/codebase/issues/1403))
|
|
6
|
+
|
|
7
|
+
### ๐งฑ Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated codependix-configuration to 0.0.16
|
|
10
|
+
- Updated codependix-boundaries to 0.0.15
|
|
11
|
+
- Updated codependix-output to 0.0.15
|
|
12
|
+
- Updated codependix-core to 0.0.14
|
|
13
|
+
|
|
1
14
|
## 0.0.15 (2026-10-12)
|
|
2
15
|
|
|
3
16
|
### ๐งฑ Updated Dependencies
|
package/README.md
CHANGED
|
@@ -62,10 +62,11 @@ on opposite sides of a pull request.
|
|
|
62
62
|
| `reports` | A configured destination no longer holding what a fresh run would write |
|
|
63
63
|
|
|
64
64
|
A boundary violation is caused by the branch and fixed by the branch, so it
|
|
65
|
-
gates every pull request
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
gates every pull request, one project at a time โ see
|
|
66
|
+
[The per-project gate](#the-per-project-gate). A stale export moves with the
|
|
67
|
+
workspace it describes and would fail every branch that changed a project
|
|
68
|
+
graph rather than anything the branch itself did, so it is published on the
|
|
69
|
+
default branch and gated nowhere. That is the same split
|
|
69
70
|
[`callidescope`](../callidescope-cli/README.md) makes between `--check depth`
|
|
70
71
|
and `--check reports`, and `reports` is deliberately spelled the same in both:
|
|
71
72
|
it is the same finding, and two names for it would make the two reports
|
|
@@ -118,8 +119,13 @@ reported the same way, as a rejected command line rather than a crash.
|
|
|
118
119
|
No mode is ever inferred, which is the rule `codometer`'s and
|
|
119
120
|
`callidescope`'s flags follow too.
|
|
120
121
|
|
|
122
|
+
In an Nx workspace the gate is a per-project `codependix-gate` target, and
|
|
123
|
+
publishing is the one workspace-wide `write` run. This repository's `guard-code`
|
|
124
|
+
reaches the first on every pull request, and its release workflow runs the
|
|
125
|
+
second on the default branch:
|
|
126
|
+
|
|
121
127
|
```bash
|
|
122
|
-
nx run
|
|
128
|
+
nx run <project>:codependix-gate
|
|
123
129
|
nx run codebase:codependix:write
|
|
124
130
|
```
|
|
125
131
|
|
|
@@ -128,6 +134,21 @@ boot its container โ is reported and does not stop the rest: `--write` either
|
|
|
128
134
|
fully succeeds or names exactly which projects failed while still completing
|
|
129
135
|
every other one.
|
|
130
136
|
|
|
137
|
+
### The per-project gate
|
|
138
|
+
|
|
139
|
+
`--check boundaries --projects <name>` is a gate for one project, and needs no
|
|
140
|
+
task runner. [`@codependix/nx`](../codependix-nx/README.md) infers it for an
|
|
141
|
+
Nx workspace as a cached `codependix-gate` target on every project but the
|
|
142
|
+
workspace root, so `nx affected -t codependix-gate` selects the projects a
|
|
143
|
+
change touched and a failure names the project it is charged to rather than
|
|
144
|
+
one workspace-wide task. The target declares no configurations, so
|
|
145
|
+
`guard-code --configuration=check` falls through to its defaults, as
|
|
146
|
+
`callidescope-gate` does.
|
|
147
|
+
|
|
148
|
+
Publishing stays workspace-wide: one `--write` run produces every project's
|
|
149
|
+
anchor blocks, which must reflect one commit, so `codebase:codependix` is
|
|
150
|
+
`write`-only and is not part of `guard-code`.
|
|
151
|
+
|
|
131
152
|
### Where the output goes
|
|
132
153
|
|
|
133
154
|
Printing and delivering are separate. `--format` decides what reaches standard
|
|
@@ -173,6 +194,7 @@ and [a container that cannot boot](../codependix-examples/examples/boundary-boot
|
|
|
173
194
|
| [`@codependix/boundaries`](../codependix-boundaries/README.md) | Builds each level's graph for a workspace, judges it against the declared rules, and reports what breaks them. `--check boundaries` delegates to it wholesale |
|
|
174
195
|
| [`@codependix/configuration`](../codependix-configuration/README.md) | Reads `codependix.config.ts` and resolves per-project export destinations and boundary rules |
|
|
175
196
|
| [`@codependix/examples`](../codependix-examples/README.md) | Twenty-one subjects built to be graphed, each with the guide codependix renders from it |
|
|
197
|
+
| [`@codependix/nx`](../codependix-nx/README.md) | Nx plugin: infers a per-project `codependix-gate` target that runs `--check boundaries` over the project and its Nx dependencies |
|
|
176
198
|
| [`@codependix/nx-projects`](../codependix-nx-projects/README.md) | Builds a project's Nx Neighborhood and the whole-workspace Workspace Graph |
|
|
177
199
|
| [`@codependix/nestjs-modules`](../codependix-nestjs-modules/README.md) | Explores a NestJS project's container and builds its module graph |
|
|
178
200
|
| [`@codependix/file-imports`](../codependix-file-imports/README.md) | Builds a project's file-level import graph โ a `typescript` module walking its own `ts.Program`, and a `python` module parsing `import`/`from ... import` statements |
|
|
@@ -233,6 +255,7 @@ graph LR
|
|
|
233
255
|
codependix_configuration["codependix-configuration"]
|
|
234
256
|
codependix_core["codependix-core"]
|
|
235
257
|
codependix_examples["codependix-examples"]
|
|
258
|
+
codependix_nx["codependix-nx"]
|
|
236
259
|
codependix_output["codependix-output"]
|
|
237
260
|
logging["logging"]
|
|
238
261
|
codependix_cli --> codependix_boundaries
|
|
@@ -241,6 +264,7 @@ graph LR
|
|
|
241
264
|
codependix_cli --> codependix_output
|
|
242
265
|
codependix_cli --> logging
|
|
243
266
|
codependix_examples -.-> codependix_cli
|
|
267
|
+
codependix_nx --> codependix_cli
|
|
244
268
|
classDef subject fill:#7c3aed,color:#fff,stroke:#4c1d95,stroke-width:2px
|
|
245
269
|
class codependix_cli subject
|
|
246
270
|
```
|
|
@@ -415,9 +439,9 @@ Call stacks traced through `packages/ic-suite/codependix/codependix-cli`, deepes
|
|
|
415
439
|
|
|
416
440
|
| Measure | Value |
|
|
417
441
|
| --- | --- |
|
|
418
|
-
| Callables |
|
|
442
|
+
| Callables | 42 |
|
|
419
443
|
| Files | 19 |
|
|
420
|
-
| Calls traced |
|
|
444
|
+
| Calls traced | 37 |
|
|
421
445
|
| Call stacks | 19 |
|
|
422
446
|
| Deepest stack | 15 |
|
|
423
447
|
| Stacks through recursion | 0 |
|
|
@@ -437,11 +461,11 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
437
461
|
**1. `MapCommand.run`** โ depth โฅ 15 ยท decorated-method
|
|
438
462
|
|
|
439
463
|
```text
|
|
440
|
-
๐ MapCommand.run(_passedParameters: string[], options?: MapCommandOptions): Promise<void> [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
464
|
+
๐ MapCommand.run(_passedParameters: string[], options?: MapCommandOptions): Promise<void> [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:377]
|
|
441
465
|
โณ Runs whatever the command line asked for: exports, boundaries, or both.
|
|
442
|
-
โโ> MapCommand.runMode(โฆ): Promise<void> [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
466
|
+
โโ> MapCommand.runMode(โฆ): Promise<void> [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:125]
|
|
443
467
|
โณ Runs the passes a resolved mode selected, and reports what they found.
|
|
444
|
-
โโ> MapCommand.runExports(context: GraphRunContext): Promise<MapRunResult> [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
468
|
+
โโ> MapCommand.runExports(context: GraphRunContext): Promise<MapRunResult> [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:106]
|
|
445
469
|
โณ Runs the export pass, warning when nothing was selected.
|
|
446
470
|
โโ> GraphRunService.run(context: GraphRunContext): Promise<MapRunResult> [packages/ic-suite/codependix/codependix-output/src/modules/graph-run/graph-run.service.ts:144]
|
|
447
471
|
โณ Runs every configured graph export against an already-resolved context.
|
|
@@ -496,9 +520,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
496
520
|
**3. `MapCommand.parseDirectory`** โ depth 4 ยท decorated-method
|
|
497
521
|
|
|
498
522
|
```text
|
|
499
|
-
๐ MapCommand.parseDirectory(value: string | undefined): string [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
523
|
+
๐ MapCommand.parseDirectory(value: string | undefined): string [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:191]
|
|
500
524
|
โณ Parses the directory whose Nx workspace this run reads.
|
|
501
|
-
โโ> ConfigurationService.parsePathOption(value: string | undefined): string [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
525
|
+
โโ> ConfigurationService.parsePathOption(value: string | undefined): string [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:294]
|
|
502
526
|
โณ Parses a path option that falls back to the working directory.
|
|
503
527
|
โโ> InputService.parsePathOption(value: string | undefined): string [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:87]
|
|
504
528
|
โณ Parses a path option that falls back to the working directory.
|
|
@@ -512,9 +536,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
512
536
|
**4. `MapCommand.parseExclude`** โ depth 4 ยท decorated-method
|
|
513
537
|
|
|
514
538
|
```text
|
|
515
|
-
๐ MapCommand.parseExclude(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
539
|
+
๐ MapCommand.parseExclude(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:207]
|
|
516
540
|
โณ Parses `--exclude`, a comma-separated list of globs overriding the configured `exclude`.
|
|
517
|
-
โโ> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
541
|
+
โโ> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:279]
|
|
518
542
|
โณ Parses a comma-separated list option, dropping blank entries.
|
|
519
543
|
โโ> InputService.parseCommaDelimitedOption(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:54]
|
|
520
544
|
โณ Parses a comma-separated list option, dropping blank entries.
|
|
@@ -524,9 +548,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
524
548
|
**5. `MapCommand.parseInclude`** โ depth 4 ยท decorated-method
|
|
525
549
|
|
|
526
550
|
```text
|
|
527
|
-
๐ MapCommand.parseInclude(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
551
|
+
๐ MapCommand.parseInclude(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:246]
|
|
528
552
|
โณ Parses `--include`, a comma-separated list of globs overriding the configured `include`.
|
|
529
|
-
โโ> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
553
|
+
โโ> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:279]
|
|
530
554
|
โณ Parses a comma-separated list option, dropping blank entries.
|
|
531
555
|
โโ> InputService.parseCommaDelimitedOption(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:54]
|
|
532
556
|
โณ Parses a comma-separated list option, dropping blank entries.
|
|
@@ -538,7 +562,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
538
562
|
```text
|
|
539
563
|
๐ PathCommand.parseDirectory(value: string | undefined): string [packages/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:98]
|
|
540
564
|
โณ Parses the directory whose Nx workspace this run reads.
|
|
541
|
-
โโ> ConfigurationService.parsePathOption(value: string | undefined): string [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
565
|
+
โโ> ConfigurationService.parsePathOption(value: string | undefined): string [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:294]
|
|
542
566
|
โณ Parses a path option that falls back to the working directory.
|
|
543
567
|
โโ> InputService.parsePathOption(value: string | undefined): string [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:87]
|
|
544
568
|
โณ Parses a path option that falls back to the working directory.
|
|
@@ -551,7 +575,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
551
575
|
```text
|
|
552
576
|
๐ PathCommand.parseExclude(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:107]
|
|
553
577
|
โณ Parses `--exclude`, a comma-separated list of globs overriding the configured `exclude`.
|
|
554
|
-
โโ> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
578
|
+
โโ> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:279]
|
|
555
579
|
โณ Parses a comma-separated list option, dropping blank entries.
|
|
556
580
|
โโ> InputService.parseCommaDelimitedOption(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:54]
|
|
557
581
|
โณ Parses a comma-separated list option, dropping blank entries.
|
|
@@ -563,7 +587,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
563
587
|
```text
|
|
564
588
|
๐ PathCommand.parseInclude(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:139]
|
|
565
589
|
โณ Parses `--include`, a comma-separated list of globs overriding the configured `include`.
|
|
566
|
-
โโ> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
590
|
+
โโ> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:279]
|
|
567
591
|
โณ Parses a comma-separated list option, dropping blank entries.
|
|
568
592
|
โโ> InputService.parseCommaDelimitedOption(value: string | undefined): string[] [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:54]
|
|
569
593
|
โณ Parses a comma-separated list option, dropping blank entries.
|
|
@@ -573,9 +597,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
573
597
|
**9. `MapCommand.parseConfig`** โ depth 3 ยท decorated-method
|
|
574
598
|
|
|
575
599
|
```text
|
|
576
|
-
๐ MapCommand.parseConfig(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
600
|
+
๐ MapCommand.parseConfig(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:182]
|
|
577
601
|
โณ Parses the optional configuration path from command-line input.
|
|
578
|
-
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
602
|
+
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:289]
|
|
579
603
|
โณ Trims an optional string option, treating blank as absent.
|
|
580
604
|
โโ> InputService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
581
605
|
โณ Trims an optional string option, treating blank as absent.
|
|
@@ -584,9 +608,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
584
608
|
**10. `MapCommand.parseFormat`** โ depth 3 ยท decorated-method
|
|
585
609
|
|
|
586
610
|
```text
|
|
587
|
-
๐ MapCommand.parseFormat(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
611
|
+
๐ MapCommand.parseFormat(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:231]
|
|
588
612
|
โณ Parses what `--format` prints to standard output.
|
|
589
|
-
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
613
|
+
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:289]
|
|
590
614
|
โณ Trims an optional string option, treating blank as absent.
|
|
591
615
|
โโ> InputService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
592
616
|
โณ Trims an optional string option, treating blank as absent.
|
|
@@ -595,9 +619,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
595
619
|
**11. `MapCommand.parseJsonOutput`** โ depth 3 ยท decorated-method
|
|
596
620
|
|
|
597
621
|
```text
|
|
598
|
-
๐ MapCommand.parseJsonOutput(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
622
|
+
๐ MapCommand.parseJsonOutput(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:259]
|
|
599
623
|
โณ Parses `--json-output`, the path to write every active graph type's combined JSON data to, keyed by graph type name.
|
|
600
|
-
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
624
|
+
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:289]
|
|
601
625
|
โณ Trims an optional string option, treating blank as absent.
|
|
602
626
|
โโ> InputService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
603
627
|
โณ Trims an optional string option, treating blank as absent.
|
|
@@ -606,9 +630,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
606
630
|
**12. `MapCommand.parseMarkdownOutput`** โ depth 3 ยท decorated-method
|
|
607
631
|
|
|
608
632
|
```text
|
|
609
|
-
๐ MapCommand.parseMarkdownOutput(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
633
|
+
๐ MapCommand.parseMarkdownOutput(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:272]
|
|
610
634
|
โณ Parses `--markdown-output`, the path to write every active graph type's combined, anchor-spliced Markdown diagram to.
|
|
611
|
-
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
635
|
+
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:289]
|
|
612
636
|
โณ Trims an optional string option, treating blank as absent.
|
|
613
637
|
โโ> InputService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
614
638
|
โณ Trims an optional string option, treating blank as absent.
|
|
@@ -617,9 +641,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
617
641
|
**13. `MapCommand.parseProjects`** โ depth 3 ยท decorated-method
|
|
618
642
|
|
|
619
643
|
```text
|
|
620
|
-
๐ MapCommand.parseProjects(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
644
|
+
๐ MapCommand.parseProjects(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:336]
|
|
621
645
|
โณ Parses the projects a run exports for beyond `include`. **Widening, and narrowing.** A named project is added toโฆ
|
|
622
|
-
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
646
|
+
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:289]
|
|
623
647
|
โณ Trims an optional string option, treating blank as absent.
|
|
624
648
|
โโ> InputService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
625
649
|
โณ Trims an optional string option, treating blank as absent.
|
|
@@ -628,9 +652,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
628
652
|
**14. `MapCommand.parseTags`** โ depth 3 ยท decorated-method
|
|
629
653
|
|
|
630
654
|
```text
|
|
631
|
-
๐ MapCommand.parseTags(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
655
|
+
๐ MapCommand.parseTags(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:349]
|
|
632
656
|
โณ Parses the Nx tags a run exports for, matched exactly against a project's own tags.
|
|
633
|
-
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
657
|
+
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:289]
|
|
634
658
|
โณ Trims an optional string option, treating blank as absent.
|
|
635
659
|
โโ> InputService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
636
660
|
โณ Trims an optional string option, treating blank as absent.
|
|
@@ -639,9 +663,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
639
663
|
**15. `MapCommand.parseWrite`** โ depth 3 ยท decorated-method
|
|
640
664
|
|
|
641
665
|
```text
|
|
642
|
-
๐ MapCommand.parseWrite(value: boolean | undefined): boolean [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
666
|
+
๐ MapCommand.parseWrite(value: boolean | undefined): boolean [packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:359]
|
|
643
667
|
โณ Parses the `--write` flag from command-line input.
|
|
644
|
-
โโ> ConfigurationService.parseFlagOption(value: boolean | undefined): boolean [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
668
|
+
โโ> ConfigurationService.parseFlagOption(value: boolean | undefined): boolean [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:284]
|
|
645
669
|
โณ Parses a valueless boolean flag, which is present or it is not.
|
|
646
670
|
โโ> InputService.parseFlagOption(value: boolean | undefined): boolean [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:70]
|
|
647
671
|
โณ Parses a valueless boolean flag, which is present or it is not.
|
|
@@ -652,7 +676,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
652
676
|
```text
|
|
653
677
|
๐ PathCommand.parseConfig(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:89]
|
|
654
678
|
โณ Parses the optional configuration path from command-line input.
|
|
655
|
-
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
679
|
+
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:289]
|
|
656
680
|
โณ Trims an optional string option, treating blank as absent.
|
|
657
681
|
โโ> InputService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
658
682
|
โณ Trims an optional string option, treating blank as absent.
|
|
@@ -663,7 +687,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
663
687
|
```text
|
|
664
688
|
๐ PathCommand.parseFormat(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:130]
|
|
665
689
|
โณ Parses what `--format` prints to standard output. Defaults to Markdown when the flag was left off entirely.
|
|
666
|
-
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
690
|
+
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:289]
|
|
667
691
|
โณ Trims an optional string option, treating blank as absent.
|
|
668
692
|
โโ> InputService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
669
693
|
โณ Trims an optional string option, treating blank as absent.
|
|
@@ -674,7 +698,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
674
698
|
```text
|
|
675
699
|
๐ PathCommand.parseProjects(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:194]
|
|
676
700
|
โณ Parses the projects a query searches across beyond `include`.
|
|
677
|
-
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
701
|
+
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:289]
|
|
678
702
|
โณ Trims an optional string option, treating blank as absent.
|
|
679
703
|
โโ> InputService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
680
704
|
โณ Trims an optional string option, treating blank as absent.
|
|
@@ -685,7 +709,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
685
709
|
```text
|
|
686
710
|
๐ PathCommand.parseTags(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:204]
|
|
687
711
|
โณ Parses the Nx tags a query searches across, matched exactly against project tags.
|
|
688
|
-
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
712
|
+
โโ> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:289]
|
|
689
713
|
โณ Trims an optional string option, treating blank as absent.
|
|
690
714
|
โโ> InputService.parseOptionalOption(value: string | undefined): string | undefined [packages/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
691
715
|
โณ Trims an optional string option, treating blank as absent.
|
|
@@ -697,28 +721,27 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
697
721
|
|
|
698
722
|
| Callable | Breadth | Calls directly | Location |
|
|
699
723
|
| --- | --- | --- | --- |
|
|
700
|
-
| `MapCommand.runMode` | 7 | `RunContextService.build`, `ConfigurationService.touchesFiles`, `MapCommand.runExports`, `BoundaryCheckService.run`, `MapCommand.runCombinedOutput`, `ReportingService.reportPassOutcomes`, `ReportingService.reportSuccess` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
724
|
+
| `MapCommand.runMode` | 7 | `RunContextService.build`, `ConfigurationService.touchesFiles`, `MapCommand.runExports`, `BoundaryCheckService.run`, `MapCommand.runCombinedOutput`, `ReportingService.reportPassOutcomes`, `ReportingService.reportSuccess` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:125` |
|
|
701
725
|
| `PathCommand.run` | 5 | `PathCommand.validateInputs`, `RunContextService.build`, `PathQueryService.query`, `PathQueryService.render`, `ReportingService.reportFailure` | `packages/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:214` |
|
|
702
|
-
| `MapCommand.run` | 4 | `ConfigurationService.selectMode`, `CombinedOutputService.resolveFormat`, `MapCommand.runMode`, `ReportingService.reportFailure` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:
|
|
726
|
+
| `MapCommand.run` | 4 | `ConfigurationService.selectMode`, `CombinedOutputService.resolveFormat`, `MapCommand.runMode`, `ReportingService.reportFailure` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:377` |
|
|
703
727
|
|
|
704
728
|
<details>
|
|
705
|
-
<summary>
|
|
729
|
+
<summary>20 more callables</summary>
|
|
706
730
|
|
|
707
731
|
| Callable | Breadth | Calls directly | Location |
|
|
708
732
|
| --- | --- | --- | --- |
|
|
709
|
-
| `MapCommand.
|
|
710
|
-
| `MapCommand.
|
|
711
|
-
| `MapCommand.
|
|
712
|
-
| `MapCommand.
|
|
713
|
-
| `MapCommand.
|
|
714
|
-
| `MapCommand.
|
|
715
|
-
| `MapCommand.
|
|
716
|
-
| `MapCommand.
|
|
717
|
-
| `MapCommand.
|
|
718
|
-
| `MapCommand.
|
|
719
|
-
| `MapCommand.
|
|
720
|
-
| `MapCommand.
|
|
721
|
-
| `MapCommand.parseWrite` | 1 | `ConfigurationService.parseFlagOption` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:427` |
|
|
733
|
+
| `MapCommand.runExports` | 2 | `GraphRunService.run`, `ReportingService.reportEmptySelection` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:106` |
|
|
734
|
+
| `MapCommand.runCombinedOutput` | 1 | `CombinedOutputService.run` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:82` |
|
|
735
|
+
| `MapCommand.parseConfig` | 1 | `ConfigurationService.parseOptionalOption` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:182` |
|
|
736
|
+
| `MapCommand.parseDirectory` | 1 | `ConfigurationService.parsePathOption` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:191` |
|
|
737
|
+
| `MapCommand.parseExclude` | 1 | `ConfigurationService.parseCommaDelimitedOption` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:207` |
|
|
738
|
+
| `MapCommand.parseFormat` | 1 | `ConfigurationService.parseOptionalOption` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:231` |
|
|
739
|
+
| `MapCommand.parseInclude` | 1 | `ConfigurationService.parseCommaDelimitedOption` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:246` |
|
|
740
|
+
| `MapCommand.parseJsonOutput` | 1 | `ConfigurationService.parseOptionalOption` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:259` |
|
|
741
|
+
| `MapCommand.parseMarkdownOutput` | 1 | `ConfigurationService.parseOptionalOption` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:272` |
|
|
742
|
+
| `MapCommand.parseProjects` | 1 | `ConfigurationService.parseOptionalOption` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:336` |
|
|
743
|
+
| `MapCommand.parseTags` | 1 | `ConfigurationService.parseOptionalOption` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:349` |
|
|
744
|
+
| `MapCommand.parseWrite` | 1 | `ConfigurationService.parseFlagOption` | `packages/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:359` |
|
|
722
745
|
| `PathCommand.validateInputs` | 1 | `PathQueryService.resolveFormat` | `packages/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:53` |
|
|
723
746
|
| `PathCommand.parseConfig` | 1 | `ConfigurationService.parseOptionalOption` | `packages/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:89` |
|
|
724
747
|
| `PathCommand.parseDirectory` | 1 | `ConfigurationService.parsePathOption` | `packages/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:98` |
|
|
@@ -738,13 +761,13 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
738
761
|
### Project
|
|
739
762
|
|
|
740
763
|

|
|
741
|
-

|
|
742
765
|

|
|
743
766
|

|
|
744
767
|
|
|
745
768
|
### Measured Targets
|
|
746
769
|
|
|
747
|
-

|
|
748
771
|
|
|
749
772
|
### TypeScript
|
|
750
773
|
|
|
@@ -791,16 +814,16 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
791
814
|
### JSON
|
|
792
815
|
|
|
793
816
|

|
|
794
|
-

|
|
795
818
|

|
|
796
819
|

|
|
797
|
-

|
|
821
|
+

|
|
799
822
|

|
|
800
823
|

|
|
801
824
|

|
|
802
825
|

|
|
803
|
-

|
|
804
827
|

|
|
805
828
|
|
|
806
829
|
### YAML
|
|
@@ -926,20 +949,20 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
926
949
|
### Markdown
|
|
927
950
|
|
|
928
951
|

|
|
929
|
-

|
|
930
953
|

|
|
931
|
-

|
|
955
|
+

|
|
933
956
|

|
|
934
957
|

|
|
935
958
|

|
|
936
|
-

|
|
960
|
+

|
|
961
|
+

|
|
939
962
|

|
|
940
963
|

|
|
941
964
|

|
|
942
|
-

|
|
943
966
|

|
|
944
967
|

|
|
945
968
|

|
|
@@ -43,12 +43,12 @@ var N = Object.defineProperty, __name = (e, t) => N(e, "name", {
|
|
|
43
43
|
"TypeOrmModule"
|
|
44
44
|
]);
|
|
45
45
|
//#endregion
|
|
46
|
-
//#region \0@oxc-project+runtime@0.
|
|
46
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateMetadata.js
|
|
47
47
|
function __decorateMetadata(e, t) {
|
|
48
48
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
|
|
49
49
|
}
|
|
50
50
|
//#endregion
|
|
51
|
-
//#region \0@oxc-project+runtime@0.
|
|
51
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
|
|
52
52
|
function __decorate(e, t, n, r) {
|
|
53
53
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
54
54
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
@@ -85,11 +85,7 @@ var R, z = class LoggerService extends e {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
static logToStandardError() {
|
|
88
|
-
|
|
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.");
|
|
90
|
-
return;
|
|
91
|
-
}
|
|
92
|
-
R.writesToStandardError = !0;
|
|
88
|
+
R.rootLogger === void 0 ? R.writesToStandardError = !0 : 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.");
|
|
93
89
|
}
|
|
94
90
|
assertConventionalMessage(e) {
|
|
95
91
|
if (R.isProduction || this.shouldSkipConventionalMessageValidation(e.context)) return;
|
|
@@ -248,23 +244,19 @@ var V = d.object({}), H, U = H = class MapCommand extends j {
|
|
|
248
244
|
options: r,
|
|
249
245
|
workingDirectory: l.resolve(r.directory ?? process.cwd())
|
|
250
246
|
}), a = this.configurationService.touchesFiles(n) ? await this.runExports(i) : void 0, o = n.checksBoundaries ? await this.boundaryCheckService.run(i) : void 0;
|
|
251
|
-
|
|
247
|
+
this.runCombinedOutput({
|
|
252
248
|
boundaryOutcome: o,
|
|
253
249
|
combinedGraphs: a?.combinedGraphs,
|
|
254
250
|
context: i,
|
|
255
251
|
format: t,
|
|
256
252
|
options: r
|
|
257
|
-
}),
|
|
253
|
+
}), this.reportingService.reportPassOutcomes({
|
|
258
254
|
boundaryOutcome: o,
|
|
259
255
|
exportRun: a
|
|
260
|
-
})
|
|
261
|
-
process.exitCode = 1;
|
|
262
|
-
return;
|
|
263
|
-
}
|
|
264
|
-
this.reportingService.reportSuccess({
|
|
256
|
+
}) ? this.reportingService.reportSuccess({
|
|
265
257
|
boundaryOutcome: o,
|
|
266
258
|
exportOutcome: a?.outcome
|
|
267
|
-
});
|
|
259
|
+
}) : process.exitCode = 1;
|
|
268
260
|
}
|
|
269
261
|
parseCheck(e) {
|
|
270
262
|
return e;
|
package/dist/src/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { n as MainModule, t as MapCommand, e as MapModule };
|
|
1
|
+
export { t as MainModule, r as MapCommand, n as MapModule } from "../main.module-BySMJCYI.js";
|
package/dist/src/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as e, t } from "../main.module-
|
|
2
|
+
import { i as e, t } from "../main.module-BySMJCYI.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
|
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.
|
|
11
|
-
"@codependix/configuration": "0.0.
|
|
12
|
-
"@codependix/core": "0.0.
|
|
13
|
-
"@codependix/output": "0.0.
|
|
10
|
+
"@codependix/boundaries": "0.0.15",
|
|
11
|
+
"@codependix/configuration": "0.0.16",
|
|
12
|
+
"@codependix/core": "0.0.14",
|
|
13
|
+
"@codependix/output": "0.0.15",
|
|
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",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"types": "./dist/src/index.d.ts",
|
|
40
40
|
"default": "./dist/src/index.js"
|
|
41
41
|
},
|
|
42
|
+
"./main": "./dist/src/main.js",
|
|
42
43
|
"./package.json": "./package.json"
|
|
43
44
|
},
|
|
44
45
|
"files": [
|
|
@@ -74,5 +75,5 @@
|
|
|
74
75
|
"strict": true
|
|
75
76
|
},
|
|
76
77
|
"types": "./dist/src/index.d.ts",
|
|
77
|
-
"version": "0.0.
|
|
78
|
+
"version": "0.0.16"
|
|
78
79
|
}
|