@conformetry/cli 0.0.43 → 0.0.45
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,27 @@
|
|
|
1
|
+
## 0.0.45 (2026-10-20)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated conformetry-configuration to 0.0.45
|
|
6
|
+
- Updated conformetry-generation to 0.0.45
|
|
7
|
+
- Updated conformetry-validation to 0.0.44
|
|
8
|
+
- Updated conformetry-output to 0.0.44
|
|
9
|
+
- Updated conformetry-core to 0.0.44
|
|
10
|
+
|
|
11
|
+
## 0.0.44 (2026-10-20)
|
|
12
|
+
|
|
13
|
+
### 💅 Refactors
|
|
14
|
+
|
|
15
|
+
- **configuration:** ♻️ relocate internal projects and rename shared packages ([#1708](https://github.com/organizzolini/codebase/pull/1708))
|
|
16
|
+
|
|
17
|
+
### 🧱 Updated Dependencies
|
|
18
|
+
|
|
19
|
+
- Updated conformetry-configuration to 0.0.44
|
|
20
|
+
- Updated conformetry-generation to 0.0.44
|
|
21
|
+
- Updated conformetry-validation to 0.0.43
|
|
22
|
+
- Updated conformetry-output to 0.0.43
|
|
23
|
+
- Updated conformetry-core to 0.0.43
|
|
24
|
+
|
|
1
25
|
## 0.0.43 (2026-10-20)
|
|
2
26
|
|
|
3
27
|
### 🧱 Updated Dependencies
|
|
@@ -424,7 +448,7 @@
|
|
|
424
448
|
|
|
425
449
|
### 💅 Refactors
|
|
426
450
|
|
|
427
|
-
- **ic-suite:** ♻️ rename @codebase/logger to @codebase/
|
|
451
|
+
- **ic-suite:** ♻️ rename @codebase/logger to @codebase/observability ([#1208](https://github.com/organizzolini/codebase/pull/1208))
|
|
428
452
|
|
|
429
453
|
### 🧱 Updated Dependencies
|
|
430
454
|
|
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 --config
|
|
18
|
+
conformetry generate --config 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 --config
|
|
21
|
+
conformetry validate --config configuration/conformetry.config.ts
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## Why
|
|
@@ -77,7 +77,7 @@ missing one before that.
|
|
|
77
77
|
A template's own inputs are passed as flags alongside these:
|
|
78
78
|
|
|
79
79
|
```bash
|
|
80
|
-
conformetry generate --config
|
|
80
|
+
conformetry generate --config configuration/conformetry.config.ts --template react-component --name search-bar
|
|
81
81
|
```
|
|
82
82
|
|
|
83
83
|
**Omitting `--template` at a terminal offers a picker** — an autocomplete over
|
|
@@ -139,18 +139,18 @@ With `--instances` it answers the other direction — which templates explain a
|
|
|
139
139
|
given path:
|
|
140
140
|
|
|
141
141
|
```bash
|
|
142
|
-
conformetry templates --config
|
|
142
|
+
conformetry templates --config configuration/conformetry.config.ts --instances packages/billing/src/modules/billing
|
|
143
143
|
```
|
|
144
144
|
|
|
145
145
|
```text
|
|
146
146
|
nestjs-service-module (nsm)
|
|
147
147
|
Generate a NestJS service module
|
|
148
|
-
Template:
|
|
148
|
+
Template: configuration/conformetry-templates/nestjs-service-module
|
|
149
149
|
Instances:
|
|
150
150
|
packages/billing/src/modules/billing 5/5 files 100%
|
|
151
151
|
nestjs-command-module (ncm)
|
|
152
152
|
Generate a NestJS command module
|
|
153
|
-
Template:
|
|
153
|
+
Template: configuration/conformetry-templates/nestjs-command-module
|
|
154
154
|
Instances:
|
|
155
155
|
packages/billing/src/modules/billing 3/5 files 60%
|
|
156
156
|
```
|
|
@@ -170,7 +170,7 @@ one. The complement of the command above: that one asks what standard a path
|
|
|
170
170
|
answers to, this one asks what generated code exists.
|
|
171
171
|
|
|
172
172
|
```bash
|
|
173
|
-
conformetry instances --config
|
|
173
|
+
conformetry instances --config configuration/conformetry.config.ts --templates nestjs-service-module
|
|
174
174
|
```
|
|
175
175
|
|
|
176
176
|
```text
|
|
@@ -255,13 +255,13 @@ The same three numbers — met, total, percentage — are reported at every leve
|
|
|
255
255
|
|
|
256
256
|
```text
|
|
257
257
|
Conformance scores:
|
|
258
|
-
✗ projects/
|
|
259
|
-
✗ projects/
|
|
258
|
+
✗ projects/common/observability/src/modules/logger (nestjs-service-module) — 149/151 requirements met (98.7%), below threshold 100.0%
|
|
259
|
+
✗ projects/common/observability/src/modules/logger/logger (nestjs-service-file) — 108/109 requirements met (99.1%), below threshold 100.0%
|
|
260
260
|
Total — 257/260 requirements met (98.8%) across 2 instance(s), 2 below threshold
|
|
261
261
|
|
|
262
262
|
1. file: logger.types.ts — 1/2 requirements met (50.0%)
|
|
263
|
-
Instance: projects/
|
|
264
|
-
Template:
|
|
263
|
+
Instance: projects/common/observability/src/modules/logger/logger.types.ts
|
|
264
|
+
Template: configuration/conformetry-templates/nestjs-service-module/{{nameKebabCase}}/{{nameKebabCase}}.types.ts
|
|
265
265
|
|
|
266
266
|
1. Missing comment // 🏷️ Types
|
|
267
267
|
Template: Line 1, Column 1
|
|
@@ -315,7 +315,7 @@ expected value and a concrete fix:
|
|
|
315
315
|
```text
|
|
316
316
|
1. file: billing.service.ts
|
|
317
317
|
Instance: packages/billing/src/modules/billing/billing.service.ts
|
|
318
|
-
Template:
|
|
318
|
+
Template: configuration/conformetry-templates/nestjs-service-module/…
|
|
319
319
|
|
|
320
320
|
1. Missing required comment
|
|
321
321
|
Instance: line 24
|
|
@@ -543,7 +543,7 @@ nx run conformetry-cli:start
|
|
|
543
543
|
Pass a subcommand and its flags after `--`:
|
|
544
544
|
|
|
545
545
|
```bash
|
|
546
|
-
nx run conformetry-cli:start -- validate --config
|
|
546
|
+
nx run conformetry-cli:start -- validate --config configuration/conformetry.config.ts --languages typescript
|
|
547
547
|
```
|
|
548
548
|
|
|
549
549
|
## Test
|
|
@@ -914,13 +914,13 @@ graph LR
|
|
|
914
914
|
conformetry_generation["conformetry-generation"]
|
|
915
915
|
conformetry_output["conformetry-output"]
|
|
916
916
|
conformetry_validation["conformetry-validation"]
|
|
917
|
-
|
|
917
|
+
observability["observability"]
|
|
918
918
|
conformetry_cli --> conformetry_configuration
|
|
919
919
|
conformetry_cli --> conformetry_core
|
|
920
920
|
conformetry_cli --> conformetry_generation
|
|
921
921
|
conformetry_cli --> conformetry_output
|
|
922
922
|
conformetry_cli --> conformetry_validation
|
|
923
|
-
conformetry_cli -->
|
|
923
|
+
conformetry_cli --> observability
|
|
924
924
|
conformetry_examples -.-> conformetry_cli
|
|
925
925
|
classDef subject fill:#7c3aed,color:#fff,stroke:#4c1d95,stroke-width:2px
|
|
926
926
|
class conformetry_cli subject
|
|
@@ -1097,14 +1097,14 @@ graph LR
|
|
|
1097
1097
|
|
|
1098
1098
|
### Project
|
|
1099
1099
|
|
|
1100
|
-

|
|
1101
|
+

|
|
1102
1102
|

|
|
1103
1103
|

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

|
|
1108
1108
|
|
|
1109
1109
|
### TypeScript
|
|
1110
1110
|
|
|
@@ -1286,20 +1286,20 @@ graph LR
|
|
|
1286
1286
|
### Markdown
|
|
1287
1287
|
|
|
1288
1288
|

|
|
1289
|
-

|
|
1290
1290
|

|
|
1291
|
-

|
|
1292
|
+

|
|
1293
1293
|

|
|
1294
1294
|

|
|
1295
1295
|

|
|
1296
|
-

|
|
1297
|
+

|
|
1298
|
+

|
|
1299
1299
|

|
|
1300
1300
|

|
|
1301
1301
|

|
|
1302
|
-

|
|
1303
1303
|

|
|
1304
1304
|

|
|
1305
1305
|

|
|
@@ -57,7 +57,7 @@ function __decorate(e, t, n, r) {
|
|
|
57
57
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
58
58
|
}
|
|
59
59
|
//#endregion
|
|
60
|
-
//#region projects/
|
|
60
|
+
//#region projects/common/observability/src/modules/logger/logger.service.ts
|
|
61
61
|
var M, N = class LoggerService extends r {
|
|
62
62
|
static {
|
|
63
63
|
M = this;
|
|
@@ -192,7 +192,7 @@ var M, N = class LoggerService extends r {
|
|
|
192
192
|
};
|
|
193
193
|
N = M = __decorate([a({ scope: s.TRANSIENT }), __decorateMetadata("design:paramtypes", [])], N);
|
|
194
194
|
//#endregion
|
|
195
|
-
//#region projects/
|
|
195
|
+
//#region projects/common/observability/src/modules/logger/logger.module.ts
|
|
196
196
|
var P = class LoggerModule {};
|
|
197
197
|
P = __decorate([i(), o({
|
|
198
198
|
controllers: [],
|
|
@@ -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-x_Fo6oML.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.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-x_Fo6oML.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.45",
|
|
11
|
+
"@conformetry/generation": "0.0.45",
|
|
12
|
+
"@conformetry/output": "0.0.44",
|
|
13
|
+
"@conformetry/validation": "0.0.44",
|
|
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",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"description": "Command-line toolchain for scaffolding code from templates and holding implementations to them",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@codebase/
|
|
26
|
-
"@conformetry/core": "0.0.
|
|
25
|
+
"@codebase/observability": "0.0.1",
|
|
26
|
+
"@conformetry/core": "0.0.44",
|
|
27
27
|
"@golevelup/ts-vitest": "^4.0.0",
|
|
28
28
|
"@nestjs/testing": "^12.0.1",
|
|
29
29
|
"@nx/eslint-plugin": "^23.3.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.45"
|
|
79
79
|
}
|