@codometer/output 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 +20 -0
- package/README.md +19 -19
- package/dist/src/index.d.ts +11 -22
- package/dist/src/index.js +2 -8
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## 0.0.30 (2026-10-16)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated codometer-configuration to 0.0.30
|
|
6
|
+
- Updated codometer-measurement to 0.0.30
|
|
7
|
+
- Updated codometer-core to 0.0.30
|
|
8
|
+
|
|
9
|
+
## 0.0.29 (2026-10-15)
|
|
10
|
+
|
|
11
|
+
### 💅 Refactors
|
|
12
|
+
|
|
13
|
+
- **callidescope,codependix,codometer,conformetry:** ♻️ require --config on every ic-suite command line ([#1598](https://github.com/organizzolini/codebase/pull/1598))
|
|
14
|
+
|
|
15
|
+
### 🧱 Updated Dependencies
|
|
16
|
+
|
|
17
|
+
- Updated codometer-configuration to 0.0.29
|
|
18
|
+
- Updated codometer-measurement to 0.0.29
|
|
19
|
+
- Updated codometer-core to 0.0.29
|
|
20
|
+
|
|
1
21
|
## 0.0.28 (2026-10-15)
|
|
2
22
|
|
|
3
23
|
### 💅 Refactors
|
package/README.md
CHANGED
|
@@ -72,7 +72,7 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
72
72
|
| --- | --- | --- | --- |
|
|
73
73
|
| `RenderService.renderSection` | 6 | `RenderService.groupByProject(…)`, `RenderService.groupByProject`, `RenderService.groupByProject(…)`, `RenderService.flatMap(…)`, `RenderService.readProjects`, `RenderService.renderComparison` | `projects/ic-suite/codometer/codometer-output/src/modules/render/render.service.ts:154` |
|
|
74
74
|
| `ChangesService.collect` | 4 | `ChangesService.map(…)`, `ChangesService.readReportPaths`, `ChangesService.flatMap(…)`, `ChangesService.flatMap(…)` | `projects/ic-suite/codometer/codometer-output/src/modules/changes/changes.service.ts:292` |
|
|
75
|
-
| `ConfigurationListingService.findConfigurationFiles` | 4 | `ConfigurationListingService.resolveWalkExclusions`, `DiscoveryService.discoverFiles`, `ConfigurationListingService.toSorted(…)`, `ConfigurationListingService.filter(…)` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:
|
|
75
|
+
| `ConfigurationListingService.findConfigurationFiles` | 4 | `ConfigurationListingService.resolveWalkExclusions`, `DiscoveryService.discoverFiles`, `ConfigurationListingService.toSorted(…)`, `ConfigurationListingService.filter(…)` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:179` |
|
|
76
76
|
| `buildRepositoryGroup` | 4 | `buildGroup`, `buildBadge`, `formatBytes`, `buildCustomBadges` | `projects/ic-suite/codometer/codometer-output/src/modules/markdown/markdown.utilities.ts:263` |
|
|
77
77
|
| `RenderService.renderProject` | 4 | `RenderService.filter(…)`, `RenderService.readIsOpen`, `RenderService.renderFailures`, `RenderService.map(…)` | `projects/ic-suite/codometer/codometer-output/src/modules/render/render.service.ts:106` |
|
|
78
78
|
| `ChangesService.map(…)` | 3 | `ChangesService.readBreach`, `ChangesService.readLabel`, `ChangesService.readGoverningLimit` | `projects/ic-suite/codometer/codometer-output/src/modules/changes/changes.service.ts:223` |
|
|
@@ -103,8 +103,8 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
103
103
|
| `ChangesService.readGoverningLimit` | 2 | `ChangesService.filter(…)`, `ChangesService.map(…)` | `projects/ic-suite/codometer/codometer-output/src/modules/changes/changes.service.ts:195` |
|
|
104
104
|
| `ChangesService.readReport` | 2 | `ChangesService.parseReport`, `ChangesService.flatMap(…)` | `projects/ic-suite/codometer/codometer-output/src/modules/changes/changes.service.ts:243` |
|
|
105
105
|
| `formatValue` | 2 | `formatBytes`, `formatCount` | `projects/ic-suite/codometer/codometer-output/src/modules/render/render.utilities.ts:34` |
|
|
106
|
-
| `ConfigurationListingService.formatLimitValue` | 2 | `formatBytes`, `formatCount` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:
|
|
107
|
-
| `ConfigurationListingService.describeConfigurations` | 2 | `ConfigurationListingService.findConfigurationFiles`, `ConfigurationListingService.describeConfiguration` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:
|
|
106
|
+
| `ConfigurationListingService.formatLimitValue` | 2 | `formatBytes`, `formatCount` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:100` |
|
|
107
|
+
| `ConfigurationListingService.describeConfigurations` | 2 | `ConfigurationListingService.findConfigurationFiles`, `ConfigurationListingService.describeConfiguration` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:146` |
|
|
108
108
|
| `JsonService.sync` | 2 | `JsonService.render`, `JsonService.readExisting` | `projects/ic-suite/codometer/codometer-output/src/modules/json/json.service.ts:62` |
|
|
109
109
|
| `buildCustomBadges` | 2 | `map(…)`, `filter(…)` | `projects/ic-suite/codometer/codometer-output/src/modules/markdown/markdown.utilities.ts:47` |
|
|
110
110
|
| `buildCustomGroup` | 2 | `buildCustomBadges`, `buildGroup` | `projects/ic-suite/codometer/codometer-output/src/modules/markdown/markdown.utilities.ts:64` |
|
|
@@ -130,10 +130,10 @@ What this project is judged against, as declared in its own `callidescope.config
|
|
|
130
130
|
| `ChangesService.map(…)` | 1 | `ChangesService.collectProjectRows` | `projects/ic-suite/codometer/codometer-output/src/modules/changes/changes.service.ts:293` |
|
|
131
131
|
| `formatDelta` | 1 | `formatValue` | `projects/ic-suite/codometer/codometer-output/src/modules/render/render.utilities.ts:24` |
|
|
132
132
|
| `ConfigurationListingService.describeConfiguration` | 1 | `ConfigurationService.loadConfigurationFile` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:66` |
|
|
133
|
-
| `ConfigurationListingService.resolveWalkExclusions` | 1 | `ConfigurationService.loadConfigurationFile` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:
|
|
134
|
-
| `ConfigurationListingService.toLimitRows` | 1 | `ConfigurationListingService.flatMap(…)` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:
|
|
135
|
-
| `ConfigurationListingService.flatMap(…)` | 1 | `ConfigurationListingService.map(…)` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:
|
|
136
|
-
| `ConfigurationListingService.map(…)` | 1 | `ConfigurationListingService.formatLimitValue` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:
|
|
133
|
+
| `ConfigurationListingService.resolveWalkExclusions` | 1 | `ConfigurationService.loadConfigurationFile` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:115` |
|
|
134
|
+
| `ConfigurationListingService.toLimitRows` | 1 | `ConfigurationListingService.flatMap(…)` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:198` |
|
|
135
|
+
| `ConfigurationListingService.flatMap(…)` | 1 | `ConfigurationListingService.map(…)` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:201` |
|
|
136
|
+
| `ConfigurationListingService.map(…)` | 1 | `ConfigurationListingService.formatLimitValue` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:202` |
|
|
137
137
|
| `RenderConfigurationService.map(…)` | 1 | `RenderConfigurationService.renderRow` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/render-configuration.service.ts:72` |
|
|
138
138
|
| `RenderConfigurationService.map(…)` | 1 | `RenderConfigurationService.renderDirectory` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/render-configuration.service.ts:144` |
|
|
139
139
|
| `buildBadge` | 1 | `encodeValue` | `projects/ic-suite/codometer/codometer-output/src/modules/markdown/markdown.utilities.ts:14` |
|
|
@@ -368,14 +368,14 @@ graph LR
|
|
|
368
368
|
|
|
369
369
|
### Project
|
|
370
370
|
|
|
371
|
-

|
|
372
|
+

|
|
373
373
|

|
|
374
374
|

|
|
375
375
|
|
|
376
376
|
### Measured Targets
|
|
377
377
|
|
|
378
|
-

|
|
379
379
|
|
|
380
380
|
### TypeScript
|
|
381
381
|
|
|
@@ -400,8 +400,8 @@ graph LR
|
|
|
400
400
|

|
|
401
401
|

|
|
402
402
|

|
|
403
|
-

|
|
404
|
+

|
|
405
405
|

|
|
406
406
|
|
|
407
407
|
### Python
|
|
@@ -557,20 +557,20 @@ graph LR
|
|
|
557
557
|
### Markdown
|
|
558
558
|
|
|
559
559
|

|
|
560
|
-

|
|
561
561
|

|
|
562
|
-

|
|
563
|
+

|
|
564
564
|

|
|
565
565
|

|
|
566
566
|

|
|
567
|
-

|
|
568
|
+

|
|
569
|
+

|
|
570
570
|

|
|
571
571
|

|
|
572
572
|

|
|
573
|
-

|
|
574
574
|

|
|
575
575
|

|
|
576
576
|

|
package/dist/src/index.d.ts
CHANGED
|
@@ -273,25 +273,18 @@ export declare class ConfigurationListingService {
|
|
|
273
273
|
/**
|
|
274
274
|
* Resolves the exclusions the walk uses, reporting rather than throwing.
|
|
275
275
|
*
|
|
276
|
-
* The
|
|
277
|
-
*
|
|
278
|
-
*
|
|
279
|
-
*
|
|
280
|
-
*
|
|
281
|
-
* the listing down — the listing is most wanted precisely when the
|
|
282
|
-
* configuration is in a state somebody is trying to understand — so the
|
|
283
|
-
* built-in exclusions stand in and the failure is carried back to be
|
|
284
|
-
* reported and to fail the run's exit code.
|
|
276
|
+
* The configuration named by the required path may not exist or may not
|
|
277
|
+
* parse. That must not take the listing down — the listing is most wanted
|
|
278
|
+
* precisely when the configuration is in a state somebody is trying to
|
|
279
|
+
* understand — so the built-in exclusions stand in and the failure is
|
|
280
|
+
* carried back to be reported and to fail the run's exit code.
|
|
285
281
|
*/
|
|
286
282
|
private resolveWalkExclusions;
|
|
287
283
|
/**
|
|
288
284
|
* Resolves the configuration each file in a tree answers with.
|
|
289
285
|
*
|
|
290
|
-
* Every file is resolved
|
|
291
|
-
*
|
|
292
|
-
* codometer actually sees: every configuration file is resolved against the
|
|
293
|
-
* directory it sits in, so resolving one anywhere else would report
|
|
294
|
-
* something no run would ever use.
|
|
286
|
+
* Every file found is resolved by its own path, which is what makes the
|
|
287
|
+
* result match what a run of codometer given that file would see.
|
|
295
288
|
*/
|
|
296
289
|
describeConfigurations(args: DescribeConfigurationsArguments): Promise<ConfiguredTree>;
|
|
297
290
|
/**
|
|
@@ -305,7 +298,7 @@ export declare class ConfigurationListingService {
|
|
|
305
298
|
* The exclusions come from whatever configuration answers for the walk root,
|
|
306
299
|
* because that is what says which files this repository considers its own —
|
|
307
300
|
* walking without them would list every configuration in a vendored
|
|
308
|
-
* dependency or a generator template. A
|
|
301
|
+
* dependency or a generator template. A path that does not load falls back
|
|
309
302
|
* to the built-in exclusions and reports itself instead of failing.
|
|
310
303
|
*/
|
|
311
304
|
findConfigurationFiles(args: DescribeConfigurationsArguments): Promise<DiscoveredConfigurationFiles>;
|
|
@@ -440,14 +433,10 @@ export declare class DeliveryService {
|
|
|
440
433
|
/** Which tree to describe, and which configuration answers for its root. */
|
|
441
434
|
export declare interface DescribeConfigurationsArguments {
|
|
442
435
|
/**
|
|
443
|
-
* Configuration file answering for the walk root
|
|
444
|
-
*
|
|
445
|
-
* `undefined` searches upward from the walk root instead. A workspace whose
|
|
446
|
-
* root carries no configuration file — because its shared object lives
|
|
447
|
-
* somewhere every project spreads it from — names that file here, exactly as
|
|
448
|
-
* the workspace-root measurement target already does.
|
|
436
|
+
* Configuration file answering for the walk root. Required: nothing is
|
|
437
|
+
* searched for.
|
|
449
438
|
*/
|
|
450
|
-
configurationPath: string
|
|
439
|
+
configurationPath: string;
|
|
451
440
|
/** Directory the walk starts from, absolute. */
|
|
452
441
|
workingDirectory: string;
|
|
453
442
|
}
|
package/dist/src/index.js
CHANGED
|
@@ -382,10 +382,7 @@ var A = class ConfigurationListingService {
|
|
|
382
382
|
configurationFileNames = new Set(ee);
|
|
383
383
|
async describeConfiguration(e) {
|
|
384
384
|
try {
|
|
385
|
-
let { configuration: t } = await this.configurationService.loadConfigurationFile({
|
|
386
|
-
configurationPath: d.resolve(e.workingDirectory, e.file),
|
|
387
|
-
searchDirectory: d.resolve(e.workingDirectory, e.directory)
|
|
388
|
-
});
|
|
385
|
+
let { configuration: t } = await this.configurationService.loadConfigurationFile({ configurationPath: d.resolve(e.workingDirectory, e.file) });
|
|
389
386
|
return {
|
|
390
387
|
configuration: t,
|
|
391
388
|
directory: e.directory,
|
|
@@ -406,10 +403,7 @@ var A = class ConfigurationListingService {
|
|
|
406
403
|
}
|
|
407
404
|
async resolveWalkExclusions(e) {
|
|
408
405
|
try {
|
|
409
|
-
let { configuration: t } = await this.configurationService.loadConfigurationFile({
|
|
410
|
-
configurationPath: e.configurationPath,
|
|
411
|
-
searchDirectory: e.workingDirectory
|
|
412
|
-
});
|
|
406
|
+
let { configuration: t } = await this.configurationService.loadConfigurationFile({ configurationPath: e.configurationPath });
|
|
413
407
|
return {
|
|
414
408
|
error: void 0,
|
|
415
409
|
exclude: t.exclude,
|
package/package.json
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
"url": "https://github.com/organizzolini/codebase/issues"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@codometer/configuration": "0.0.
|
|
8
|
-
"@codometer/core": "0.0.
|
|
9
|
-
"@codometer/measurement": "0.0.
|
|
7
|
+
"@codometer/configuration": "0.0.30",
|
|
8
|
+
"@codometer/core": "0.0.30",
|
|
9
|
+
"@codometer/measurement": "0.0.30",
|
|
10
10
|
"@nestjs/common": "^11.1.21 || ^12.0.1",
|
|
11
11
|
"pino": "^10.3.1",
|
|
12
12
|
"pino-pretty": "^13.1.3",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"strict": true
|
|
64
64
|
},
|
|
65
65
|
"types": "./dist/src/index.d.ts",
|
|
66
|
-
"version": "0.0.
|
|
66
|
+
"version": "0.0.30"
|
|
67
67
|
}
|