@codometer/output 0.0.27 β†’ 0.0.29

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.29 (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 codometer-configuration to 0.0.29
10
+ - Updated codometer-measurement to 0.0.29
11
+ - Updated codometer-core to 0.0.29
12
+
13
+ ## 0.0.28 (2026-10-15)
14
+
15
+ ### πŸ’… Refactors
16
+
17
+ - **configuration,documentation:** ♻️ move the configuration folder into an nx project ([#1509](https://github.com/organizzolini/codebase/pull/1509))
18
+
19
+ ### 🧱 Updated Dependencies
20
+
21
+ - Updated codometer-configuration to 0.0.28
22
+ - Updated codometer-measurement to 0.0.28
23
+ - Updated codometer-core to 0.0.28
24
+
1
25
  ## 0.0.27 (2026-10-15)
2
26
 
3
27
  ### 🧱 Updated Dependencies
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:188` |
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:101` |
107
- | `ConfigurationListingService.describeConfigurations` | 2 | `ConfigurationListingService.findConfigurationFiles`, `ConfigurationListingService.describeConfiguration` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:155` |
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:120` |
134
- | `ConfigurationListingService.toLimitRows` | 1 | `ConfigurationListingService.flatMap(…)` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:207` |
135
- | `ConfigurationListingService.flatMap(…)` | 1 | `ConfigurationListingService.map(…)` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:210` |
136
- | `ConfigurationListingService.map(…)` | 1 | `ConfigurationListingService.formatLimitValue` | `projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts:211` |
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` |
@@ -161,7 +161,7 @@ What this project is judged against, as declared in its own `callidescope.config
161
161
 
162
162
  ## πŸ•ΈοΈ Codependix
163
163
 
164
- Dependency graphs exported by [codependix](https://github.com/Organizzolini/codebase/tree/main/projects/ic-suite/codependix/codependix-cli), regenerated by `nx run codebase:codependix:write`.
164
+ 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`.
165
165
 
166
166
  ### Nx Neighborhood
167
167
 
@@ -368,14 +368,14 @@ graph LR
368
368
 
369
369
  ### Project
370
370
 
371
- ![Lines of Code](https://img.shields.io/badge/Lines_of_Code-8005-22c55e?style=flat-square)
372
- ![Repository Size](https://img.shields.io/badge/Repository_Size-268.00_kB-6b7280?style=flat-square)
371
+ ![Lines of Code](https://img.shields.io/badge/Lines_of_Code-7990-22c55e?style=flat-square)
372
+ ![Repository Size](https://img.shields.io/badge/Repository_Size-268.18_kB-6b7280?style=flat-square)
373
373
  ![Folders](https://img.shields.io/badge/Folders-12-4a4a4a?style=flat-square)
374
374
  ![Source Files](https://img.shields.io/badge/Source_Files-65-3178c6?style=flat-square)
375
375
 
376
376
  ### Measured Targets
377
377
 
378
- ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-11.63_kB_gzip-6b7280?style=flat-square)
378
+ ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-11.60_kB_gzip-6b7280?style=flat-square)
379
379
 
380
380
  ### TypeScript
381
381
 
@@ -400,8 +400,8 @@ graph LR
400
400
  ![Constants](https://img.shields.io/badge/Constants-369-dc2626?style=flat-square)
401
401
  ![Imports](https://img.shields.io/badge/Imports-229-0284c7?style=flat-square)
402
402
  ![Exported Symbols](https://img.shields.io/badge/Exported_Symbols-106-ea580c?style=flat-square)
403
- ![Comments](https://img.shields.io/badge/Comments-361-64748b?style=flat-square)
404
- ![Comment Lines](https://img.shields.io/badge/Comment_Lines-831-475569?style=flat-square)
403
+ ![Comments](https://img.shields.io/badge/Comments-360-64748b?style=flat-square)
404
+ ![Comment Lines](https://img.shields.io/badge/Comment_Lines-819-475569?style=flat-square)
405
405
  ![TODO Comments](https://img.shields.io/badge/TODO_Comments-1-ca8a04?style=flat-square)
406
406
 
407
407
  ### Python
@@ -557,20 +557,20 @@ graph LR
557
557
  ### Markdown
558
558
 
559
559
  ![Markdown Files](https://img.shields.io/badge/Markdown_Files-2-083fa1?style=flat-square)
560
- ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-413-1f6feb?style=flat-square)
560
+ ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-437-1f6feb?style=flat-square)
561
561
  ![H1](https://img.shields.io/badge/H1-1-7c3aed?style=flat-square)
562
- ![H2](https://img.shields.io/badge/H2-30-8b5cf6?style=flat-square)
563
- ![H3](https://img.shields.io/badge/H3-37-a78bfa?style=flat-square)
562
+ ![H2](https://img.shields.io/badge/H2-32-8b5cf6?style=flat-square)
563
+ ![H3](https://img.shields.io/badge/H3-41-a78bfa?style=flat-square)
564
564
  ![H4](https://img.shields.io/badge/H4-0-c4b5fd?style=flat-square)
565
565
  ![H5](https://img.shields.io/badge/H5-0-ddd6fe?style=flat-square)
566
566
  ![H6](https://img.shields.io/badge/H6-0-ede9fe?style=flat-square)
567
- ![Paragraphs](https://img.shields.io/badge/Paragraphs-116-64748b?style=flat-square)
568
- ![Lists](https://img.shields.io/badge/Lists-31-16a34a?style=flat-square)
569
- ![List Items](https://img.shields.io/badge/List_Items-96-22c55e?style=flat-square)
567
+ ![Paragraphs](https://img.shields.io/badge/Paragraphs-124-64748b?style=flat-square)
568
+ ![Lists](https://img.shields.io/badge/Lists-35-16a34a?style=flat-square)
569
+ ![List Items](https://img.shields.io/badge/List_Items-104-22c55e?style=flat-square)
570
570
  ![Task List Items](https://img.shields.io/badge/Task_List_Items-0-4ade80?style=flat-square)
571
571
  ![Tables](https://img.shields.io/badge/Tables-2-0284c7?style=flat-square)
572
572
  ![Table Rows](https://img.shields.io/badge/Table_Rows-10-0ea5e9?style=flat-square)
573
- ![Links](https://img.shields.io/badge/Links-11-059669?style=flat-square)
573
+ ![Links](https://img.shields.io/badge/Links-13-059669?style=flat-square)
574
574
  ![Images](https://img.shields.io/badge/Images-0-10b981?style=flat-square)
575
575
  ![Code Blocks](https://img.shields.io/badge/Code_Blocks-11-dc2626?style=flat-square)
576
576
  ![Inline Code](https://img.shields.io/badge/Inline_Code-72-ef4444?style=flat-square)
@@ -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 walk root is not guaranteed to have a configuration answering for it:
277
- * a workspace states its `format` once in a shared object that each project
278
- * spreads, so the root itself may carry no configuration file at all and the
279
- * upward search then finds nothing to resolve. A workspace in that shape
280
- * names its own file with `--config`; one that does neither must not take
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 for **its own directory** rather than for the walk
291
- * root, which is what makes the result match what a per-project run of
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 root nothing answers for falls back
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, when one is named.
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 | undefined;
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.27",
8
- "@codometer/core": "0.0.27",
9
- "@codometer/measurement": "0.0.27",
7
+ "@codometer/configuration": "0.0.29",
8
+ "@codometer/core": "0.0.29",
9
+ "@codometer/measurement": "0.0.29",
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.27"
66
+ "version": "0.0.29"
67
67
  }