@codependix/cli 0.0.26 → 0.0.28
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 +22 -0
- package/README.md +46 -46
- package/dist/{main.module-pZ5kpOrB.js → codependix-cli.module-D9-jrLaT.js} +87 -87
- package/dist/src/{main.js → codependix-cli.main.js} +3 -3
- package/dist/src/index.js +1 -1
- package/package.json +7 -7
- /package/dist/src/{main.d.ts → codependix-cli.main.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
## 0.0.28 (2026-10-15)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated codependix-configuration to 0.0.28
|
|
6
|
+
- Updated codependix-boundaries to 0.0.27
|
|
7
|
+
- Updated codependix-output to 0.0.27
|
|
8
|
+
- Updated codependix-core to 0.0.26
|
|
9
|
+
|
|
10
|
+
## 0.0.27 (2026-10-15)
|
|
11
|
+
|
|
12
|
+
### 🚀 Features
|
|
13
|
+
|
|
14
|
+
- **ic-suite,configuration:** ✨ name root files after their project and declare root modules ([#1588](https://github.com/organizzolini/codebase/pull/1588), [#1480](https://github.com/organizzolini/codebase/issues/1480))
|
|
15
|
+
|
|
16
|
+
### 🧱 Updated Dependencies
|
|
17
|
+
|
|
18
|
+
- Updated codependix-configuration to 0.0.27
|
|
19
|
+
- Updated codependix-boundaries to 0.0.26
|
|
20
|
+
- Updated codependix-output to 0.0.26
|
|
21
|
+
- Updated codependix-core to 0.0.25
|
|
22
|
+
|
|
1
23
|
## 0.0.26 (2026-10-15)
|
|
2
24
|
|
|
3
25
|
### 🧱 Updated Dependencies
|
package/README.md
CHANGED
|
@@ -378,13 +378,15 @@ graph LR
|
|
|
378
378
|
file_codependix_config_ts["codependix.config.ts"]
|
|
379
379
|
file_codometer_config_ts["codometer.config.ts"]
|
|
380
380
|
file_eslint_config_ts["eslint.config.ts"]
|
|
381
|
-
|
|
381
|
+
file_src_codependix_cli_constants_ts["src/codependix-cli.constants.ts"]
|
|
382
|
+
file_src_codependix_cli_main_end_to_end_test_ts["src/codependix-cli.main.end-to-end.test.ts"]
|
|
383
|
+
file_src_codependix_cli_main_ts["src/codependix-cli.main.ts"]
|
|
384
|
+
file_src_codependix_cli_main_unit_test_ts["src/codependix-cli.main.unit.test.ts"]
|
|
385
|
+
file_src_codependix_cli_module_ts["src/codependix-cli.module.ts"]
|
|
386
|
+
file_src_codependix_cli_repl_ts["src/codependix-cli.repl.ts"]
|
|
387
|
+
file_src_codependix_cli_repl_unit_test_ts["src/codependix-cli.repl.unit.test.ts"]
|
|
382
388
|
file_src_index_ts["src/index.ts"]
|
|
383
389
|
file_src_index_unit_test_ts["src/index.unit.test.ts"]
|
|
384
|
-
file_src_main_end_to_end_test_ts["src/main.end-to-end.test.ts"]
|
|
385
|
-
file_src_main_module_ts["src/main.module.ts"]
|
|
386
|
-
file_src_main_ts["src/main.ts"]
|
|
387
|
-
file_src_main_unit_test_ts["src/main.unit.test.ts"]
|
|
388
390
|
file_src_modules_map_map_command_integration_test_ts["src/modules/map/map.command.integration.test.ts"]
|
|
389
391
|
file_src_modules_map_map_command_ts["src/modules/map/map.command.ts"]
|
|
390
392
|
file_src_modules_map_map_command_unit_test_ts["src/modules/map/map.command.unit.test.ts"]
|
|
@@ -399,25 +401,24 @@ graph LR
|
|
|
399
401
|
file_src_modules_path_path_module_ts["src/modules/path/path.module.ts"]
|
|
400
402
|
file_src_modules_path_path_module_unit_test_ts["src/modules/path/path.module.unit.test.ts"]
|
|
401
403
|
file_src_modules_path_path_types_ts["src/modules/path/path.types.ts"]
|
|
402
|
-
file_src_repl_ts["src/repl.ts"]
|
|
403
|
-
file_src_repl_unit_test_ts["src/repl.unit.test.ts"]
|
|
404
404
|
file_testing_mocks_ts["testing/mocks.ts"]
|
|
405
405
|
file_testing_setup_ts["testing/setup.ts"]
|
|
406
406
|
file_vite_config_ts["vite.config.ts"]
|
|
407
407
|
file_vitest_config_ts["vitest.config.ts"]
|
|
408
|
+
file_src_codependix_cli_main_end_to_end_test_ts --> file_src_codependix_cli_constants_ts
|
|
409
|
+
file_src_codependix_cli_main_ts --> file_src_codependix_cli_module_ts
|
|
410
|
+
file_src_codependix_cli_module_ts --> file_src_codependix_cli_constants_ts
|
|
411
|
+
file_src_codependix_cli_module_ts --> file_src_modules_map_map_module_ts
|
|
412
|
+
file_src_codependix_cli_module_ts --> file_src_modules_path_path_module_ts
|
|
413
|
+
file_src_codependix_cli_repl_ts --> file_src_codependix_cli_module_ts
|
|
408
414
|
file_src_index_unit_test_ts --> file_src_index_ts
|
|
409
|
-
|
|
410
|
-
file_src_main_module_ts --> file_src_constants_ts
|
|
411
|
-
file_src_main_module_ts --> file_src_modules_map_map_module_ts
|
|
412
|
-
file_src_main_module_ts --> file_src_modules_path_path_module_ts
|
|
413
|
-
file_src_main_ts --> file_src_main_module_ts
|
|
414
|
-
file_src_modules_map_map_command_integration_test_ts --> file_src_main_module_ts
|
|
415
|
+
file_src_modules_map_map_command_integration_test_ts --> file_src_codependix_cli_module_ts
|
|
415
416
|
file_src_modules_map_map_command_integration_test_ts --> file_src_modules_map_map_command_ts
|
|
416
417
|
file_src_modules_map_map_command_unit_test_ts --> file_src_modules_map_map_command_ts
|
|
417
418
|
file_src_modules_map_map_module_ts --> file_src_modules_map_map_command_ts
|
|
418
419
|
file_src_modules_map_map_module_unit_test_ts --> file_src_modules_map_map_command_ts
|
|
419
420
|
file_src_modules_map_map_module_unit_test_ts --> file_src_modules_map_map_module_ts
|
|
420
|
-
file_src_modules_path_path_command_integration_test_ts -->
|
|
421
|
+
file_src_modules_path_path_command_integration_test_ts --> file_src_codependix_cli_module_ts
|
|
421
422
|
file_src_modules_path_path_command_integration_test_ts --> file_src_modules_path_path_command_ts
|
|
422
423
|
file_src_modules_path_path_command_integration_test_ts --> file_src_modules_path_path_types_ts
|
|
423
424
|
file_src_modules_path_path_command_ts --> file_src_modules_path_path_constants_ts
|
|
@@ -427,7 +428,6 @@ graph LR
|
|
|
427
428
|
file_src_modules_path_path_module_ts --> file_src_modules_path_path_command_ts
|
|
428
429
|
file_src_modules_path_path_module_unit_test_ts --> file_src_modules_path_path_command_ts
|
|
429
430
|
file_src_modules_path_path_module_unit_test_ts --> file_src_modules_path_path_module_ts
|
|
430
|
-
file_src_repl_ts --> file_src_main_module_ts
|
|
431
431
|
```
|
|
432
432
|
<!-- codependix:end name="codependix-file-imports" -->
|
|
433
433
|
|
|
@@ -496,11 +496,11 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
496
496
|
```text
|
|
497
497
|
🚀 PathCommand.run(passedParameters: string[], options?: PathCommandOptions): Promise<void> [projects/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:214]
|
|
498
498
|
↳ Runs the path query between two nodes across active graph levels.
|
|
499
|
-
└─> PathQueryService.query(args: PathQueryArguments): Promise<CombinedPathResults> [projects/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:
|
|
499
|
+
└─> PathQueryService.query(args: PathQueryArguments): Promise<CombinedPathResults> [projects/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:300]
|
|
500
500
|
↳ Queries every enabled graph type for a connecting path between two nodes.
|
|
501
|
-
└─> PathQueryService.queryFileImports(args: PathQueryArguments): null | string[] [projects/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:
|
|
501
|
+
└─> PathQueryService.queryFileImports(args: PathQueryArguments): null | string[] [projects/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:118]
|
|
502
502
|
↳ Queries the file-imports workspace graph for a path between two files.
|
|
503
|
-
└─> PathQueryService.map(…)(project: PythonProject): PythonImportGraph [projects/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:
|
|
503
|
+
└─> PathQueryService.map(…)(project: PythonProject): PythonImportGraph [projects/ic-suite/codependix/codependix-output/src/modules/path-query/path-query.service.ts:121]
|
|
504
504
|
└─> PythonService.buildGraph(project: PythonProject): PythonImportGraph [projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python.service.ts:39]
|
|
505
505
|
↳ Builds a Python project's internal file-level import Graph.
|
|
506
506
|
└─> PythonImportGraphService.buildGraph(project: PythonProject): PythonImportGraph [projects/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:180]
|
|
@@ -522,7 +522,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
522
522
|
```text
|
|
523
523
|
🚀 MapCommand.parseDirectory(value: string | undefined): string [projects/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:271]
|
|
524
524
|
↳ Parses the directory whose Nx workspace this run reads.
|
|
525
|
-
└─> ConfigurationService.parsePathOption(value: string | undefined): string [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
525
|
+
└─> ConfigurationService.parsePathOption(value: string | undefined): string [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:298]
|
|
526
526
|
↳ Parses a path option that falls back to the working directory.
|
|
527
527
|
└─> InputService.parsePathOption(value: string | undefined): string [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:87]
|
|
528
528
|
↳ Parses a path option that falls back to the working directory.
|
|
@@ -538,7 +538,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
538
538
|
```text
|
|
539
539
|
🚀 MapCommand.parseExclude(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:287]
|
|
540
540
|
↳ Parses `--exclude`, a comma-separated list of globs overriding the configured `exclude`.
|
|
541
|
-
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
541
|
+
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:283]
|
|
542
542
|
↳ Parses a comma-separated list option, dropping blank entries.
|
|
543
543
|
└─> InputService.parseCommaDelimitedOption(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:54]
|
|
544
544
|
↳ Parses a comma-separated list option, dropping blank entries.
|
|
@@ -550,7 +550,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
550
550
|
```text
|
|
551
551
|
🚀 MapCommand.parseInclude(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:326]
|
|
552
552
|
↳ Parses `--include`, a comma-separated list of globs overriding the configured `include`.
|
|
553
|
-
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
553
|
+
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:283]
|
|
554
554
|
↳ Parses a comma-separated list option, dropping blank entries.
|
|
555
555
|
└─> InputService.parseCommaDelimitedOption(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:54]
|
|
556
556
|
↳ Parses a comma-separated list option, dropping blank entries.
|
|
@@ -562,7 +562,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
562
562
|
```text
|
|
563
563
|
🚀 PathCommand.parseDirectory(value: string | undefined): string [projects/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:98]
|
|
564
564
|
↳ Parses the directory whose Nx workspace this run reads.
|
|
565
|
-
└─> ConfigurationService.parsePathOption(value: string | undefined): string [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
565
|
+
└─> ConfigurationService.parsePathOption(value: string | undefined): string [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:298]
|
|
566
566
|
↳ Parses a path option that falls back to the working directory.
|
|
567
567
|
└─> InputService.parsePathOption(value: string | undefined): string [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:87]
|
|
568
568
|
↳ Parses a path option that falls back to the working directory.
|
|
@@ -575,7 +575,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
575
575
|
```text
|
|
576
576
|
🚀 PathCommand.parseExclude(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:107]
|
|
577
577
|
↳ Parses `--exclude`, a comma-separated list of globs overriding the configured `exclude`.
|
|
578
|
-
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
578
|
+
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:283]
|
|
579
579
|
↳ Parses a comma-separated list option, dropping blank entries.
|
|
580
580
|
└─> InputService.parseCommaDelimitedOption(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:54]
|
|
581
581
|
↳ Parses a comma-separated list option, dropping blank entries.
|
|
@@ -587,7 +587,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
587
587
|
```text
|
|
588
588
|
🚀 PathCommand.parseInclude(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:139]
|
|
589
589
|
↳ Parses `--include`, a comma-separated list of globs overriding the configured `include`.
|
|
590
|
-
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
590
|
+
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:283]
|
|
591
591
|
↳ Parses a comma-separated list option, dropping blank entries.
|
|
592
592
|
└─> InputService.parseCommaDelimitedOption(value: string | undefined): string[] [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:54]
|
|
593
593
|
↳ Parses a comma-separated list option, dropping blank entries.
|
|
@@ -599,7 +599,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
599
599
|
```text
|
|
600
600
|
🚀 MapCommand.parseConfig(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:248]
|
|
601
601
|
↳ Parses the optional configuration path from command-line input.
|
|
602
|
-
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
602
|
+
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:293]
|
|
603
603
|
↳ Trims an optional string option, treating blank as absent.
|
|
604
604
|
└─> InputService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
605
605
|
↳ Trims an optional string option, treating blank as absent.
|
|
@@ -610,7 +610,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
610
610
|
```text
|
|
611
611
|
🚀 MapCommand.parseFormat(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:311]
|
|
612
612
|
↳ Parses what `--format` prints to standard output.
|
|
613
|
-
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
613
|
+
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:293]
|
|
614
614
|
↳ Trims an optional string option, treating blank as absent.
|
|
615
615
|
└─> InputService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
616
616
|
↳ Trims an optional string option, treating blank as absent.
|
|
@@ -621,7 +621,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
621
621
|
```text
|
|
622
622
|
🚀 MapCommand.parseJsonOutput(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:339]
|
|
623
623
|
↳ Parses `--json-output`, the path to write every active graph type's combined JSON data to, keyed by graph type name.
|
|
624
|
-
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
624
|
+
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:293]
|
|
625
625
|
↳ Trims an optional string option, treating blank as absent.
|
|
626
626
|
└─> InputService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
627
627
|
↳ Trims an optional string option, treating blank as absent.
|
|
@@ -632,7 +632,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
632
632
|
```text
|
|
633
633
|
🚀 MapCommand.parseMarkdownOutput(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:352]
|
|
634
634
|
↳ Parses `--markdown-output`, the path to write every active graph type's combined, anchor-spliced Markdown diagram to.
|
|
635
|
-
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
635
|
+
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:293]
|
|
636
636
|
↳ Trims an optional string option, treating blank as absent.
|
|
637
637
|
└─> InputService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
638
638
|
↳ Trims an optional string option, treating blank as absent.
|
|
@@ -643,7 +643,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
643
643
|
```text
|
|
644
644
|
🚀 MapCommand.parseProjects(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:431]
|
|
645
645
|
↳ Parses the projects a run exports for beyond `include`. **Widening, and narrowing.** A named project is added to…
|
|
646
|
-
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
646
|
+
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:293]
|
|
647
647
|
↳ Trims an optional string option, treating blank as absent.
|
|
648
648
|
└─> InputService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
649
649
|
↳ Trims an optional string option, treating blank as absent.
|
|
@@ -654,7 +654,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
654
654
|
```text
|
|
655
655
|
🚀 MapCommand.parseTags(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:444]
|
|
656
656
|
↳ Parses the Nx tags a run exports for, matched exactly against a project's own tags.
|
|
657
|
-
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
657
|
+
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:293]
|
|
658
658
|
↳ Trims an optional string option, treating blank as absent.
|
|
659
659
|
└─> InputService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
660
660
|
↳ Trims an optional string option, treating blank as absent.
|
|
@@ -665,7 +665,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
665
665
|
```text
|
|
666
666
|
🚀 MapCommand.parseWrite(value: boolean | undefined): boolean [projects/ic-suite/codependix/codependix-cli/src/modules/map/map.command.ts:454]
|
|
667
667
|
↳ Parses the `--write` flag from command-line input.
|
|
668
|
-
└─> ConfigurationService.parseFlagOption(value: boolean | undefined): boolean [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
668
|
+
└─> ConfigurationService.parseFlagOption(value: boolean | undefined): boolean [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:288]
|
|
669
669
|
↳ Parses a valueless boolean flag, which is present or it is not.
|
|
670
670
|
└─> InputService.parseFlagOption(value: boolean | undefined): boolean [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:70]
|
|
671
671
|
↳ Parses a valueless boolean flag, which is present or it is not.
|
|
@@ -676,7 +676,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
676
676
|
```text
|
|
677
677
|
🚀 PathCommand.parseConfig(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:89]
|
|
678
678
|
↳ Parses the optional configuration path from command-line input.
|
|
679
|
-
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
679
|
+
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:293]
|
|
680
680
|
↳ Trims an optional string option, treating blank as absent.
|
|
681
681
|
└─> InputService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
682
682
|
↳ Trims an optional string option, treating blank as absent.
|
|
@@ -687,7 +687,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
687
687
|
```text
|
|
688
688
|
🚀 PathCommand.parseFormat(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:130]
|
|
689
689
|
↳ Parses what `--format` prints to standard output. Defaults to Markdown when the flag was left off entirely.
|
|
690
|
-
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
690
|
+
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:293]
|
|
691
691
|
↳ Trims an optional string option, treating blank as absent.
|
|
692
692
|
└─> InputService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
693
693
|
↳ Trims an optional string option, treating blank as absent.
|
|
@@ -698,7 +698,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
698
698
|
```text
|
|
699
699
|
🚀 PathCommand.parseProjects(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:194]
|
|
700
700
|
↳ Parses the projects a query searches across beyond `include`.
|
|
701
|
-
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
701
|
+
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:293]
|
|
702
702
|
↳ Trims an optional string option, treating blank as absent.
|
|
703
703
|
└─> InputService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
704
704
|
↳ Trims an optional string option, treating blank as absent.
|
|
@@ -709,7 +709,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
709
709
|
```text
|
|
710
710
|
🚀 PathCommand.parseTags(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-cli/src/modules/path/path.command.ts:204]
|
|
711
711
|
↳ Parses the Nx tags a query searches across, matched exactly against project tags.
|
|
712
|
-
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:
|
|
712
|
+
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/configuration/configuration.service.ts:293]
|
|
713
713
|
↳ Trims an optional string option, treating blank as absent.
|
|
714
714
|
└─> InputService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/codependix/codependix-configuration/src/modules/input/input.service.ts:75]
|
|
715
715
|
↳ Trims an optional string option, treating blank as absent.
|
|
@@ -762,14 +762,14 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
762
762
|
|
|
763
763
|
### Project
|
|
764
764
|
|
|
765
|
-

|
|
766
|
+

|
|
767
767
|

|
|
768
768
|

|
|
769
769
|
|
|
770
770
|
### Measured Targets
|
|
771
771
|
|
|
772
|
-

|
|
773
773
|
|
|
774
774
|
### TypeScript
|
|
775
775
|
|
|
@@ -909,7 +909,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
909
909
|

|
|
910
910
|

|
|
911
911
|

|
|
912
|
-

|
|
913
913
|

|
|
914
914
|

|
|
915
915
|

|
|
@@ -951,20 +951,20 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
951
951
|
### Markdown
|
|
952
952
|
|
|
953
953
|

|
|
954
|
-

|
|
955
955
|

|
|
956
|
-

|
|
957
|
+

|
|
958
958
|

|
|
959
959
|

|
|
960
960
|

|
|
961
|
-

|
|
962
|
+

|
|
963
|
+

|
|
964
964
|

|
|
965
965
|

|
|
966
966
|

|
|
967
|
-

|
|
968
968
|

|
|
969
969
|

|
|
970
970
|

|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
1
|
+
import { Command as e, CommandRunner as t, Option as n } from "nest-commander";
|
|
2
|
+
import { ConsoleLogger as r, Global as i, Injectable as a, Module as o, Scope as s } from "@nestjs/common";
|
|
3
|
+
import { existsSync as c, mkdirSync as l } from "node:fs";
|
|
4
|
+
import u from "node:path";
|
|
5
|
+
import d from "pino";
|
|
6
|
+
import { ConfigModule as f } from "@nestjs/config";
|
|
7
|
+
import { DiscoveryModule as p } from "@nestjs/core";
|
|
8
|
+
import { z as m } from "zod";
|
|
9
|
+
import { BoundaryCheckModule as h, BoundaryCheckService as g, RunContextModule as _, RunContextService as v } from "@codependix/boundaries";
|
|
10
|
+
import { CHECK_NAMES as y, ConfigurationModule as b, ConfigurationService as x } from "@codependix/configuration";
|
|
11
|
+
import { CombinedOutputModule as S, CombinedOutputService as C, FORMAT_MARKDOWN as w, FORMAT_NAMES as T, GraphRunModule as E, GraphRunService as D, PATH_FORMAT_NAMES as O, PathQueryModule as k, PathQueryService as A, ReportingModule as j, ReportingService as M } from "@codependix/output";
|
|
12
12
|
//#region \0rolldown/runtime.js
|
|
13
13
|
var N = Object.defineProperty, __name = (e, t) => N(e, "name", {
|
|
14
14
|
value: t,
|
|
@@ -57,7 +57,7 @@ function __decorate(e, t, n, r) {
|
|
|
57
57
|
}
|
|
58
58
|
//#endregion
|
|
59
59
|
//#region projects/logging/src/modules/logger/logger.service.ts
|
|
60
|
-
var R, z = class LoggerService extends
|
|
60
|
+
var R, z = class LoggerService extends r {
|
|
61
61
|
static {
|
|
62
62
|
R = this;
|
|
63
63
|
}
|
|
@@ -70,7 +70,7 @@ var R, z = class LoggerService extends e {
|
|
|
70
70
|
child = R.root;
|
|
71
71
|
static createRootLogger() {
|
|
72
72
|
let e = process.env.LOG_LEVEL ?? "info";
|
|
73
|
-
return R.isProduction ? R.writesToStandardError ?
|
|
73
|
+
return R.isProduction ? R.writesToStandardError ? d({ level: e }, d.destination(2)) : d({ level: e }) : d({
|
|
74
74
|
level: e,
|
|
75
75
|
transport: {
|
|
76
76
|
options: {
|
|
@@ -136,8 +136,8 @@ var R, z = class LoggerService extends e {
|
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
138
|
createTimestampedOutputLogFilePath(e) {
|
|
139
|
-
let t =
|
|
140
|
-
return
|
|
139
|
+
let t = u.join(process.cwd(), "output");
|
|
140
|
+
return c(t) || l(t, { recursive: !0 }), u.join(t, `${e}-${(/* @__PURE__ */ new Date()).toISOString().replaceAll(/[:.]/g, "-")}.log`);
|
|
141
141
|
}
|
|
142
142
|
debug(e, t, n) {
|
|
143
143
|
let r = this.parseMessage(e);
|
|
@@ -189,19 +189,19 @@ var R, z = class LoggerService extends e {
|
|
|
189
189
|
}), r.text);
|
|
190
190
|
}
|
|
191
191
|
};
|
|
192
|
-
z = R = __decorate([
|
|
192
|
+
z = R = __decorate([a({ scope: s.TRANSIENT }), __decorateMetadata("design:paramtypes", [])], z);
|
|
193
193
|
//#endregion
|
|
194
194
|
//#region projects/logging/src/modules/logger/logger.module.ts
|
|
195
195
|
var B = class LoggerModule {};
|
|
196
|
-
B = __decorate([
|
|
196
|
+
B = __decorate([i(), o({
|
|
197
197
|
controllers: [],
|
|
198
198
|
exports: [z],
|
|
199
199
|
imports: [],
|
|
200
200
|
providers: [z]
|
|
201
201
|
})], B);
|
|
202
202
|
//#endregion
|
|
203
|
-
//#region projects/ic-suite/codependix/codependix-cli/src/constants.ts
|
|
204
|
-
var V =
|
|
203
|
+
//#region projects/ic-suite/codependix/codependix-cli/src/codependix-cli.constants.ts
|
|
204
|
+
var V = m.object({}), H, U = H = class MapCommand extends t {
|
|
205
205
|
graphRunService;
|
|
206
206
|
boundaryCheckService;
|
|
207
207
|
combinedOutputService;
|
|
@@ -222,7 +222,7 @@ var V = d.object({}), H, U = H = class MapCommand extends j {
|
|
|
222
222
|
async resolveContext(e) {
|
|
223
223
|
let t = await this.runContextService.build({
|
|
224
224
|
...e,
|
|
225
|
-
workingDirectory:
|
|
225
|
+
workingDirectory: u.resolve(e.options.directory ?? process.cwd())
|
|
226
226
|
});
|
|
227
227
|
return this.reportingService.reportUnmatchedSelection(this.runContextService.findUnmatchedSelection(t)), t;
|
|
228
228
|
}
|
|
@@ -340,15 +340,15 @@ var V = d.object({}), H, U = H = class MapCommand extends j {
|
|
|
340
340
|
}
|
|
341
341
|
};
|
|
342
342
|
__decorate([
|
|
343
|
-
|
|
344
|
-
description: `Fail on a comma-separated set drawn from ${
|
|
343
|
+
n({
|
|
344
|
+
description: `Fail on a comma-separated set drawn from ${y.map((e) => `"${e}"`).join(" and ")}`,
|
|
345
345
|
flags: "--check [check]"
|
|
346
346
|
}),
|
|
347
347
|
__decorateMetadata("design:type", Function),
|
|
348
348
|
__decorateMetadata("design:paramtypes", [String]),
|
|
349
349
|
__decorateMetadata("design:returntype", String)
|
|
350
350
|
], U.prototype, "parseCheck", null), __decorate([
|
|
351
|
-
|
|
351
|
+
n({
|
|
352
352
|
description: "Path to the codependix configuration file",
|
|
353
353
|
flags: "--config [config]"
|
|
354
354
|
}),
|
|
@@ -356,7 +356,7 @@ __decorate([
|
|
|
356
356
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
357
357
|
__decorateMetadata("design:returntype", Object)
|
|
358
358
|
], U.prototype, "parseConfig", null), __decorate([
|
|
359
|
-
|
|
359
|
+
n({
|
|
360
360
|
description: "Build --check boundaries over the dependencies of the projects --projects or --tags named, reporting their findings as notes (default). No effect without --projects or --tags",
|
|
361
361
|
flags: "--dependencies"
|
|
362
362
|
}),
|
|
@@ -364,7 +364,7 @@ __decorate([
|
|
|
364
364
|
__decorateMetadata("design:paramtypes", []),
|
|
365
365
|
__decorateMetadata("design:returntype", Boolean)
|
|
366
366
|
], U.prototype, "parseDependencies", null), __decorate([
|
|
367
|
-
|
|
367
|
+
n({
|
|
368
368
|
description: "Directory whose Nx workspace this run reads",
|
|
369
369
|
flags: "-d, --directory [directory]"
|
|
370
370
|
}),
|
|
@@ -372,7 +372,7 @@ __decorate([
|
|
|
372
372
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
373
373
|
__decorateMetadata("design:returntype", String)
|
|
374
374
|
], U.prototype, "parseDirectory", null), __decorate([
|
|
375
|
-
|
|
375
|
+
n({
|
|
376
376
|
description: "Comma-separated globs overriding the configured exclude. Refused when exclude was never configured",
|
|
377
377
|
flags: "--exclude [exclude]"
|
|
378
378
|
}),
|
|
@@ -380,7 +380,7 @@ __decorate([
|
|
|
380
380
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
381
381
|
__decorateMetadata("design:returntype", Array)
|
|
382
382
|
], U.prototype, "parseExclude", null), __decorate([
|
|
383
|
-
|
|
383
|
+
n({
|
|
384
384
|
description: "Build, check, and write the fileImports graph type",
|
|
385
385
|
flags: "--file-imports"
|
|
386
386
|
}),
|
|
@@ -388,15 +388,15 @@ __decorate([
|
|
|
388
388
|
__decorateMetadata("design:paramtypes", []),
|
|
389
389
|
__decorateMetadata("design:returntype", Boolean)
|
|
390
390
|
], U.prototype, "parseFileImports", null), __decorate([
|
|
391
|
-
|
|
392
|
-
description: `What to print to standard output, one of ${
|
|
391
|
+
n({
|
|
392
|
+
description: `What to print to standard output, one of ${T.join(" and ")} (default: ${w}). A graph type prints only when this run also configured a workspace destination for it, even if its own toggle flag enabled it. A --check boundaries run adds its findings, under a boundaries key in json and a Boundaries section in markdown`,
|
|
393
393
|
flags: "-f, --format [format]"
|
|
394
394
|
}),
|
|
395
395
|
__decorateMetadata("design:type", Function),
|
|
396
396
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
397
397
|
__decorateMetadata("design:returntype", Object)
|
|
398
398
|
], U.prototype, "parseFormat", null), __decorate([
|
|
399
|
-
|
|
399
|
+
n({
|
|
400
400
|
description: "Comma-separated globs overriding the configured include. Refused when include was never configured",
|
|
401
401
|
flags: "--include [include]"
|
|
402
402
|
}),
|
|
@@ -404,7 +404,7 @@ __decorate([
|
|
|
404
404
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
405
405
|
__decorateMetadata("design:returntype", Array)
|
|
406
406
|
], U.prototype, "parseInclude", null), __decorate([
|
|
407
|
-
|
|
407
|
+
n({
|
|
408
408
|
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. A --check boundaries run adds its findings under a boundaries key",
|
|
409
409
|
flags: "--json-output [jsonOutput]"
|
|
410
410
|
}),
|
|
@@ -412,7 +412,7 @@ __decorate([
|
|
|
412
412
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
413
413
|
__decorateMetadata("design:returntype", Object)
|
|
414
414
|
], U.prototype, "parseJsonOutput", null), __decorate([
|
|
415
|
-
|
|
415
|
+
n({
|
|
416
416
|
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. A --check boundaries run adds its findings as a Boundaries section",
|
|
417
417
|
flags: "--markdown-output [markdownOutput]"
|
|
418
418
|
}),
|
|
@@ -420,7 +420,7 @@ __decorate([
|
|
|
420
420
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
421
421
|
__decorateMetadata("design:returntype", Object)
|
|
422
422
|
], U.prototype, "parseMarkdownOutput", null), __decorate([
|
|
423
|
-
|
|
423
|
+
n({
|
|
424
424
|
description: "Build, check, and write the nestjsModules graph type",
|
|
425
425
|
flags: "--nestjs-modules"
|
|
426
426
|
}),
|
|
@@ -428,7 +428,7 @@ __decorate([
|
|
|
428
428
|
__decorateMetadata("design:paramtypes", []),
|
|
429
429
|
__decorateMetadata("design:returntype", Boolean)
|
|
430
430
|
], U.prototype, "parseNestjsModules", null), __decorate([
|
|
431
|
-
|
|
431
|
+
n({
|
|
432
432
|
description: "Build --check boundaries over only the projects --projects or --tags named, not their dependencies. No effect without --projects or --tags",
|
|
433
433
|
flags: "--no-dependencies"
|
|
434
434
|
}),
|
|
@@ -436,7 +436,7 @@ __decorate([
|
|
|
436
436
|
__decorateMetadata("design:paramtypes", []),
|
|
437
437
|
__decorateMetadata("design:returntype", Boolean)
|
|
438
438
|
], U.prototype, "parseNoDependencies", null), __decorate([
|
|
439
|
-
|
|
439
|
+
n({
|
|
440
440
|
description: "Skip the fileImports graph type for this run",
|
|
441
441
|
flags: "--no-file-imports"
|
|
442
442
|
}),
|
|
@@ -444,7 +444,7 @@ __decorate([
|
|
|
444
444
|
__decorateMetadata("design:paramtypes", []),
|
|
445
445
|
__decorateMetadata("design:returntype", Boolean)
|
|
446
446
|
], U.prototype, "parseNoFileImports", null), __decorate([
|
|
447
|
-
|
|
447
|
+
n({
|
|
448
448
|
description: "Skip the nestjsModules graph type for this run",
|
|
449
449
|
flags: "--no-nestjs-modules"
|
|
450
450
|
}),
|
|
@@ -452,7 +452,7 @@ __decorate([
|
|
|
452
452
|
__decorateMetadata("design:paramtypes", []),
|
|
453
453
|
__decorateMetadata("design:returntype", Boolean)
|
|
454
454
|
], U.prototype, "parseNoNestjsModules", null), __decorate([
|
|
455
|
-
|
|
455
|
+
n({
|
|
456
456
|
description: "Skip the nxProjects graph type for this run",
|
|
457
457
|
flags: "--no-nx-projects"
|
|
458
458
|
}),
|
|
@@ -460,7 +460,7 @@ __decorate([
|
|
|
460
460
|
__decorateMetadata("design:paramtypes", []),
|
|
461
461
|
__decorateMetadata("design:returntype", Boolean)
|
|
462
462
|
], U.prototype, "parseNoNxProjects", null), __decorate([
|
|
463
|
-
|
|
463
|
+
n({
|
|
464
464
|
description: "Build, check, and write the nxProjects graph type",
|
|
465
465
|
flags: "--nx-projects"
|
|
466
466
|
}),
|
|
@@ -468,7 +468,7 @@ __decorate([
|
|
|
468
468
|
__decorateMetadata("design:paramtypes", []),
|
|
469
469
|
__decorateMetadata("design:returntype", Boolean)
|
|
470
470
|
], U.prototype, "parseNxProjects", null), __decorate([
|
|
471
|
-
|
|
471
|
+
n({
|
|
472
472
|
description: "Comma-separated project names or roots to export for, as globs, beyond those include already selects. Also narrows the Workspace Graph to the named set, and --check boundaries to failing only on findings charged to it",
|
|
473
473
|
flags: "--projects [projects]"
|
|
474
474
|
}),
|
|
@@ -476,7 +476,7 @@ __decorate([
|
|
|
476
476
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
477
477
|
__decorateMetadata("design:returntype", Object)
|
|
478
478
|
], U.prototype, "parseProjects", null), __decorate([
|
|
479
|
-
|
|
479
|
+
n({
|
|
480
480
|
description: "Comma-separated Nx tags to export for, beyond what include already selects. Narrows the Workspace Graph and --check boundaries to the tagged projects, as --projects does",
|
|
481
481
|
flags: "--tags [tags]"
|
|
482
482
|
}),
|
|
@@ -484,7 +484,7 @@ __decorate([
|
|
|
484
484
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
485
485
|
__decorateMetadata("design:returntype", Object)
|
|
486
486
|
], U.prototype, "parseTags", null), __decorate([
|
|
487
|
-
|
|
487
|
+
n({
|
|
488
488
|
description: "Write every configured export",
|
|
489
489
|
flags: "--write"
|
|
490
490
|
}),
|
|
@@ -492,40 +492,40 @@ __decorate([
|
|
|
492
492
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
493
493
|
__decorateMetadata("design:returntype", Boolean)
|
|
494
494
|
], U.prototype, "parseWrite", null), U = H = __decorate([
|
|
495
|
-
|
|
495
|
+
e({
|
|
496
496
|
description: "Map every configured dependency graph and export it",
|
|
497
497
|
name: "map"
|
|
498
498
|
}),
|
|
499
|
-
|
|
499
|
+
a(),
|
|
500
500
|
__decorateMetadata("design:paramtypes", [
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
501
|
+
D === void 0 ? Object : D,
|
|
502
|
+
g === void 0 ? Object : g,
|
|
503
|
+
C === void 0 ? Object : C,
|
|
504
|
+
x === void 0 ? Object : x,
|
|
505
505
|
z === void 0 ? Object : z,
|
|
506
|
-
|
|
507
|
-
|
|
506
|
+
M === void 0 ? Object : M,
|
|
507
|
+
v === void 0 ? Object : v
|
|
508
508
|
])
|
|
509
509
|
], U);
|
|
510
510
|
//#endregion
|
|
511
511
|
//#region projects/ic-suite/codependix/codependix-cli/src/modules/map/map.module.ts
|
|
512
512
|
var W = class MapModule {};
|
|
513
|
-
W = __decorate([
|
|
513
|
+
W = __decorate([o({
|
|
514
514
|
controllers: [],
|
|
515
515
|
exports: [U],
|
|
516
516
|
imports: [
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
517
|
+
h,
|
|
518
|
+
S,
|
|
519
|
+
b,
|
|
520
|
+
E,
|
|
521
|
+
j,
|
|
522
|
+
_
|
|
523
523
|
],
|
|
524
524
|
providers: [U]
|
|
525
525
|
})], W);
|
|
526
526
|
//#endregion
|
|
527
527
|
//#region projects/ic-suite/codependix/codependix-cli/src/modules/path/path.constants.ts
|
|
528
|
-
var G = "The path command requires both <from> and <to> arguments, as in \"codependix path <from> <to>\".", K, q = K = class PathCommand extends
|
|
528
|
+
var G = "The path command requires both <from> and <to> arguments, as in \"codependix path <from> <to>\".", K, q = K = class PathCommand extends t {
|
|
529
529
|
configurationService;
|
|
530
530
|
logger;
|
|
531
531
|
pathQueryService;
|
|
@@ -590,7 +590,7 @@ var G = "The path command requires both <from> and <to> arguments, as in \"codep
|
|
|
590
590
|
let r = await this.runContextService.build({
|
|
591
591
|
mode: "check",
|
|
592
592
|
options: t,
|
|
593
|
-
workingDirectory:
|
|
593
|
+
workingDirectory: u.resolve(t.directory ?? process.cwd())
|
|
594
594
|
}), i = await this.pathQueryService.query({
|
|
595
595
|
context: r,
|
|
596
596
|
from: n.from,
|
|
@@ -606,7 +606,7 @@ var G = "The path command requires both <from> and <to> arguments, as in \"codep
|
|
|
606
606
|
}
|
|
607
607
|
};
|
|
608
608
|
__decorate([
|
|
609
|
-
|
|
609
|
+
n({
|
|
610
610
|
description: "Path to the codependix configuration file",
|
|
611
611
|
flags: "--config [config]"
|
|
612
612
|
}),
|
|
@@ -614,7 +614,7 @@ __decorate([
|
|
|
614
614
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
615
615
|
__decorateMetadata("design:returntype", Object)
|
|
616
616
|
], q.prototype, "parseConfig", null), __decorate([
|
|
617
|
-
|
|
617
|
+
n({
|
|
618
618
|
description: "Directory whose Nx workspace this run reads",
|
|
619
619
|
flags: "-d, --directory [directory]"
|
|
620
620
|
}),
|
|
@@ -622,7 +622,7 @@ __decorate([
|
|
|
622
622
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
623
623
|
__decorateMetadata("design:returntype", String)
|
|
624
624
|
], q.prototype, "parseDirectory", null), __decorate([
|
|
625
|
-
|
|
625
|
+
n({
|
|
626
626
|
description: "Comma-separated globs overriding the configured exclude. Refused when exclude was never configured",
|
|
627
627
|
flags: "--exclude [exclude]"
|
|
628
628
|
}),
|
|
@@ -630,7 +630,7 @@ __decorate([
|
|
|
630
630
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
631
631
|
__decorateMetadata("design:returntype", Array)
|
|
632
632
|
], q.prototype, "parseExclude", null), __decorate([
|
|
633
|
-
|
|
633
|
+
n({
|
|
634
634
|
description: "Query the fileImports graph type",
|
|
635
635
|
flags: "--file-imports"
|
|
636
636
|
}),
|
|
@@ -638,15 +638,15 @@ __decorate([
|
|
|
638
638
|
__decorateMetadata("design:paramtypes", []),
|
|
639
639
|
__decorateMetadata("design:returntype", Boolean)
|
|
640
640
|
], q.prototype, "parseFileImports", null), __decorate([
|
|
641
|
-
|
|
642
|
-
description: `What to print to standard output, one of ${
|
|
641
|
+
n({
|
|
642
|
+
description: `What to print to standard output, one of ${O.join(", ")} (default: ${w})`,
|
|
643
643
|
flags: "-f, --format [format]"
|
|
644
644
|
}),
|
|
645
645
|
__decorateMetadata("design:type", Function),
|
|
646
646
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
647
647
|
__decorateMetadata("design:returntype", Object)
|
|
648
648
|
], q.prototype, "parseFormat", null), __decorate([
|
|
649
|
-
|
|
649
|
+
n({
|
|
650
650
|
description: "Comma-separated globs overriding the configured include. Refused when include was never configured",
|
|
651
651
|
flags: "--include [include]"
|
|
652
652
|
}),
|
|
@@ -654,7 +654,7 @@ __decorate([
|
|
|
654
654
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
655
655
|
__decorateMetadata("design:returntype", Array)
|
|
656
656
|
], q.prototype, "parseInclude", null), __decorate([
|
|
657
|
-
|
|
657
|
+
n({
|
|
658
658
|
description: "Query the nestjsModules graph type",
|
|
659
659
|
flags: "--nestjs-modules"
|
|
660
660
|
}),
|
|
@@ -662,7 +662,7 @@ __decorate([
|
|
|
662
662
|
__decorateMetadata("design:paramtypes", []),
|
|
663
663
|
__decorateMetadata("design:returntype", Boolean)
|
|
664
664
|
], q.prototype, "parseNestjsModules", null), __decorate([
|
|
665
|
-
|
|
665
|
+
n({
|
|
666
666
|
description: "Skip the fileImports graph type for this query",
|
|
667
667
|
flags: "--no-file-imports"
|
|
668
668
|
}),
|
|
@@ -670,7 +670,7 @@ __decorate([
|
|
|
670
670
|
__decorateMetadata("design:paramtypes", []),
|
|
671
671
|
__decorateMetadata("design:returntype", Boolean)
|
|
672
672
|
], q.prototype, "parseNoFileImports", null), __decorate([
|
|
673
|
-
|
|
673
|
+
n({
|
|
674
674
|
description: "Skip the nestjsModules graph type for this query",
|
|
675
675
|
flags: "--no-nestjs-modules"
|
|
676
676
|
}),
|
|
@@ -678,7 +678,7 @@ __decorate([
|
|
|
678
678
|
__decorateMetadata("design:paramtypes", []),
|
|
679
679
|
__decorateMetadata("design:returntype", Boolean)
|
|
680
680
|
], q.prototype, "parseNoNestjsModules", null), __decorate([
|
|
681
|
-
|
|
681
|
+
n({
|
|
682
682
|
description: "Skip the nxProjects graph type for this query",
|
|
683
683
|
flags: "--no-nx-projects"
|
|
684
684
|
}),
|
|
@@ -686,7 +686,7 @@ __decorate([
|
|
|
686
686
|
__decorateMetadata("design:paramtypes", []),
|
|
687
687
|
__decorateMetadata("design:returntype", Boolean)
|
|
688
688
|
], q.prototype, "parseNoNxProjects", null), __decorate([
|
|
689
|
-
|
|
689
|
+
n({
|
|
690
690
|
description: "Query the nxProjects graph type",
|
|
691
691
|
flags: "--nx-projects"
|
|
692
692
|
}),
|
|
@@ -694,7 +694,7 @@ __decorate([
|
|
|
694
694
|
__decorateMetadata("design:paramtypes", []),
|
|
695
695
|
__decorateMetadata("design:returntype", Boolean)
|
|
696
696
|
], q.prototype, "parseNxProjects", null), __decorate([
|
|
697
|
-
|
|
697
|
+
n({
|
|
698
698
|
description: "Comma-separated project names or roots to search across, as globs, beyond those include already selects",
|
|
699
699
|
flags: "--projects [projects]"
|
|
700
700
|
}),
|
|
@@ -702,7 +702,7 @@ __decorate([
|
|
|
702
702
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
703
703
|
__decorateMetadata("design:returntype", Object)
|
|
704
704
|
], q.prototype, "parseProjects", null), __decorate([
|
|
705
|
-
|
|
705
|
+
n({
|
|
706
706
|
description: "Comma-separated Nx tags to search across, beyond what include already selects",
|
|
707
707
|
flags: "--tags [tags]"
|
|
708
708
|
}),
|
|
@@ -710,44 +710,44 @@ __decorate([
|
|
|
710
710
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
711
711
|
__decorateMetadata("design:returntype", Object)
|
|
712
712
|
], q.prototype, "parseTags", null), q = K = __decorate([
|
|
713
|
-
|
|
713
|
+
e({
|
|
714
714
|
arguments: "<from> <to>",
|
|
715
715
|
description: "Find the shortest connecting path between two nodes in codependix graphs",
|
|
716
716
|
name: "path"
|
|
717
717
|
}),
|
|
718
|
-
|
|
718
|
+
a(),
|
|
719
719
|
__decorateMetadata("design:paramtypes", [
|
|
720
|
-
|
|
720
|
+
x === void 0 ? Object : x,
|
|
721
721
|
z === void 0 ? Object : z,
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
722
|
+
A === void 0 ? Object : A,
|
|
723
|
+
M === void 0 ? Object : M,
|
|
724
|
+
v === void 0 ? Object : v
|
|
725
725
|
])
|
|
726
726
|
], q);
|
|
727
727
|
//#endregion
|
|
728
728
|
//#region projects/ic-suite/codependix/codependix-cli/src/modules/path/path.module.ts
|
|
729
729
|
var J = class PathModule {};
|
|
730
|
-
J = __decorate([
|
|
730
|
+
J = __decorate([o({
|
|
731
731
|
controllers: [],
|
|
732
732
|
exports: [q],
|
|
733
733
|
imports: [
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
734
|
+
b,
|
|
735
|
+
k,
|
|
736
|
+
j,
|
|
737
|
+
_
|
|
738
738
|
],
|
|
739
739
|
providers: [q]
|
|
740
740
|
})], J);
|
|
741
741
|
//#endregion
|
|
742
|
-
//#region projects/ic-suite/codependix/codependix-cli/src/
|
|
742
|
+
//#region projects/ic-suite/codependix/codependix-cli/src/codependix-cli.module.ts
|
|
743
743
|
var Y = class MainModule {};
|
|
744
|
-
Y = __decorate([
|
|
745
|
-
|
|
744
|
+
Y = __decorate([o({ imports: [
|
|
745
|
+
f.forRoot({
|
|
746
746
|
envFilePath: ".env",
|
|
747
747
|
isGlobal: !0,
|
|
748
748
|
validate: (e) => V.parse(e)
|
|
749
749
|
}),
|
|
750
|
-
|
|
750
|
+
p,
|
|
751
751
|
B,
|
|
752
752
|
W,
|
|
753
753
|
J
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as e, t } from "../
|
|
3
|
-
import { CommandFactory as n } from "nest-commander";
|
|
2
|
+
import { i as e, t } from "../codependix-cli.module-D9-jrLaT.js";
|
|
4
3
|
import "reflect-metadata";
|
|
5
|
-
|
|
4
|
+
import { CommandFactory as n } from "nest-commander";
|
|
5
|
+
//#region projects/ic-suite/codependix/codependix-cli/src/codependix-cli.main.ts
|
|
6
6
|
async function main() {
|
|
7
7
|
e.logToStandardError();
|
|
8
8
|
let r = new e();
|
package/dist/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as MainModule, r as MapCommand, n as MapModule } from "../
|
|
1
|
+
export { t as MainModule, r as MapCommand, n as MapModule } from "../codependix-cli.module-D9-jrLaT.js";
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "Jimmy Paolini",
|
|
3
3
|
"bin": {
|
|
4
|
-
"codependix": "./dist/src/main.js"
|
|
4
|
+
"codependix": "./dist/src/codependix-cli.main.js"
|
|
5
5
|
},
|
|
6
6
|
"bugs": {
|
|
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.27",
|
|
11
|
+
"@codependix/configuration": "0.0.28",
|
|
12
|
+
"@codependix/core": "0.0.26",
|
|
13
|
+
"@codependix/output": "0.0.27",
|
|
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,7 +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
|
+
"./main": "./dist/src/codependix-cli.main.js",
|
|
43
43
|
"./package.json": "./package.json"
|
|
44
44
|
},
|
|
45
45
|
"files": [
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"strict": true
|
|
76
76
|
},
|
|
77
77
|
"types": "./dist/src/index.d.ts",
|
|
78
|
-
"version": "0.0.
|
|
78
|
+
"version": "0.0.28"
|
|
79
79
|
}
|
|
File without changes
|