@codometer/cli 0.0.41 → 0.0.43
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,25 @@
|
|
|
1
|
+
## 0.0.43 (2026-10-20)
|
|
2
|
+
|
|
3
|
+
### 💅 Refactors
|
|
4
|
+
|
|
5
|
+
- **configuration:** ♻️ relocate internal projects and rename shared packages ([#1708](https://github.com/organizzolini/codebase/pull/1708))
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated codometer-configuration to 0.0.42
|
|
10
|
+
- Updated codometer-measurement to 0.0.42
|
|
11
|
+
- Updated codometer-output to 0.0.42
|
|
12
|
+
- Updated codometer-core to 0.0.42
|
|
13
|
+
|
|
14
|
+
## 0.0.42 (2026-10-20)
|
|
15
|
+
|
|
16
|
+
### 🧱 Updated Dependencies
|
|
17
|
+
|
|
18
|
+
- Updated codometer-configuration to 0.0.41
|
|
19
|
+
- Updated codometer-measurement to 0.0.41
|
|
20
|
+
- Updated codometer-output to 0.0.41
|
|
21
|
+
- Updated codometer-core to 0.0.41
|
|
22
|
+
|
|
1
23
|
## 0.0.41 (2026-10-18)
|
|
2
24
|
|
|
3
25
|
### 🧱 Updated Dependencies
|
|
@@ -347,7 +369,7 @@
|
|
|
347
369
|
|
|
348
370
|
### 💅 Refactors
|
|
349
371
|
|
|
350
|
-
- **ic-suite:** ♻️ rename @codebase/logger to @codebase/
|
|
372
|
+
- **ic-suite:** ♻️ rename @codebase/logger to @codebase/observability ([#1208](https://github.com/organizzolini/codebase/pull/1208))
|
|
351
373
|
|
|
352
374
|
### 🧱 Updated Dependencies
|
|
353
375
|
|
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ required** — codometer never searches for a configuration file and has no
|
|
|
47
47
|
default one, and a run without the flag is refused with an error naming it:
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
|
-
codometer --config
|
|
50
|
+
codometer --config configuration/codometer.config.ts --check limits
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
| Flag | Purpose |
|
|
@@ -116,7 +116,7 @@ measured — its own sources, and whatever inputs the configuration declares for
|
|
|
116
116
|
it:
|
|
117
117
|
|
|
118
118
|
```bash
|
|
119
|
-
cd projects/
|
|
119
|
+
cd projects/common/observability && codometer --config codometer.config.ts --check limits
|
|
120
120
|
```
|
|
121
121
|
|
|
122
122
|
The configuration is exactly the file `--config` names: nothing is searched
|
|
@@ -131,7 +131,7 @@ function is not recognized, and falls back to an empty configuration, the
|
|
|
131
131
|
same way a file exporting `42` does. So a project answering for itself writes
|
|
132
132
|
its own `codometer.config.ts`, typically by importing and spreading a shared
|
|
133
133
|
object a workspace root exports, the way this repository's own projects each
|
|
134
|
-
spread [`
|
|
134
|
+
spread [`configuration/codometer.config.ts`](../../../configuration/codometer.config.ts).
|
|
135
135
|
|
|
136
136
|
## What gets measured
|
|
137
137
|
|
|
@@ -276,13 +276,13 @@ A repository that declares its limits one per project has no single file left
|
|
|
276
276
|
to read them from. `codometer configuration` is that reading:
|
|
277
277
|
|
|
278
278
|
```bash
|
|
279
|
-
codometer configuration --limits --config
|
|
279
|
+
codometer configuration --limits --config configuration/codometer.config.ts
|
|
280
280
|
```
|
|
281
281
|
|
|
282
282
|
```text
|
|
283
283
|
| Directory | Metric | Label | Severity | Value | Declared in |
|
|
284
284
|
| --- | --- | --- | --- | --- | --- |
|
|
285
|
-
| projects/
|
|
285
|
+
| projects/common/observability | `Compiled JavaScript.size`| — | fail | 12.00 kB | `projects/common/observability/codometer.config.ts`|
|
|
286
286
|
```
|
|
287
287
|
|
|
288
288
|
It walks for every configuration file beneath the directory it is given — in
|
|
@@ -297,7 +297,7 @@ exclusions the walk honors — a workspace often states its shared configuration
|
|
|
297
297
|
in a file every project spreads rather than at its own root:
|
|
298
298
|
|
|
299
299
|
```bash
|
|
300
|
-
codometer configuration --limits --config
|
|
300
|
+
codometer configuration --limits --config configuration/codometer.config.ts
|
|
301
301
|
```
|
|
302
302
|
|
|
303
303
|
Drop `--limits` to list everything each configuration resolved to: its inputs,
|
|
@@ -367,7 +367,7 @@ codometer measures comments in, so expressing "every language at one budget,
|
|
|
367
367
|
except one language at another" means writing the general budget once per
|
|
368
368
|
covered language rather than once for all of them, leaving the exception for
|
|
369
369
|
its own, narrower selector. See
|
|
370
|
-
[`
|
|
370
|
+
[`configuration/codometer.config.ts`](../../../configuration/codometer.config.ts)
|
|
371
371
|
for how this repository derives one selector per language from its own list of
|
|
372
372
|
comment-bearing languages.
|
|
373
373
|
|
|
@@ -449,13 +449,13 @@ named `<!-- codometer:start -->
|
|
|
449
449
|
### Project
|
|
450
450
|
|
|
451
451
|

|
|
452
|
-

|
|
453
453
|

|
|
454
454
|

|
|
455
455
|
|
|
456
456
|
### Measured Targets
|
|
457
457
|
|
|
458
|
-

|
|
459
459
|
|
|
460
460
|
### TypeScript
|
|
461
461
|
|
|
@@ -637,20 +637,20 @@ named `<!-- codometer:start -->
|
|
|
637
637
|
### Markdown
|
|
638
638
|
|
|
639
639
|

|
|
640
|
-

|
|
641
641
|

|
|
642
|
-

|
|
643
|
+

|
|
644
644
|

|
|
645
645
|

|
|
646
646
|

|
|
647
|
-

|
|
648
|
+

|
|
649
|
+

|
|
650
650
|

|
|
651
651
|

|
|
652
652
|

|
|
653
|
-

|
|
654
654
|

|
|
655
655
|

|
|
656
656
|

|
|
@@ -1097,12 +1097,12 @@ graph LR
|
|
|
1097
1097
|
codometer_examples["codometer-examples"]
|
|
1098
1098
|
codometer_measurement["codometer-measurement"]
|
|
1099
1099
|
codometer_output["codometer-output"]
|
|
1100
|
-
|
|
1100
|
+
observability["observability"]
|
|
1101
1101
|
codometer_cli --> codometer_configuration
|
|
1102
1102
|
codometer_cli --> codometer_core
|
|
1103
1103
|
codometer_cli --> codometer_measurement
|
|
1104
1104
|
codometer_cli --> codometer_output
|
|
1105
|
-
codometer_cli -->
|
|
1105
|
+
codometer_cli --> observability
|
|
1106
1106
|
codometer_examples -.-> codometer_cli
|
|
1107
1107
|
classDef subject fill:#7c3aed,color:#fff,stroke:#4c1d95,stroke-width:2px
|
|
1108
1108
|
class codometer_cli subject
|
|
@@ -56,7 +56,7 @@ function __decorate(e, t, n, r) {
|
|
|
56
56
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
57
57
|
}
|
|
58
58
|
//#endregion
|
|
59
|
-
//#region projects/
|
|
59
|
+
//#region projects/common/observability/src/modules/logger/logger.service.ts
|
|
60
60
|
var R, z = class LoggerService extends r {
|
|
61
61
|
static {
|
|
62
62
|
R = this;
|
|
@@ -191,7 +191,7 @@ var R, z = class LoggerService extends r {
|
|
|
191
191
|
};
|
|
192
192
|
z = R = __decorate([a({ scope: s.TRANSIENT }), __decorateMetadata("design:paramtypes", [])], z);
|
|
193
193
|
//#endregion
|
|
194
|
-
//#region projects/
|
|
194
|
+
//#region projects/common/observability/src/modules/logger/logger.module.ts
|
|
195
195
|
var B = class LoggerModule {};
|
|
196
196
|
B = __decorate([i(), o({
|
|
197
197
|
controllers: [],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { c as e, t } from "../codometer-cli.module-
|
|
2
|
+
import { c as e, t } from "../codometer-cli.module-Df6XCFMW.js";
|
|
3
3
|
import "reflect-metadata";
|
|
4
4
|
import { CommandFactory as n } from "nest-commander";
|
|
5
5
|
//#region projects/ic-suite/codometer/codometer-cli/src/codometer-cli.utilities.ts
|
package/dist/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as ChangesCommand, o as ChangesModule, a as ConfigurationCommand, i as ConfigurationModule, t as MainModule, r as MeasureCommand, n as MeasureModule } from "../codometer-cli.module-
|
|
1
|
+
export { s as ChangesCommand, o as ChangesModule, a as ConfigurationCommand, i as ConfigurationModule, t as MainModule, r as MeasureCommand, n as MeasureModule } from "../codometer-cli.module-Df6XCFMW.js";
|
package/package.json
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
"url": "https://github.com/organizzolini/codebase/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@codometer/configuration": "0.0.
|
|
11
|
-
"@codometer/core": "0.0.
|
|
12
|
-
"@codometer/measurement": "0.0.
|
|
13
|
-
"@codometer/output": "0.0.
|
|
10
|
+
"@codometer/configuration": "0.0.42",
|
|
11
|
+
"@codometer/core": "0.0.42",
|
|
12
|
+
"@codometer/measurement": "0.0.42",
|
|
13
|
+
"@codometer/output": "0.0.42",
|
|
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,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"description": "Command-line tool for measuring repository size, counts, and comments against configured limits",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@codebase/
|
|
25
|
+
"@codebase/observability": "0.0.1",
|
|
26
26
|
"@golevelup/ts-vitest": "^4.0.0",
|
|
27
27
|
"@nestjs/testing": "^12.0.1",
|
|
28
28
|
"@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.43"
|
|
79
79
|
}
|