@conformetry/cli 0.0.28 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
## 0.0.30 (2026-10-15)
|
|
2
|
+
|
|
3
|
+
### 💅 Refactors
|
|
4
|
+
|
|
5
|
+
- **callidescope,codependix,codometer,conformetry:** ♻️ require --config on every ic-suite command line ([#1598](https://github.com/organizzolini/codebase/pull/1598))
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated conformetry-configuration to 0.0.30
|
|
10
|
+
- Updated conformetry-generation to 0.0.30
|
|
11
|
+
- Updated conformetry-validation to 0.0.29
|
|
12
|
+
- Updated conformetry-output to 0.0.29
|
|
13
|
+
- Updated conformetry-core to 0.0.29
|
|
14
|
+
|
|
15
|
+
## 0.0.29 (2026-10-15)
|
|
16
|
+
|
|
17
|
+
### 💅 Refactors
|
|
18
|
+
|
|
19
|
+
- **configuration,documentation:** ♻️ move the configuration folder into an nx project ([#1509](https://github.com/organizzolini/codebase/pull/1509))
|
|
20
|
+
|
|
21
|
+
### 🧱 Updated Dependencies
|
|
22
|
+
|
|
23
|
+
- Updated conformetry-configuration to 0.0.29
|
|
24
|
+
- Updated conformetry-generation to 0.0.29
|
|
25
|
+
- Updated conformetry-validation to 0.0.28
|
|
26
|
+
- Updated conformetry-output to 0.0.28
|
|
27
|
+
- Updated conformetry-core to 0.0.28
|
|
28
|
+
|
|
1
29
|
## 0.0.28 (2026-10-15)
|
|
2
30
|
|
|
3
31
|
### 🧱 Updated Dependencies
|
package/README.md
CHANGED
|
@@ -15,10 +15,10 @@ npm install --save-dev @conformetry/cli
|
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
17
|
# Scaffold a new module from the `nestjs-service-module` template
|
|
18
|
-
conformetry generate --template nestjs-service-module --name billing
|
|
18
|
+
conformetry generate --config projects/configuration/conformetry.config.ts --template nestjs-service-module --name billing
|
|
19
19
|
|
|
20
20
|
# Check every existing instance still matches the template it came from
|
|
21
|
-
conformetry validate
|
|
21
|
+
conformetry validate --config projects/configuration/conformetry.config.ts
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## Why
|
|
@@ -67,13 +67,17 @@ Renders one template folder into a target directory.
|
|
|
67
67
|
| Flag | Purpose |
|
|
68
68
|
| ---- | ------- |
|
|
69
69
|
| `--template [name]` | Which template from the registry to render. Asked for when omitted |
|
|
70
|
-
| `--config
|
|
70
|
+
| `--config <path>` | Configuration file to read. Required: the run is refused without it, and no filename is searched for |
|
|
71
71
|
| `--directory [path]` | Where to write the rendered files. Required: the run is refused without it |
|
|
72
72
|
|
|
73
|
+
A blank `--config` is refused by `@conformetry/configuration` with a
|
|
74
|
+
`ConfigurationPathRequiredError` naming the `--config` flag; commander refuses a
|
|
75
|
+
missing one before that.
|
|
76
|
+
|
|
73
77
|
A template's own inputs are passed as flags alongside these:
|
|
74
78
|
|
|
75
79
|
```bash
|
|
76
|
-
conformetry generate --template react-component --name search-bar
|
|
80
|
+
conformetry generate --config projects/configuration/conformetry.config.ts --template react-component --name search-bar
|
|
77
81
|
```
|
|
78
82
|
|
|
79
83
|
**Omitting `--template` at a terminal offers a picker** — an autocomplete over
|
|
@@ -127,7 +131,7 @@ one.
|
|
|
127
131
|
|
|
128
132
|
| Flag | Purpose |
|
|
129
133
|
| ---- | ------- |
|
|
130
|
-
| `--config
|
|
134
|
+
| `--config <path>` | Configuration file to read. Required |
|
|
131
135
|
| `--instances [globs]` | Comma-separated paths or globs; report only the templates that explain them |
|
|
132
136
|
| `--json` | Write the listing as JSON |
|
|
133
137
|
|
|
@@ -135,18 +139,18 @@ With `--instances` it answers the other direction — which templates explain a
|
|
|
135
139
|
given path:
|
|
136
140
|
|
|
137
141
|
```bash
|
|
138
|
-
conformetry templates --instances packages/billing/src/modules/billing
|
|
142
|
+
conformetry templates --config projects/configuration/conformetry.config.ts --instances packages/billing/src/modules/billing
|
|
139
143
|
```
|
|
140
144
|
|
|
141
145
|
```text
|
|
142
146
|
nestjs-service-module (nsm)
|
|
143
147
|
Generate a NestJS service module
|
|
144
|
-
Template: configuration/conformetry-templates/nestjs-service-module
|
|
148
|
+
Template: projects/configuration/conformetry-templates/nestjs-service-module
|
|
145
149
|
Instances:
|
|
146
150
|
packages/billing/src/modules/billing 5/5 files 100%
|
|
147
151
|
nestjs-command-module (ncm)
|
|
148
152
|
Generate a NestJS command module
|
|
149
|
-
Template: configuration/conformetry-templates/nestjs-command-module
|
|
153
|
+
Template: projects/configuration/conformetry-templates/nestjs-command-module
|
|
150
154
|
Instances:
|
|
151
155
|
packages/billing/src/modules/billing 3/5 files 60%
|
|
152
156
|
```
|
|
@@ -166,7 +170,7 @@ one. The complement of the command above: that one asks what standard a path
|
|
|
166
170
|
answers to, this one asks what generated code exists.
|
|
167
171
|
|
|
168
172
|
```bash
|
|
169
|
-
conformetry instances --templates nestjs-service-module
|
|
173
|
+
conformetry instances --config projects/configuration/conformetry.config.ts --templates nestjs-service-module
|
|
170
174
|
```
|
|
171
175
|
|
|
172
176
|
```text
|
|
@@ -177,7 +181,7 @@ conformetry instances --templates nestjs-service-module
|
|
|
177
181
|
|
|
178
182
|
| Flag | Purpose |
|
|
179
183
|
| ---- | ------- |
|
|
180
|
-
| `--config
|
|
184
|
+
| `--config <path>` | Configuration file to read. Required |
|
|
181
185
|
| `--json` | Write the listing as JSON |
|
|
182
186
|
| `--templates [names]` | Comma-separated template names; report only the instances they explain |
|
|
183
187
|
|
|
@@ -196,13 +200,13 @@ the template it was generated from.
|
|
|
196
200
|
|
|
197
201
|
| Flag | Purpose |
|
|
198
202
|
| ---- | ------- |
|
|
199
|
-
| `--config
|
|
203
|
+
| `--config <path>` | Configuration file to read. Required |
|
|
200
204
|
| `--instances [globs]` | Comma-separated globs to validate, overriding the configuration |
|
|
201
205
|
| `--languages [names]` | Comma-separated languages to run — `typescript`, `markdown`, `python`, `json`, `jupyter`, `text` |
|
|
202
206
|
| `--templates [names]` | Comma-separated template names to narrow the run to, or `all` for every one |
|
|
203
207
|
| `--threshold [ratio]` | Lowest conformance score an instance may have, 0 to 1. The weakest of the three threshold levels |
|
|
204
208
|
|
|
205
|
-
Every flag is optional; an absent filter means "everything". The command exits
|
|
209
|
+
Every flag but `--config` is optional; an absent filter means "everything". The command exits
|
|
206
210
|
non-zero when any instance scores below its threshold, which is what makes it
|
|
207
211
|
usable as a pre-merge gate.
|
|
208
212
|
|
|
@@ -257,7 +261,7 @@ Conformance scores:
|
|
|
257
261
|
|
|
258
262
|
1. file: logger.types.ts — 1/2 requirements met (50.0%)
|
|
259
263
|
Instance: projects/logging/src/modules/logger/logger.types.ts
|
|
260
|
-
Template: configuration/conformetry-templates/nestjs-service-module/{{nameKebabCase}}/{{nameKebabCase}}.types.ts
|
|
264
|
+
Template: projects/configuration/conformetry-templates/nestjs-service-module/{{nameKebabCase}}/{{nameKebabCase}}.types.ts
|
|
261
265
|
|
|
262
266
|
1. Missing comment // 🏷️ Types
|
|
263
267
|
Template: Line 1, Column 1
|
|
@@ -311,7 +315,7 @@ expected value and a concrete fix:
|
|
|
311
315
|
```text
|
|
312
316
|
1. file: billing.service.ts
|
|
313
317
|
Instance: packages/billing/src/modules/billing/billing.service.ts
|
|
314
|
-
Template: configuration/conformetry-templates/nestjs-service-module/…
|
|
318
|
+
Template: projects/configuration/conformetry-templates/nestjs-service-module/…
|
|
315
319
|
|
|
316
320
|
1. Missing required comment
|
|
317
321
|
Instance: line 24
|
|
@@ -538,7 +542,7 @@ nx run conformetry-cli:start
|
|
|
538
542
|
Pass a subcommand and its flags after `--`:
|
|
539
543
|
|
|
540
544
|
```bash
|
|
541
|
-
nx run conformetry-cli:start -- validate --languages typescript
|
|
545
|
+
nx run conformetry-cli:start -- validate --config projects/configuration/conformetry.config.ts --languages typescript
|
|
542
546
|
```
|
|
543
547
|
|
|
544
548
|
## Test
|
|
@@ -559,7 +563,7 @@ MIT — see [LICENSE](../../../../LICENSE).
|
|
|
559
563
|
|
|
560
564
|
## 👔 Conformetry
|
|
561
565
|
|
|
562
|
-
This project was generated from the [nestjs-command-project](
|
|
566
|
+
This project was generated from the [nestjs-command-project](../../../configuration/conformetry-templates/nestjs-command-project) conformetry template.
|
|
563
567
|
|
|
564
568
|
<!-- callidescope:start -->
|
|
565
569
|
|
|
@@ -591,9 +595,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
591
595
|
**1. `InstancesCommand.run`** — depth ≥ 15 · decorated-method
|
|
592
596
|
|
|
593
597
|
```text
|
|
594
|
-
🚀 InstancesCommand.run(_passedParameters: string[], options: InstancesCommandOptions): Promise<void> [projects/ic-suite/conformetry/conformetry-cli/src/modules/instances/instances.command.ts:
|
|
598
|
+
🚀 InstancesCommand.run(_passedParameters: string[], options: InstancesCommandOptions): Promise<void> [projects/ic-suite/conformetry/conformetry-cli/src/modules/instances/instances.command.ts:91]
|
|
595
599
|
↳ Writes every instance found, filtered to the given templates.
|
|
596
|
-
└─> ConfigurationService.resolveInventoriedInstances(…): InventoriedInstance[] [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:
|
|
600
|
+
└─> ConfigurationService.resolveInventoriedInstances(…): InventoriedInstance[] [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:368]
|
|
597
601
|
↳ Lists every instance found, paired with the templates that explain it.
|
|
598
602
|
└─> InstanceDiscoveryService.resolveInventoriedInstances(args: ResolveInventoryArguments): InventoriedInstance[] [projects/ic-suite/conformetry/conformetry-configuration/src/modules/instance-discovery/instance-discovery.service.ts:219]
|
|
599
603
|
↳ Lists every instance found, paired with the templates that explain it. `templateNames` narrows the pairing rather than…
|
|
@@ -622,9 +626,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
622
626
|
**2. `TemplatesCommand.run`** — depth ≥ 15 · decorated-method
|
|
623
627
|
|
|
624
628
|
```text
|
|
625
|
-
🚀 TemplatesCommand.run(_passedParameters: string[], options: TemplatesCommandOptions): Promise<void> [projects/ic-suite/conformetry/conformetry-cli/src/modules/templates/templates.command.ts:
|
|
629
|
+
🚀 TemplatesCommand.run(_passedParameters: string[], options: TemplatesCommandOptions): Promise<void> [projects/ic-suite/conformetry/conformetry-cli/src/modules/templates/templates.command.ts:92]
|
|
626
630
|
↳ Writes every declared template, filtered to the given instances.
|
|
627
|
-
└─> ConfigurationService.resolveInventoriedTemplates(…): InventoriedTemplate[] [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:
|
|
631
|
+
└─> ConfigurationService.resolveInventoriedTemplates(…): InventoriedTemplate[] [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:375]
|
|
628
632
|
↳ Lists every template declared, paired with the instances it explains.
|
|
629
633
|
└─> InstanceDiscoveryService.resolveInventoriedTemplates(args: ResolveInventoryArguments): InventoriedTemplate[] [projects/ic-suite/conformetry/conformetry-configuration/src/modules/instance-discovery/instance-discovery.service.ts:244]
|
|
630
634
|
↳ Lists every template declared, paired with the instances it explains. `instancePatterns` narrows which instances are…
|
|
@@ -653,11 +657,11 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
653
657
|
**3. `ValidateCommand.run`** — depth ≥ 14 · decorated-method
|
|
654
658
|
|
|
655
659
|
```text
|
|
656
|
-
🚀 ValidateCommand.run(_passedParameters: string[], options: ValidateCommandOptions): Promise<void> [projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:
|
|
660
|
+
🚀 ValidateCommand.run(_passedParameters: string[], options: ValidateCommandOptions): Promise<void> [projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:369]
|
|
657
661
|
↳ Runs validation and reports every difference found.
|
|
658
662
|
└─> ValidationService.validate(args: RunValidationArguments): RunValidationResult [projects/ic-suite/conformetry/conformetry-validation/src/modules/validation/validation.service.ts:194]
|
|
659
663
|
↳ Validates every instance and returns the differences found.
|
|
660
|
-
└─> ConfigurationService.matchInstances(…): ResolvedInstances [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:
|
|
664
|
+
└─> ConfigurationService.matchInstances(…): ResolvedInstances [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:264]
|
|
661
665
|
↳ Resolves every instance to the template, or templates, that explain it.
|
|
662
666
|
└─> InstanceDiscoveryService.matchInstances(…): ResolvedInstances [projects/ic-suite/conformetry/conformetry-configuration/src/modules/instance-discovery/instance-discovery.service.ts:123]
|
|
663
667
|
↳ Resolves every instance to the template, or templates, that explain it.
|
|
@@ -686,11 +690,11 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
686
690
|
**4. `GenerateCommand.run`** — depth ≥ 11 · decorated-method
|
|
687
691
|
|
|
688
692
|
```text
|
|
689
|
-
🚀 GenerateCommand.run(passedParameters: string[], options: GenerateCommandOptions): Promise<void> [projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:
|
|
693
|
+
🚀 GenerateCommand.run(passedParameters: string[], options: GenerateCommandOptions): Promise<void> [projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:292]
|
|
690
694
|
↳ Renders the template, reporting a refused command line as one.
|
|
691
695
|
└─> GenerateCommand.generate(…): Promise<void> [projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:65]
|
|
692
696
|
↳ Resolves the template's inputs and writes its files.
|
|
693
|
-
└─> ConfigurationService.resolveGeneratorInputs(args: ResolveGeneratorInputsArguments): Promise<Record<string, string>> [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:
|
|
697
|
+
└─> ConfigurationService.resolveGeneratorInputs(args: ResolveGeneratorInputsArguments): Promise<Record<string, string>> [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:356]
|
|
694
698
|
↳ Resolves generator inputs from raw command-line arguments.
|
|
695
699
|
└─> InputService.resolveGeneratorInputs(args: ResolveGeneratorInputsArguments): Promise<Record<string, string>> [projects/ic-suite/conformetry/conformetry-configuration/src/modules/input/input.service.ts:180]
|
|
696
700
|
↳ Resolves generator inputs from raw command-line arguments.
|
|
@@ -712,9 +716,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
712
716
|
**5. `InstancesCommand.parseTemplates`** — depth 4 · decorated-method
|
|
713
717
|
|
|
714
718
|
```text
|
|
715
|
-
🚀 InstancesCommand.parseTemplates(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/instances/instances.command.ts:
|
|
719
|
+
🚀 InstancesCommand.parseTemplates(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/instances/instances.command.ts:81]
|
|
716
720
|
↳ Parses the optional template filter.
|
|
717
|
-
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:
|
|
721
|
+
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:272]
|
|
718
722
|
↳ Splits a comma-delimited filter option into its values.
|
|
719
723
|
└─> InputService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/input/input.service.ts:118]
|
|
720
724
|
↳ Splits a comma-delimited filter option into its values.
|
|
@@ -724,9 +728,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
724
728
|
**6. `TemplatesCommand.parseInstances`** — depth 4 · decorated-method
|
|
725
729
|
|
|
726
730
|
```text
|
|
727
|
-
🚀 TemplatesCommand.parseInstances(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/templates/templates.command.ts:
|
|
731
|
+
🚀 TemplatesCommand.parseInstances(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/templates/templates.command.ts:73]
|
|
728
732
|
↳ Parses the optional instance filter.
|
|
729
|
-
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:
|
|
733
|
+
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:272]
|
|
730
734
|
↳ Splits a comma-delimited filter option into its values.
|
|
731
735
|
└─> InputService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/input/input.service.ts:118]
|
|
732
736
|
↳ Splits a comma-delimited filter option into its values.
|
|
@@ -736,9 +740,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
736
740
|
**7. `ValidateCommand.parseInstances`** — depth 4 · decorated-method
|
|
737
741
|
|
|
738
742
|
```text
|
|
739
|
-
🚀 ValidateCommand.parseInstances(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:
|
|
743
|
+
🚀 ValidateCommand.parseInstances(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:326]
|
|
740
744
|
↳ Parses the optional instance glob override.
|
|
741
|
-
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:
|
|
745
|
+
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:272]
|
|
742
746
|
↳ Splits a comma-delimited filter option into its values.
|
|
743
747
|
└─> InputService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/input/input.service.ts:118]
|
|
744
748
|
↳ Splits a comma-delimited filter option into its values.
|
|
@@ -748,9 +752,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
748
752
|
**8. `ValidateCommand.parseLanguages`** — depth 4 · decorated-method
|
|
749
753
|
|
|
750
754
|
```text
|
|
751
|
-
🚀 ValidateCommand.parseLanguages(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:
|
|
755
|
+
🚀 ValidateCommand.parseLanguages(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:336]
|
|
752
756
|
↳ Parses the optional language filter.
|
|
753
|
-
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:
|
|
757
|
+
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:272]
|
|
754
758
|
↳ Splits a comma-delimited filter option into its values.
|
|
755
759
|
└─> InputService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/input/input.service.ts:118]
|
|
756
760
|
↳ Splits a comma-delimited filter option into its values.
|
|
@@ -760,9 +764,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
760
764
|
**9. `ValidateCommand.parseTemplates`** — depth 4 · decorated-method
|
|
761
765
|
|
|
762
766
|
```text
|
|
763
|
-
🚀 ValidateCommand.parseTemplates(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:
|
|
767
|
+
🚀 ValidateCommand.parseTemplates(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:350]
|
|
764
768
|
↳ Parses the optional template filter.
|
|
765
|
-
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:
|
|
769
|
+
└─> ConfigurationService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:272]
|
|
766
770
|
↳ Splits a comma-delimited filter option into its values.
|
|
767
771
|
└─> InputService.parseCommaDelimitedOption(value: string | undefined): string[] | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/input/input.service.ts:118]
|
|
768
772
|
↳ Splits a comma-delimited filter option into its values.
|
|
@@ -772,9 +776,9 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
772
776
|
**10. `ValidateCommand.parseThreshold`** — depth 4 · decorated-method
|
|
773
777
|
|
|
774
778
|
```text
|
|
775
|
-
🚀 ValidateCommand.parseThreshold(value: string | undefined): number | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:
|
|
779
|
+
🚀 ValidateCommand.parseThreshold(value: string | undefined): number | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:359]
|
|
776
780
|
↳ Parses the optional run-level conformance threshold.
|
|
777
|
-
└─> ConfigurationService.parseThresholdOption(value: string | undefined): number | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:
|
|
781
|
+
└─> ConfigurationService.parseThresholdOption(value: string | undefined): number | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:284]
|
|
778
782
|
↳ Parses a threshold option as a ratio from 0 to 1.
|
|
779
783
|
└─> InputService.parseThresholdOption(value: string | undefined): number | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/input/input.service.ts:161]
|
|
780
784
|
↳ Parses a threshold option as a ratio from 0 to 1.
|
|
@@ -782,23 +786,22 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
782
786
|
↳ Trims an optional string option, treating blank as absent.
|
|
783
787
|
```
|
|
784
788
|
|
|
785
|
-
**11. `GenerateCommand.parseConfig`** — depth 3 · decorated-method
|
|
789
|
+
**11. `GenerateCommand.parseConfig`** — depth ≥ 3 · decorated-method
|
|
786
790
|
|
|
787
791
|
```text
|
|
788
|
-
🚀 GenerateCommand.parseConfig(value: string | undefined): string
|
|
789
|
-
↳ Parses the
|
|
790
|
-
└─> ConfigurationService.
|
|
791
|
-
↳
|
|
792
|
-
└─>
|
|
793
|
-
↳ Trims an optional string option, treating blank as absent.
|
|
792
|
+
🚀 GenerateCommand.parseConfig(value: string | undefined): string [projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:250]
|
|
793
|
+
↳ Parses the required configuration path.
|
|
794
|
+
└─> ConfigurationService.requireConfigurationPath(value: string | undefined, surface: string): string [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:342]
|
|
795
|
+
↳ Returns the configuration path a run was given, or refuses.
|
|
796
|
+
└─> ConfigurationPathRequiredError.constructor(surface: string): ConfigurationPathRequiredError [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.constants.ts:16]
|
|
794
797
|
```
|
|
795
798
|
|
|
796
799
|
**12. `GenerateCommand.parseDirectory`** — depth 3 · decorated-method
|
|
797
800
|
|
|
798
801
|
```text
|
|
799
|
-
🚀 GenerateCommand.parseDirectory(value: string | undefined): string | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:
|
|
802
|
+
🚀 GenerateCommand.parseDirectory(value: string | undefined): string | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:263]
|
|
800
803
|
↳ Parses the output directory override.
|
|
801
|
-
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:
|
|
804
|
+
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:279]
|
|
802
805
|
↳ Trims an optional string option, treating blank as absent.
|
|
803
806
|
└─> InputService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/input/input.service.ts:134]
|
|
804
807
|
↳ Trims an optional string option, treating blank as absent.
|
|
@@ -807,45 +810,42 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
807
810
|
**13. `GenerateCommand.parseTemplate`** — depth 3 · decorated-method
|
|
808
811
|
|
|
809
812
|
```text
|
|
810
|
-
🚀 GenerateCommand.parseTemplate(value: string | undefined): string | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:
|
|
813
|
+
🚀 GenerateCommand.parseTemplate(value: string | undefined): string | undefined [projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:277]
|
|
811
814
|
↳ Parses the name of the template to render.
|
|
812
|
-
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:
|
|
815
|
+
└─> ConfigurationService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:279]
|
|
813
816
|
↳ Trims an optional string option, treating blank as absent.
|
|
814
817
|
└─> InputService.parseOptionalOption(value: string | undefined): string | undefined [projects/ic-suite/conformetry/conformetry-configuration/src/modules/input/input.service.ts:134]
|
|
815
818
|
↳ Trims an optional string option, treating blank as absent.
|
|
816
819
|
```
|
|
817
820
|
|
|
818
|
-
**14. `InstancesCommand.parseConfig`** — depth 3 · decorated-method
|
|
821
|
+
**14. `InstancesCommand.parseConfig`** — depth ≥ 3 · decorated-method
|
|
819
822
|
|
|
820
823
|
```text
|
|
821
|
-
🚀 InstancesCommand.parseConfig(value: string | undefined): string
|
|
822
|
-
↳ Parses the
|
|
823
|
-
└─> ConfigurationService.
|
|
824
|
-
↳
|
|
825
|
-
└─>
|
|
826
|
-
↳ Trims an optional string option, treating blank as absent.
|
|
824
|
+
🚀 InstancesCommand.parseConfig(value: string | undefined): string [projects/ic-suite/conformetry/conformetry-cli/src/modules/instances/instances.command.ts:59]
|
|
825
|
+
↳ Parses the required configuration path.
|
|
826
|
+
└─> ConfigurationService.requireConfigurationPath(value: string | undefined, surface: string): string [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:342]
|
|
827
|
+
↳ Returns the configuration path a run was given, or refuses.
|
|
828
|
+
└─> ConfigurationPathRequiredError.constructor(surface: string): ConfigurationPathRequiredError [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.constants.ts:16]
|
|
827
829
|
```
|
|
828
830
|
|
|
829
|
-
**15. `TemplatesCommand.parseConfig`** — depth 3 · decorated-method
|
|
831
|
+
**15. `TemplatesCommand.parseConfig`** — depth ≥ 3 · decorated-method
|
|
830
832
|
|
|
831
833
|
```text
|
|
832
|
-
🚀 TemplatesCommand.parseConfig(value: string | undefined): string
|
|
833
|
-
↳ Parses the
|
|
834
|
-
└─> ConfigurationService.
|
|
835
|
-
↳
|
|
836
|
-
└─>
|
|
837
|
-
↳ Trims an optional string option, treating blank as absent.
|
|
834
|
+
🚀 TemplatesCommand.parseConfig(value: string | undefined): string [projects/ic-suite/conformetry/conformetry-cli/src/modules/templates/templates.command.ts:60]
|
|
835
|
+
↳ Parses the required configuration path.
|
|
836
|
+
└─> ConfigurationService.requireConfigurationPath(value: string | undefined, surface: string): string [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:342]
|
|
837
|
+
↳ Returns the configuration path a run was given, or refuses.
|
|
838
|
+
└─> ConfigurationPathRequiredError.constructor(surface: string): ConfigurationPathRequiredError [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.constants.ts:16]
|
|
838
839
|
```
|
|
839
840
|
|
|
840
|
-
**16. `ValidateCommand.parseConfig`** — depth 3 · decorated-method
|
|
841
|
+
**16. `ValidateCommand.parseConfig`** — depth ≥ 3 · decorated-method
|
|
841
842
|
|
|
842
843
|
```text
|
|
843
|
-
🚀 ValidateCommand.parseConfig(value: string | undefined): string
|
|
844
|
-
↳ Parses the
|
|
845
|
-
└─> ConfigurationService.
|
|
846
|
-
↳
|
|
847
|
-
└─>
|
|
848
|
-
↳ Trims an optional string option, treating blank as absent.
|
|
844
|
+
🚀 ValidateCommand.parseConfig(value: string | undefined): string [projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:313]
|
|
845
|
+
↳ Parses the required configuration path.
|
|
846
|
+
└─> ConfigurationService.requireConfigurationPath(value: string | undefined, surface: string): string [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.service.ts:342]
|
|
847
|
+
↳ Returns the configuration path a run was given, or refuses.
|
|
848
|
+
└─> ConfigurationPathRequiredError.constructor(surface: string): ConfigurationPathRequiredError [projects/ic-suite/conformetry/conformetry-configuration/src/modules/configuration/configuration.constants.ts:16]
|
|
849
849
|
```
|
|
850
850
|
|
|
851
851
|
</details>
|
|
@@ -855,7 +855,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
855
855
|
| Callable | Breadth | Calls directly | Location |
|
|
856
856
|
| --- | --- | --- | --- |
|
|
857
857
|
| `GenerateCommand.generate` | 8 | `GenerateCommand.rejectRemovedGeneratorOption`, `ConfigurationService.loadConformetryConfiguration`, `GenerateCommand.resolveTemplateName`, `GenerateCommand.requireDefinition`, `GenerateCommand.requireDirectory`, `ConfigurationService.resolveGeneratorInputs`, `GenerationService.runGenerator`, `GenerateCommand.map(…)` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:65` |
|
|
858
|
-
| `ValidateCommand.run` | 7 | `ConfigurationService.loadConformetryConfiguration`, `ValidateCommand.selectTemplates`, `ValidateCommand.selectInstances`, `ValidateCommand.reportEmptySelection`, `ValidationService.validate`, `ConfigurationService.collectTemplates`, `ValidateCommand.reportResult` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:
|
|
858
|
+
| `ValidateCommand.run` | 7 | `ConfigurationService.loadConformetryConfiguration`, `ValidateCommand.selectTemplates`, `ValidateCommand.selectInstances`, `ValidateCommand.reportEmptySelection`, `ValidationService.validate`, `ConfigurationService.collectTemplates`, `ValidateCommand.reportResult` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:369` |
|
|
859
859
|
| `GenerateCommand.resolveTemplateName` | 4 | `GenerateCommand.map(…)`, `ConfigurationService.isAtTerminal`, `missingTemplateError`, `ConfigurationService.promptForTemplate` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:217` |
|
|
860
860
|
|
|
861
861
|
<details>
|
|
@@ -863,43 +863,43 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
863
863
|
|
|
864
864
|
| Callable | Breadth | Calls directly | Location |
|
|
865
865
|
| --- | --- | --- | --- |
|
|
866
|
-
| `InstancesCommand.run` | 4 | `ConfigurationService.loadConformetryConfiguration`, `InventoryService.shortenInstancePaths`, `ConfigurationService.resolveInventoriedInstances`, `InventoryService.describeInstances` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/instances/instances.command.ts:
|
|
867
|
-
| `TemplatesCommand.run` | 4 | `ConfigurationService.loadConformetryConfiguration`, `InventoryService.shortenTemplatePairings`, `ConfigurationService.resolveInventoriedTemplates`, `InventoryService.describeTemplates` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/templates/templates.command.ts:
|
|
866
|
+
| `InstancesCommand.run` | 4 | `ConfigurationService.loadConformetryConfiguration`, `InventoryService.shortenInstancePaths`, `ConfigurationService.resolveInventoriedInstances`, `InventoryService.describeInstances` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/instances/instances.command.ts:91` |
|
|
867
|
+
| `TemplatesCommand.run` | 4 | `ConfigurationService.loadConformetryConfiguration`, `InventoryService.shortenTemplatePairings`, `ConfigurationService.resolveInventoriedTemplates`, `InventoryService.describeTemplates` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/templates/templates.command.ts:92` |
|
|
868
868
|
| `ValidateCommand.selectInstances` | 4 | `ValidateCommand.findInstances`, `ValidateCommand.flatMap(…)`, `ValidateCommand.map(…)`, `ValidateCommand.filter(…)` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:231` |
|
|
869
869
|
| `GenerateCommand.requireDefinition` | 3 | `GenerateCommand.find(…)`, `unknownTemplateError`, `GenerateCommand.map(…)` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:163` |
|
|
870
870
|
| `ValidateCommand.reportEmptySelection` | 3 | `ValidateCommand.map(…)`, `ValidateCommand.map(…)`, `ValidateCommand.filter(…)` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:152` |
|
|
871
871
|
| `ValidateCommand.reportResult` | 3 | `ReportingService.formatReport`, `ValidateCommand.filter(…)`, `ValidateCommand.describeFailure` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:193` |
|
|
872
872
|
| `ValidateCommand.map(…)` | 3 | `ValidateCommand.find(…)`, `unknownTemplateError`, `ValidateCommand.map(…)` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:289` |
|
|
873
873
|
| `GenerateCommand.rejectRemovedGeneratorOption` | 2 | `GenerateCommand.some(…)`, `removedGeneratorOptionError` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:149` |
|
|
874
|
-
| `GenerateCommand.run` | 2 | `GenerateCommand.generate`, `GenerateCommand.rejectCommandLine` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:
|
|
874
|
+
| `GenerateCommand.run` | 2 | `GenerateCommand.generate`, `GenerateCommand.rejectCommandLine` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:292` |
|
|
875
875
|
| `ValidateCommand.describeFailure` | 2 | `ValidateCommand.filter(…)`, `ValidateCommand.map(…)` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:73` |
|
|
876
876
|
| `ValidateCommand.findInstances` | 2 | `ValidateCommand.flatMap(…)`, `ConfigurationService.readWorkspaceGroups` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:97` |
|
|
877
877
|
| `ValidateCommand.promptForTemplateNames` | 2 | `ConfigurationService.isAtTerminal`, `ConfigurationService.promptForTemplates` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:134` |
|
|
878
878
|
| `ValidateCommand.selectTemplates` | 2 | `ValidateCommand.promptForTemplateNames`, `ValidateCommand.map(…)` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:274` |
|
|
879
879
|
| `missingTemplateError` | 1 | `InputError.constructor` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.constants.ts:12` |
|
|
880
880
|
| `GenerateCommand.requireDirectory` | 1 | `missingDirectoryError` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:194` |
|
|
881
|
-
| `GenerateCommand.parseConfig` | 1 | `ConfigurationService.
|
|
882
|
-
| `GenerateCommand.parseDirectory` | 1 | `ConfigurationService.parseOptionalOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:
|
|
883
|
-
| `GenerateCommand.parseTemplate` | 1 | `ConfigurationService.parseOptionalOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:
|
|
884
|
-
| `InstancesCommand.parseConfig` | 1 | `ConfigurationService.
|
|
885
|
-
| `InstancesCommand.parseTemplates` | 1 | `ConfigurationService.parseCommaDelimitedOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/instances/instances.command.ts:
|
|
886
|
-
| `TemplatesCommand.parseConfig` | 1 | `ConfigurationService.
|
|
887
|
-
| `TemplatesCommand.parseInstances` | 1 | `ConfigurationService.parseCommaDelimitedOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/templates/templates.command.ts:
|
|
881
|
+
| `GenerateCommand.parseConfig` | 1 | `ConfigurationService.requireConfigurationPath` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:250` |
|
|
882
|
+
| `GenerateCommand.parseDirectory` | 1 | `ConfigurationService.parseOptionalOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:263` |
|
|
883
|
+
| `GenerateCommand.parseTemplate` | 1 | `ConfigurationService.parseOptionalOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/generate/generate.command.ts:277` |
|
|
884
|
+
| `InstancesCommand.parseConfig` | 1 | `ConfigurationService.requireConfigurationPath` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/instances/instances.command.ts:59` |
|
|
885
|
+
| `InstancesCommand.parseTemplates` | 1 | `ConfigurationService.parseCommaDelimitedOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/instances/instances.command.ts:81` |
|
|
886
|
+
| `TemplatesCommand.parseConfig` | 1 | `ConfigurationService.requireConfigurationPath` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/templates/templates.command.ts:60` |
|
|
887
|
+
| `TemplatesCommand.parseInstances` | 1 | `ConfigurationService.parseCommaDelimitedOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/templates/templates.command.ts:73` |
|
|
888
888
|
| `ValidateCommand.map(…)` | 1 | `ReportingService.formatPercentage` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:76` |
|
|
889
889
|
| `ValidateCommand.flatMap(…)` | 1 | `ConfigurationService.findInstances` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:105` |
|
|
890
890
|
| `ValidateCommand.filter(…)` | 1 | `ConfigurationService.readWorkspaceGroups` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:160` |
|
|
891
|
-
| `ValidateCommand.parseConfig` | 1 | `ConfigurationService.
|
|
892
|
-
| `ValidateCommand.parseInstances` | 1 | `ConfigurationService.parseCommaDelimitedOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:
|
|
893
|
-
| `ValidateCommand.parseLanguages` | 1 | `ConfigurationService.parseCommaDelimitedOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:
|
|
894
|
-
| `ValidateCommand.parseTemplates` | 1 | `ConfigurationService.parseCommaDelimitedOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:
|
|
895
|
-
| `ValidateCommand.parseThreshold` | 1 | `ConfigurationService.parseThresholdOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:
|
|
891
|
+
| `ValidateCommand.parseConfig` | 1 | `ConfigurationService.requireConfigurationPath` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:313` |
|
|
892
|
+
| `ValidateCommand.parseInstances` | 1 | `ConfigurationService.parseCommaDelimitedOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:326` |
|
|
893
|
+
| `ValidateCommand.parseLanguages` | 1 | `ConfigurationService.parseCommaDelimitedOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:336` |
|
|
894
|
+
| `ValidateCommand.parseTemplates` | 1 | `ConfigurationService.parseCommaDelimitedOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:350` |
|
|
895
|
+
| `ValidateCommand.parseThreshold` | 1 | `ConfigurationService.parseThresholdOption` | `projects/ic-suite/conformetry/conformetry-cli/src/modules/validate/validate.command.ts:359` |
|
|
896
896
|
|
|
897
897
|
</details>
|
|
898
898
|
<!-- callidescope:end -->
|
|
899
899
|
|
|
900
900
|
## 🕸️ Codependix
|
|
901
901
|
|
|
902
|
-
Dependency graphs exported by [codependix](https://github.com/Organizzolini/codebase/tree/main/projects/ic-suite/codependix/codependix-cli), regenerated by `nx run
|
|
902
|
+
Dependency graphs exported by [codependix](https://github.com/Organizzolini/codebase/tree/main/projects/ic-suite/codependix/codependix-cli), regenerated by `nx run configuration:codependix:write`.
|
|
903
903
|
|
|
904
904
|
### Nx Neighborhood
|
|
905
905
|
|
|
@@ -1096,14 +1096,14 @@ graph LR
|
|
|
1096
1096
|
|
|
1097
1097
|
### Project
|
|
1098
1098
|
|
|
1099
|
-

|
|
1100
|
+

|
|
1101
1101
|

|
|
1102
1102
|

|
|
1103
1103
|
|
|
1104
1104
|
### Measured Targets
|
|
1105
1105
|
|
|
1106
|
-

|
|
1107
1107
|
|
|
1108
1108
|
### TypeScript
|
|
1109
1109
|
|
|
@@ -1121,15 +1121,15 @@ graph LR
|
|
|
1121
1121
|

|
|
1122
1122
|

|
|
1123
1123
|

|
|
1124
|
-

|
|
1125
1125
|

|
|
1126
|
-

|
|
1127
|
+

|
|
1128
|
+

|
|
1129
|
+

|
|
1130
1130
|

|
|
1131
|
-

|
|
1132
|
+

|
|
1133
1133
|

|
|
1134
1134
|
|
|
1135
1135
|
### Python
|
|
@@ -1285,20 +1285,20 @@ graph LR
|
|
|
1285
1285
|
### Markdown
|
|
1286
1286
|
|
|
1287
1287
|

|
|
1288
|
-

|
|
1289
1289
|

|
|
1290
|
-

|
|
1291
|
+

|
|
1292
1292
|

|
|
1293
1293
|

|
|
1294
1294
|

|
|
1295
|
-

|
|
1296
|
+

|
|
1297
|
+

|
|
1298
1298
|

|
|
1299
1299
|

|
|
1300
1300
|

|
|
1301
|
-

|
|
1302
1302
|

|
|
1303
1303
|

|
|
1304
1304
|

|
|
@@ -6,15 +6,15 @@ import d from "pino";
|
|
|
6
6
|
import { ConfigModule as f } from "@nestjs/config";
|
|
7
7
|
import { DiscoveryModule as p } from "@nestjs/core";
|
|
8
8
|
import { z as m } from "zod";
|
|
9
|
-
import { ALL_TEMPLATES_SELECTION as h, ConfigurationModule as g, ConfigurationService as _, InputError as v, missingDirectoryError as
|
|
10
|
-
import { GenerationModule as
|
|
11
|
-
import { InventoryModule as
|
|
12
|
-
import { ValidationModule as
|
|
9
|
+
import { ALL_TEMPLATES_SELECTION as h, ConfigurationModule as g, ConfigurationService as _, InputError as v, missingDirectoryError as ee } from "@conformetry/configuration";
|
|
10
|
+
import { GenerationModule as y, GenerationService as b } from "@conformetry/generation";
|
|
11
|
+
import { InventoryModule as x, InventoryService as S, ReportingModule as C, ReportingService as w } from "@conformetry/output";
|
|
12
|
+
import { ValidationModule as T, ValidationService as E } from "@conformetry/validation";
|
|
13
13
|
//#region \0rolldown/runtime.js
|
|
14
|
-
var
|
|
14
|
+
var D = Object.defineProperty, __name = (e, t) => D(e, "name", {
|
|
15
15
|
value: t,
|
|
16
16
|
configurable: !0
|
|
17
|
-
}),
|
|
17
|
+
}), O = /^(\p{Extended_Pictographic}️?(?:\p{Extended_Pictographic}️?)*)\s+/u, k = /^([A-Za-z]+)/, A = /* @__PURE__ */ new Set([
|
|
18
18
|
"built",
|
|
19
19
|
"cut",
|
|
20
20
|
"found",
|
|
@@ -32,7 +32,7 @@ var O = Object.defineProperty, __name = (e, t) => O(e, "name", {
|
|
|
32
32
|
"split",
|
|
33
33
|
"took",
|
|
34
34
|
"wrote"
|
|
35
|
-
]),
|
|
35
|
+
]), j = /* @__PURE__ */ new Set([
|
|
36
36
|
"CommandFactory",
|
|
37
37
|
"ExceptionHandler",
|
|
38
38
|
"GraphQLModule",
|
|
@@ -58,9 +58,9 @@ function __decorate(e, t, n, r) {
|
|
|
58
58
|
}
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region projects/logging/src/modules/logger/logger.service.ts
|
|
61
|
-
var
|
|
61
|
+
var M, N = class LoggerService extends r {
|
|
62
62
|
static {
|
|
63
|
-
|
|
63
|
+
M = this;
|
|
64
64
|
}
|
|
65
65
|
constructor() {
|
|
66
66
|
super();
|
|
@@ -68,15 +68,15 @@ var N, P = class LoggerService extends r {
|
|
|
68
68
|
static isProduction = process.env.NODE_ENV === "production";
|
|
69
69
|
static rootLogger;
|
|
70
70
|
static writesToStandardError = !1;
|
|
71
|
-
child =
|
|
71
|
+
child = M.root;
|
|
72
72
|
static createRootLogger() {
|
|
73
73
|
let e = process.env.LOG_LEVEL ?? "info";
|
|
74
|
-
return
|
|
74
|
+
return M.isProduction ? M.writesToStandardError ? d({ level: e }, d.destination(2)) : d({ level: e }) : d({
|
|
75
75
|
level: e,
|
|
76
76
|
transport: {
|
|
77
77
|
options: {
|
|
78
78
|
colorize: !0,
|
|
79
|
-
destination:
|
|
79
|
+
destination: M.writesToStandardError ? 2 : 1,
|
|
80
80
|
ignore: "pid,hostname,emoji",
|
|
81
81
|
messageFormat: "{emoji} {msg}",
|
|
82
82
|
singleLine: !0
|
|
@@ -86,10 +86,10 @@ var N, P = class LoggerService extends r {
|
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
static logToStandardError() {
|
|
89
|
-
|
|
89
|
+
M.rootLogger === void 0 ? M.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.");
|
|
90
90
|
}
|
|
91
91
|
assertConventionalMessage(e) {
|
|
92
|
-
if (
|
|
92
|
+
if (M.isProduction || this.shouldSkipConventionalMessageValidation(e.context)) return;
|
|
93
93
|
let t = this.getConventionalMessageViolation(e.parsed);
|
|
94
94
|
if (t !== void 0) throw Error(t);
|
|
95
95
|
}
|
|
@@ -100,21 +100,21 @@ var N, P = class LoggerService extends r {
|
|
|
100
100
|
}), {
|
|
101
101
|
...e.data,
|
|
102
102
|
context: e.context,
|
|
103
|
-
...
|
|
103
|
+
...M.isProduction ? {} : { emoji: e.parsed.emoji }
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
getConventionalMessageViolation(e) {
|
|
107
107
|
let t = e.emoji, n = e.text;
|
|
108
108
|
if (t === void 0) return `Log message must start with an emoji naming its subject, then a verb: "${n}"`;
|
|
109
|
-
let r =
|
|
109
|
+
let r = k.exec(n)?.[1];
|
|
110
110
|
if (r === void 0 || !this.isConventionalVerb(r)) return `Log message must begin with a verb in present progressive or past tense, got "${r ?? ""}": "${t} ${n}"`;
|
|
111
111
|
}
|
|
112
112
|
isConventionalVerb(e) {
|
|
113
113
|
let t = e.toLowerCase();
|
|
114
|
-
return t.endsWith("ing") || t.endsWith("ed") ||
|
|
114
|
+
return t.endsWith("ing") || t.endsWith("ed") || A.has(t);
|
|
115
115
|
}
|
|
116
116
|
parseMessage(e) {
|
|
117
|
-
let t = String(e), n =
|
|
117
|
+
let t = String(e), n = O.exec(t), r = n?.[1];
|
|
118
118
|
return r === void 0 ? {
|
|
119
119
|
emoji: void 0,
|
|
120
120
|
text: t
|
|
@@ -124,10 +124,10 @@ var N, P = class LoggerService extends r {
|
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
shouldSkipConventionalMessageValidation(e) {
|
|
127
|
-
return e !== void 0 &&
|
|
127
|
+
return e !== void 0 && j.has(e);
|
|
128
128
|
}
|
|
129
129
|
static get root() {
|
|
130
|
-
return
|
|
130
|
+
return M.rootLogger ??= M.createRootLogger(), M.rootLogger;
|
|
131
131
|
}
|
|
132
132
|
buildErrorLogEntry(e, t) {
|
|
133
133
|
let n = t instanceof Error ? t.stack || t.message : String(t);
|
|
@@ -171,7 +171,7 @@ var N, P = class LoggerService extends r {
|
|
|
171
171
|
this.info(e, t, n);
|
|
172
172
|
}
|
|
173
173
|
setContext(e) {
|
|
174
|
-
super.setContext(e), this.child =
|
|
174
|
+
super.setContext(e), this.child = M.root.child({ context: e });
|
|
175
175
|
}
|
|
176
176
|
verbose(e, t, n) {
|
|
177
177
|
let r = this.parseMessage(e);
|
|
@@ -190,17 +190,19 @@ var N, P = class LoggerService extends r {
|
|
|
190
190
|
}), r.text);
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
|
-
|
|
193
|
+
N = M = __decorate([a({ scope: s.TRANSIENT }), __decorateMetadata("design:paramtypes", [])], N);
|
|
194
194
|
//#endregion
|
|
195
195
|
//#region projects/logging/src/modules/logger/logger.module.ts
|
|
196
|
-
var
|
|
197
|
-
|
|
196
|
+
var P = class LoggerModule {};
|
|
197
|
+
P = __decorate([i(), o({
|
|
198
198
|
controllers: [],
|
|
199
|
-
exports: [
|
|
199
|
+
exports: [N],
|
|
200
200
|
imports: [],
|
|
201
|
-
providers: [
|
|
202
|
-
})],
|
|
203
|
-
|
|
201
|
+
providers: [N]
|
|
202
|
+
})], P);
|
|
203
|
+
//#endregion
|
|
204
|
+
//#region projects/ic-suite/conformetry/conformetry-cli/src/conformetry-cli.constants.ts
|
|
205
|
+
var F = "the --config flag", unknownTemplateError = (e) => /* @__PURE__ */ Error(`Unknown template "${e.templateName}". Available: ${e.availableTemplateNames.join(", ")}`), removedGeneratorOptionError = () => /* @__PURE__ */ Error("--generator was removed. Pass --template instead: it is the word the configuration, the templates command, and the conformance report already use."), I = m.object({}), missingTemplateError = (e) => new v(`No template was selected. Pass --template. Available: ${e.join(", ")}`), L, R = L = class GenerateCommand extends t {
|
|
204
206
|
configurationService;
|
|
205
207
|
generationService;
|
|
206
208
|
logger;
|
|
@@ -210,7 +212,7 @@ var unknownTemplateError = (e) => /* @__PURE__ */ Error(`Unknown template "${e.t
|
|
|
210
212
|
async generate(e, t) {
|
|
211
213
|
let n = [...e, ...process.argv.slice(2)];
|
|
212
214
|
this.rejectRemovedGeneratorOption(n);
|
|
213
|
-
let r = await this.configurationService.loadConformetryConfiguration(t.config
|
|
215
|
+
let r = await this.configurationService.loadConformetryConfiguration(t.config), i = await this.resolveTemplateName({
|
|
214
216
|
configuration: r,
|
|
215
217
|
templateName: t.template
|
|
216
218
|
});
|
|
@@ -249,7 +251,7 @@ var unknownTemplateError = (e) => /* @__PURE__ */ Error(`Unknown template "${e.t
|
|
|
249
251
|
return n;
|
|
250
252
|
}
|
|
251
253
|
requireDirectory(e, t) {
|
|
252
|
-
if (e.directory === void 0) throw this.logger.error("🚫 Rejected a run with no directory", void 0, { template: t }),
|
|
254
|
+
if (e.directory === void 0) throw this.logger.error("🚫 Rejected a run with no directory", void 0, { template: t }), ee({ generatorName: t });
|
|
253
255
|
return e.directory;
|
|
254
256
|
}
|
|
255
257
|
async resolveTemplateName(e) {
|
|
@@ -261,7 +263,7 @@ var unknownTemplateError = (e) => /* @__PURE__ */ Error(`Unknown template "${e.t
|
|
|
261
263
|
return n;
|
|
262
264
|
}
|
|
263
265
|
parseConfig(e) {
|
|
264
|
-
return this.configurationService.
|
|
266
|
+
return this.configurationService.requireConfigurationPath(e, F);
|
|
265
267
|
}
|
|
266
268
|
parseDirectory(e) {
|
|
267
269
|
return this.configurationService.parseOptionalOption(e);
|
|
@@ -281,11 +283,12 @@ var unknownTemplateError = (e) => /* @__PURE__ */ Error(`Unknown template "${e.t
|
|
|
281
283
|
__decorate([
|
|
282
284
|
n({
|
|
283
285
|
description: "Path to the conformetry configuration file",
|
|
284
|
-
flags: "--config
|
|
286
|
+
flags: "--config <path>",
|
|
287
|
+
required: !0
|
|
285
288
|
}),
|
|
286
289
|
__decorateMetadata("design:type", Function),
|
|
287
290
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
288
|
-
__decorateMetadata("design:returntype",
|
|
291
|
+
__decorateMetadata("design:returntype", String)
|
|
289
292
|
], R.prototype, "parseConfig", null), __decorate([
|
|
290
293
|
n({
|
|
291
294
|
description: "Directory to write generated files into",
|
|
@@ -311,8 +314,8 @@ __decorate([
|
|
|
311
314
|
a(),
|
|
312
315
|
__decorateMetadata("design:paramtypes", [
|
|
313
316
|
_ === void 0 ? Object : _,
|
|
314
|
-
|
|
315
|
-
|
|
317
|
+
b === void 0 ? Object : b,
|
|
318
|
+
N === void 0 ? Object : N
|
|
316
319
|
])
|
|
317
320
|
], R);
|
|
318
321
|
//#endregion
|
|
@@ -323,8 +326,8 @@ z = __decorate([o({
|
|
|
323
326
|
exports: [R],
|
|
324
327
|
imports: [
|
|
325
328
|
g,
|
|
326
|
-
|
|
327
|
-
|
|
329
|
+
y,
|
|
330
|
+
P
|
|
328
331
|
],
|
|
329
332
|
providers: [R]
|
|
330
333
|
})], z);
|
|
@@ -338,7 +341,7 @@ var B = "No instances were found. Check the instance globs in the configuration.
|
|
|
338
341
|
super(), this.configurationService = e, this.inventoryService = t, this.logger = n, this.logger.setContext(H.name);
|
|
339
342
|
}
|
|
340
343
|
parseConfig(e) {
|
|
341
|
-
return this.configurationService.
|
|
344
|
+
return this.configurationService.requireConfigurationPath(e, F);
|
|
342
345
|
}
|
|
343
346
|
parseJson() {
|
|
344
347
|
return !0;
|
|
@@ -348,7 +351,7 @@ var B = "No instances were found. Check the instance globs in the configuration.
|
|
|
348
351
|
}
|
|
349
352
|
async run(e, t) {
|
|
350
353
|
this.logger.debug("📋 Listing conformetry instances", void 0, { templateFilter: t.templates });
|
|
351
|
-
let n = process.cwd(), r = await this.configurationService.loadConformetryConfiguration(t.config
|
|
354
|
+
let n = process.cwd(), r = await this.configurationService.loadConformetryConfiguration(t.config), i = this.inventoryService.shortenInstancePaths({
|
|
352
355
|
instances: this.configurationService.resolveInventoriedInstances({
|
|
353
356
|
configuration: r,
|
|
354
357
|
...t.templates === void 0 ? {} : { templateNames: t.templates },
|
|
@@ -362,11 +365,12 @@ var B = "No instances were found. Check the instance globs in the configuration.
|
|
|
362
365
|
__decorate([
|
|
363
366
|
n({
|
|
364
367
|
description: "Path to the conformetry configuration file",
|
|
365
|
-
flags: "--config
|
|
368
|
+
flags: "--config <path>",
|
|
369
|
+
required: !0
|
|
366
370
|
}),
|
|
367
371
|
__decorateMetadata("design:type", Function),
|
|
368
372
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
369
|
-
__decorateMetadata("design:returntype",
|
|
373
|
+
__decorateMetadata("design:returntype", String)
|
|
370
374
|
], U.prototype, "parseConfig", null), __decorate([
|
|
371
375
|
n({
|
|
372
376
|
description: "Write the listing as JSON",
|
|
@@ -391,8 +395,8 @@ __decorate([
|
|
|
391
395
|
a(),
|
|
392
396
|
__decorateMetadata("design:paramtypes", [
|
|
393
397
|
_ === void 0 ? Object : _,
|
|
394
|
-
|
|
395
|
-
|
|
398
|
+
S === void 0 ? Object : S,
|
|
399
|
+
N === void 0 ? Object : N
|
|
396
400
|
])
|
|
397
401
|
], U);
|
|
398
402
|
//#endregion
|
|
@@ -403,8 +407,8 @@ W = __decorate([o({
|
|
|
403
407
|
exports: [U],
|
|
404
408
|
imports: [
|
|
405
409
|
g,
|
|
406
|
-
|
|
407
|
-
|
|
410
|
+
x,
|
|
411
|
+
P
|
|
408
412
|
],
|
|
409
413
|
providers: [U]
|
|
410
414
|
})], W);
|
|
@@ -418,7 +422,7 @@ var G = "No templates are declared in the configuration.", K = "No template expl
|
|
|
418
422
|
super(), this.configurationService = e, this.inventoryService = t, this.logger = n, this.logger.setContext(q.name);
|
|
419
423
|
}
|
|
420
424
|
parseConfig(e) {
|
|
421
|
-
return this.configurationService.
|
|
425
|
+
return this.configurationService.requireConfigurationPath(e, F);
|
|
422
426
|
}
|
|
423
427
|
parseInstances(e) {
|
|
424
428
|
return this.configurationService.parseCommaDelimitedOption(e);
|
|
@@ -428,7 +432,7 @@ var G = "No templates are declared in the configuration.", K = "No template expl
|
|
|
428
432
|
}
|
|
429
433
|
async run(e, t) {
|
|
430
434
|
this.logger.debug("📋 Listing conformetry templates", void 0, { instanceFilter: t.instances });
|
|
431
|
-
let n = process.cwd(), r = await this.configurationService.loadConformetryConfiguration(t.config
|
|
435
|
+
let n = process.cwd(), r = await this.configurationService.loadConformetryConfiguration(t.config), i = this.inventoryService.shortenTemplatePairings({
|
|
432
436
|
templates: this.configurationService.resolveInventoriedTemplates({
|
|
433
437
|
configuration: r,
|
|
434
438
|
...t.instances === void 0 ? {} : { instancePatterns: t.instances },
|
|
@@ -445,11 +449,12 @@ var G = "No templates are declared in the configuration.", K = "No template expl
|
|
|
445
449
|
__decorate([
|
|
446
450
|
n({
|
|
447
451
|
description: "Path to the conformetry configuration file",
|
|
448
|
-
flags: "--config
|
|
452
|
+
flags: "--config <path>",
|
|
453
|
+
required: !0
|
|
449
454
|
}),
|
|
450
455
|
__decorateMetadata("design:type", Function),
|
|
451
456
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
452
|
-
__decorateMetadata("design:returntype",
|
|
457
|
+
__decorateMetadata("design:returntype", String)
|
|
453
458
|
], J.prototype, "parseConfig", null), __decorate([
|
|
454
459
|
n({
|
|
455
460
|
description: "Comma-separated paths or globs; report only the templates that explain them",
|
|
@@ -474,8 +479,8 @@ __decorate([
|
|
|
474
479
|
a(),
|
|
475
480
|
__decorateMetadata("design:paramtypes", [
|
|
476
481
|
_ === void 0 ? Object : _,
|
|
477
|
-
|
|
478
|
-
|
|
482
|
+
S === void 0 ? Object : S,
|
|
483
|
+
N === void 0 ? Object : N
|
|
479
484
|
])
|
|
480
485
|
], J);
|
|
481
486
|
//#endregion
|
|
@@ -486,8 +491,8 @@ Y = __decorate([o({
|
|
|
486
491
|
exports: [J],
|
|
487
492
|
imports: [
|
|
488
493
|
g,
|
|
489
|
-
|
|
490
|
-
|
|
494
|
+
x,
|
|
495
|
+
P
|
|
491
496
|
],
|
|
492
497
|
providers: [J]
|
|
493
498
|
})], Y);
|
|
@@ -569,7 +574,7 @@ var X, Z = X = class ValidateCommand extends t {
|
|
|
569
574
|
});
|
|
570
575
|
}
|
|
571
576
|
parseConfig(e) {
|
|
572
|
-
return this.configurationService.
|
|
577
|
+
return this.configurationService.requireConfigurationPath(e, F);
|
|
573
578
|
}
|
|
574
579
|
parseInstances(e) {
|
|
575
580
|
return this.configurationService.parseCommaDelimitedOption(e);
|
|
@@ -585,7 +590,7 @@ var X, Z = X = class ValidateCommand extends t {
|
|
|
585
590
|
}
|
|
586
591
|
async run(e, t) {
|
|
587
592
|
this.logger.debug("🔍 Validating conformetry instances", void 0, { instanceFilter: t.instances });
|
|
588
|
-
let n = process.cwd(), r = await this.configurationService.loadConformetryConfiguration(t.config
|
|
593
|
+
let n = process.cwd(), r = await this.configurationService.loadConformetryConfiguration(t.config), i = await this.selectTemplates({
|
|
589
594
|
configuration: r,
|
|
590
595
|
templateNames: t.templates
|
|
591
596
|
}), a = this.selectInstances({
|
|
@@ -616,11 +621,12 @@ var X, Z = X = class ValidateCommand extends t {
|
|
|
616
621
|
__decorate([
|
|
617
622
|
n({
|
|
618
623
|
description: "Path to the conformetry configuration file",
|
|
619
|
-
flags: "--config
|
|
624
|
+
flags: "--config <path>",
|
|
625
|
+
required: !0
|
|
620
626
|
}),
|
|
621
627
|
__decorateMetadata("design:type", Function),
|
|
622
628
|
__decorateMetadata("design:paramtypes", [Object]),
|
|
623
|
-
__decorateMetadata("design:returntype",
|
|
629
|
+
__decorateMetadata("design:returntype", String)
|
|
624
630
|
], Z.prototype, "parseConfig", null), __decorate([
|
|
625
631
|
n({
|
|
626
632
|
description: "Comma-separated glob patterns to validate, overriding the configuration",
|
|
@@ -661,9 +667,9 @@ __decorate([
|
|
|
661
667
|
a(),
|
|
662
668
|
__decorateMetadata("design:paramtypes", [
|
|
663
669
|
_ === void 0 ? Object : _,
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
670
|
+
w === void 0 ? Object : w,
|
|
671
|
+
E === void 0 ? Object : E,
|
|
672
|
+
N === void 0 ? Object : N
|
|
667
673
|
])
|
|
668
674
|
], Z);
|
|
669
675
|
//#endregion
|
|
@@ -674,9 +680,9 @@ Q = __decorate([o({
|
|
|
674
680
|
exports: [Z],
|
|
675
681
|
imports: [
|
|
676
682
|
g,
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
683
|
+
P,
|
|
684
|
+
C,
|
|
685
|
+
T
|
|
680
686
|
],
|
|
681
687
|
providers: [Z]
|
|
682
688
|
})], Q);
|
|
@@ -690,11 +696,11 @@ $ = __decorate([o({ imports: [
|
|
|
690
696
|
validate: (e) => I.parse(e)
|
|
691
697
|
}),
|
|
692
698
|
p,
|
|
693
|
-
|
|
699
|
+
P,
|
|
694
700
|
z,
|
|
695
701
|
W,
|
|
696
702
|
Y,
|
|
697
703
|
Q
|
|
698
704
|
] })], $);
|
|
699
705
|
//#endregion
|
|
700
|
-
export { J as a, z as c, __name as d, Y as i, R as l, Q as n, W as o, Z as r, U as s, $ as t,
|
|
706
|
+
export { J as a, z as c, __name as d, Y as i, R as l, Q as n, W as o, Z as r, U as s, $ as t, N as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { t as e, u as t } from "../conformetry-cli.module-
|
|
2
|
+
import { t as e, u as t } from "../conformetry-cli.module-BDadLQEm.js";
|
|
3
3
|
import "reflect-metadata";
|
|
4
4
|
import { CommandFactory as n } from "nest-commander";
|
|
5
5
|
//#region projects/ic-suite/conformetry/conformetry-cli/src/conformetry-cli.main.ts
|
package/dist/src/index.d.ts
CHANGED
|
@@ -68,8 +68,8 @@ export declare class GenerateCommand extends CommandRunner {
|
|
|
68
68
|
* a prompt hang a CI job until it timed out.
|
|
69
69
|
*/
|
|
70
70
|
private resolveTemplateName;
|
|
71
|
-
/** Parses the
|
|
72
|
-
parseConfig(value: string | undefined): string
|
|
71
|
+
/** Parses the required configuration path. */
|
|
72
|
+
parseConfig(value: string | undefined): string;
|
|
73
73
|
/** Parses the output directory override. */
|
|
74
74
|
parseDirectory(value: string | undefined): string | undefined;
|
|
75
75
|
/**
|
|
@@ -96,7 +96,7 @@ export declare class GenerateCommand extends CommandRunner {
|
|
|
96
96
|
* parsed options — `--directory` arrives as `directory`.
|
|
97
97
|
*/
|
|
98
98
|
export declare interface GenerateCommandOptions {
|
|
99
|
-
config
|
|
99
|
+
config: string;
|
|
100
100
|
directory?: string;
|
|
101
101
|
/**
|
|
102
102
|
* Optional at the parse layer only. A bare `generate` has to reach the
|
|
@@ -130,8 +130,8 @@ export declare class InstancesCommand extends CommandRunner {
|
|
|
130
130
|
private readonly inventoryService;
|
|
131
131
|
private readonly logger;
|
|
132
132
|
constructor(configurationService: ConfigurationService, inventoryService: InventoryService, logger: LoggerService);
|
|
133
|
-
/** Parses the
|
|
134
|
-
parseConfig(value: string | undefined): string
|
|
133
|
+
/** Parses the required configuration path. */
|
|
134
|
+
parseConfig(value: string | undefined): string;
|
|
135
135
|
/** Selects the machine-readable listing. */
|
|
136
136
|
parseJson(): boolean;
|
|
137
137
|
/** Parses the optional template filter. */
|
|
@@ -142,7 +142,7 @@ export declare class InstancesCommand extends CommandRunner {
|
|
|
142
142
|
|
|
143
143
|
/** Options accepted by the instances command. */
|
|
144
144
|
export declare interface InstancesCommandOptions {
|
|
145
|
-
config
|
|
145
|
+
config: string;
|
|
146
146
|
json?: boolean;
|
|
147
147
|
templates?: string[];
|
|
148
148
|
}
|
|
@@ -522,8 +522,8 @@ export declare class TemplatesCommand extends CommandRunner {
|
|
|
522
522
|
private readonly inventoryService;
|
|
523
523
|
private readonly logger;
|
|
524
524
|
constructor(configurationService: ConfigurationService, inventoryService: InventoryService, logger: LoggerService);
|
|
525
|
-
/** Parses the
|
|
526
|
-
parseConfig(value: string | undefined): string
|
|
525
|
+
/** Parses the required configuration path. */
|
|
526
|
+
parseConfig(value: string | undefined): string;
|
|
527
527
|
/** Parses the optional instance filter. */
|
|
528
528
|
parseInstances(value: string | undefined): string[] | undefined;
|
|
529
529
|
/** Selects the machine-readable listing. */
|
|
@@ -534,7 +534,7 @@ export declare class TemplatesCommand extends CommandRunner {
|
|
|
534
534
|
|
|
535
535
|
/** Options accepted by the templates command. */
|
|
536
536
|
export declare interface TemplatesCommandOptions {
|
|
537
|
-
config
|
|
537
|
+
config: string;
|
|
538
538
|
instances?: string[];
|
|
539
539
|
json?: boolean;
|
|
540
540
|
}
|
|
@@ -630,8 +630,8 @@ export declare class ValidateCommand extends CommandRunner {
|
|
|
630
630
|
* flag existed.
|
|
631
631
|
*/
|
|
632
632
|
private selectTemplates;
|
|
633
|
-
/** Parses the
|
|
634
|
-
parseConfig(value: string | undefined): string
|
|
633
|
+
/** Parses the required configuration path. */
|
|
634
|
+
parseConfig(value: string | undefined): string;
|
|
635
635
|
/** Parses the optional instance glob override. */
|
|
636
636
|
parseInstances(value: string | undefined): string[] | undefined;
|
|
637
637
|
/** Parses the optional language filter. */
|
|
@@ -651,7 +651,7 @@ export declare class ValidateCommand extends CommandRunner {
|
|
|
651
651
|
|
|
652
652
|
/** Options accepted by the validate command. */
|
|
653
653
|
export declare interface ValidateCommandOptions {
|
|
654
|
-
config
|
|
654
|
+
config: string;
|
|
655
655
|
instances?: string[];
|
|
656
656
|
languages?: string[];
|
|
657
657
|
/**
|
package/dist/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { l as GenerateCommand, c as GenerateModule, s as InstancesCommand, o as InstancesModule, t as MainModule, a as TemplatesCommand, i as TemplatesModule, r as ValidateCommand, n as ValidateModule } from "../conformetry-cli.module-
|
|
1
|
+
export { l as GenerateCommand, c as GenerateModule, s as InstancesCommand, o as InstancesModule, t as MainModule, a as TemplatesCommand, i as TemplatesModule, r as ValidateCommand, n as ValidateModule } from "../conformetry-cli.module-BDadLQEm.js";
|
package/package.json
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
"url": "https://github.com/organizzolini/codebase/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@conformetry/configuration": "0.0.
|
|
11
|
-
"@conformetry/generation": "0.0.
|
|
12
|
-
"@conformetry/output": "0.0.
|
|
13
|
-
"@conformetry/validation": "0.0.
|
|
10
|
+
"@conformetry/configuration": "0.0.30",
|
|
11
|
+
"@conformetry/generation": "0.0.30",
|
|
12
|
+
"@conformetry/output": "0.0.29",
|
|
13
|
+
"@conformetry/validation": "0.0.29",
|
|
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",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"description": "Command-line toolchain for scaffolding code from templates and holding implementations to them",
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@codebase/logging": "0.0.1",
|
|
26
|
-
"@conformetry/core": "0.0.
|
|
26
|
+
"@conformetry/core": "0.0.29",
|
|
27
27
|
"@golevelup/ts-vitest": "^4.0.0",
|
|
28
28
|
"@nestjs/testing": "^12.0.1",
|
|
29
29
|
"@nx/eslint-plugin": "^23.0.0",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"strict": true
|
|
76
76
|
},
|
|
77
77
|
"types": "./dist/src/index.d.ts",
|
|
78
|
-
"version": "0.0.
|
|
78
|
+
"version": "0.0.30"
|
|
79
79
|
}
|