@codometer/cli 0.0.25 → 0.0.27

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.27 (2026-10-15)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **ic-suite,configuration:** ✨ name root files after their project and declare root modules ([#1588](https://github.com/organizzolini/codebase/pull/1588), [#1480](https://github.com/organizzolini/codebase/issues/1480))
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated codometer-configuration to 0.0.26
10
+ - Updated codometer-measurement to 0.0.26
11
+ - Updated codometer-output to 0.0.26
12
+ - Updated codometer-core to 0.0.26
13
+
14
+ ## 0.0.26 (2026-10-15)
15
+
16
+ ### 🧱 Updated Dependencies
17
+
18
+ - Updated codometer-configuration to 0.0.25
19
+ - Updated codometer-measurement to 0.0.25
20
+ - Updated codometer-output to 0.0.25
21
+ - Updated codometer-core to 0.0.25
22
+
1
23
  ## 0.0.25 (2026-10-15)
2
24
 
3
25
  ### 🩹 Fixes
package/README.md CHANGED
@@ -447,13 +447,13 @@ named `<!-- codometer:start -->
447
447
  ### Project
448
448
 
449
449
  ![Lines of Code](https://img.shields.io/badge/Lines_of_Code-3608-22c55e?style=flat-square)
450
- ![Repository Size](https://img.shields.io/badge/Repository_Size-129.87_kB-6b7280?style=flat-square)
450
+ ![Repository Size](https://img.shields.io/badge/Repository_Size-130.94_kB-6b7280?style=flat-square)
451
451
  ![Folders](https://img.shields.io/badge/Folders-6-4a4a4a?style=flat-square)
452
452
  ![Source Files](https://img.shields.io/badge/Source_Files-37-3178c6?style=flat-square)
453
453
 
454
454
  ### Measured Targets
455
455
 
456
- ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-6.27_kB_gzip-6b7280?style=flat-square)
456
+ ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-6.29_kB_gzip-6b7280?style=flat-square)
457
457
 
458
458
  ### TypeScript
459
459
 
@@ -593,7 +593,7 @@ named `<!-- codometer:start -->
593
593
  ![Module Files](https://img.shields.io/badge/Module_Files-4-7c3aed?style=flat-square)
594
594
  ![Service Files](https://img.shields.io/badge/Service_Files-0-0284c7?style=flat-square)
595
595
  ![Command Files](https://img.shields.io/badge/Command_Files-3-16a34a?style=flat-square)
596
- ![Constants Files](https://img.shields.io/badge/Constants_Files-3-ea580c?style=flat-square)
596
+ ![Constants Files](https://img.shields.io/badge/Constants_Files-4-ea580c?style=flat-square)
597
597
  ![Types Files](https://img.shields.io/badge/Types_Files-3-db2777?style=flat-square)
598
598
  ![Utilities Files](https://img.shields.io/badge/Utilities_Files-1-0ea5e9?style=flat-square)
599
599
  ![TypeORM Entities](https://img.shields.io/badge/TypeORM_Entities-0-059669?style=flat-square)
@@ -635,20 +635,20 @@ named `<!-- codometer:start -->
635
635
  ### Markdown
636
636
 
637
637
  ![Markdown Files](https://img.shields.io/badge/Markdown_Files-2-083fa1?style=flat-square)
638
- ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-448-1f6feb?style=flat-square)
638
+ ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-470-1f6feb?style=flat-square)
639
639
  ![H1](https://img.shields.io/badge/H1-1-7c3aed?style=flat-square)
640
- ![H2](https://img.shields.io/badge/H2-28-8b5cf6?style=flat-square)
641
- ![H3](https://img.shields.io/badge/H3-39-a78bfa?style=flat-square)
640
+ ![H2](https://img.shields.io/badge/H2-30-8b5cf6?style=flat-square)
641
+ ![H3](https://img.shields.io/badge/H3-42-a78bfa?style=flat-square)
642
642
  ![H4](https://img.shields.io/badge/H4-0-c4b5fd?style=flat-square)
643
643
  ![H5](https://img.shields.io/badge/H5-0-ddd6fe?style=flat-square)
644
644
  ![H6](https://img.shields.io/badge/H6-0-ede9fe?style=flat-square)
645
- ![Paragraphs](https://img.shields.io/badge/Paragraphs-134-64748b?style=flat-square)
646
- ![Lists](https://img.shields.io/badge/Lists-31-16a34a?style=flat-square)
647
- ![List Items](https://img.shields.io/badge/List_Items-113-22c55e?style=flat-square)
645
+ ![Paragraphs](https://img.shields.io/badge/Paragraphs-143-64748b?style=flat-square)
646
+ ![Lists](https://img.shields.io/badge/Lists-34-16a34a?style=flat-square)
647
+ ![List Items](https://img.shields.io/badge/List_Items-122-22c55e?style=flat-square)
648
648
  ![Task List Items](https://img.shields.io/badge/Task_List_Items-0-4ade80?style=flat-square)
649
649
  ![Tables](https://img.shields.io/badge/Tables-2-0284c7?style=flat-square)
650
650
  ![Table Rows](https://img.shields.io/badge/Table_Rows-10-0ea5e9?style=flat-square)
651
- ![Links](https://img.shields.io/badge/Links-16-059669?style=flat-square)
651
+ ![Links](https://img.shields.io/badge/Links-18-059669?style=flat-square)
652
652
  ![Images](https://img.shields.io/badge/Images-0-10b981?style=flat-square)
653
653
  ![Code Blocks](https://img.shields.io/badge/Code_Blocks-13-dc2626?style=flat-square)
654
654
  ![Inline Code](https://img.shields.io/badge/Inline_Code-78-ef4444?style=flat-square)
@@ -1043,9 +1043,9 @@ What this project is judged against, as declared in its own `callidescope.config
1043
1043
  **11. `main`** — depth 2 · module-bootstrap
1044
1044
 
1045
1045
  ```text
1046
- 🚀 main(): Promise<void> [projects/ic-suite/codometer/codometer-cli/src/main.ts:26]
1046
+ 🚀 main(): Promise<void> [projects/ic-suite/codometer/codometer-cli/src/codometer-cli.main.ts:26]
1047
1047
  ↳ Bootstraps the codometer CLI command application.
1048
- └─> withDefaultCommand(argv: readonly string[]): string[] [projects/ic-suite/codometer/codometer-cli/src/main.utilities.ts:14]
1048
+ └─> withDefaultCommand(argv: readonly string[]): string[] [projects/ic-suite/codometer/codometer-cli/src/codometer-cli.utilities.ts:14]
1049
1049
  ↳ Inserts the default `measure` subcommand when the command line names no registered command.
1050
1050
  ```
1051
1051
 
@@ -1075,7 +1075,7 @@ What this project is judged against, as declared in its own `callidescope.config
1075
1075
  | `ConfigurationCommand.parseDirectory` | 1 | `ConfigurationService.parseDirectoryOption` | `projects/ic-suite/codometer/codometer-cli/src/modules/configuration/configuration.command.ts:74` |
1076
1076
  | `ConfigurationCommand.parseFormat` | 1 | `ConfigurationService.parseDefaultedOption` | `projects/ic-suite/codometer/codometer-cli/src/modules/configuration/configuration.command.ts:83` |
1077
1077
  | `MeasureCommand.readConfiguration` | 1 | `ConfigurationService.loadConfiguration` | `projects/ic-suite/codometer/codometer-cli/src/modules/measure/measure.command.ts:111` |
1078
- | `main` | 1 | `withDefaultCommand` | `projects/ic-suite/codometer/codometer-cli/src/main.ts:26` |
1078
+ | `main` | 1 | `withDefaultCommand` | `projects/ic-suite/codometer/codometer-cli/src/codometer-cli.main.ts:26` |
1079
1079
 
1080
1080
  </details>
1081
1081
  <!-- callidescope:end -->
@@ -1204,14 +1204,16 @@ graph LR
1204
1204
  file_codependix_config_ts["codependix.config.ts"]
1205
1205
  file_codometer_config_ts["codometer.config.ts"]
1206
1206
  file_eslint_config_ts["eslint.config.ts"]
1207
- file_src_constants_ts["src/constants.ts"]
1207
+ file_src_codometer_cli_constants_ts["src/codometer-cli.constants.ts"]
1208
+ file_src_codometer_cli_main_end_to_end_test_ts["src/codometer-cli.main.end-to-end.test.ts"]
1209
+ file_src_codometer_cli_main_ts["src/codometer-cli.main.ts"]
1210
+ file_src_codometer_cli_main_unit_test_ts["src/codometer-cli.main.unit.test.ts"]
1211
+ file_src_codometer_cli_module_ts["src/codometer-cli.module.ts"]
1212
+ file_src_codometer_cli_repl_ts["src/codometer-cli.repl.ts"]
1213
+ file_src_codometer_cli_repl_unit_test_ts["src/codometer-cli.repl.unit.test.ts"]
1214
+ file_src_codometer_cli_utilities_ts["src/codometer-cli.utilities.ts"]
1215
+ file_src_codometer_cli_utilities_unit_test_ts["src/codometer-cli.utilities.unit.test.ts"]
1208
1216
  file_src_index_ts["src/index.ts"]
1209
- file_src_main_end_to_end_test_ts["src/main.end-to-end.test.ts"]
1210
- file_src_main_module_ts["src/main.module.ts"]
1211
- file_src_main_ts["src/main.ts"]
1212
- file_src_main_unit_test_ts["src/main.unit.test.ts"]
1213
- file_src_main_utilities_ts["src/main.utilities.ts"]
1214
- file_src_main_utilities_unit_test_ts["src/main.utilities.unit.test.ts"]
1215
1217
  file_src_modules_changes_changes_command_ts["src/modules/changes/changes.command.ts"]
1216
1218
  file_src_modules_changes_changes_command_unit_test_ts["src/modules/changes/changes.command.unit.test.ts"]
1217
1219
  file_src_modules_changes_changes_constants_ts["src/modules/changes/changes.constants.ts"]
@@ -1228,8 +1230,6 @@ graph LR
1228
1230
  file_src_modules_measure_measure_constants_ts["src/modules/measure/measure.constants.ts"]
1229
1231
  file_src_modules_measure_measure_module_ts["src/modules/measure/measure.module.ts"]
1230
1232
  file_src_modules_measure_measure_types_ts["src/modules/measure/measure.types.ts"]
1231
- file_src_repl_ts["src/repl.ts"]
1232
- file_src_repl_unit_test_ts["src/repl.unit.test.ts"]
1233
1233
  file_testing_fixture_tree_ts["testing/fixture-tree.ts"]
1234
1234
  file_testing_mocks_ts["testing/mocks.ts"]
1235
1235
  file_testing_setup_ts["testing/setup.ts"]
@@ -1237,15 +1237,16 @@ graph LR
1237
1237
  file_testing_vite_library_config_integration_test_ts["testing/vite-library-config.integration.test.ts"]
1238
1238
  file_vite_config_ts["vite.config.ts"]
1239
1239
  file_vitest_config_ts["vitest.config.ts"]
1240
- file_src_main_end_to_end_test_ts --> file_src_constants_ts
1241
- file_src_main_end_to_end_test_ts --> file_testing_fixture_tree_ts
1242
- file_src_main_module_ts --> file_src_constants_ts
1243
- file_src_main_module_ts --> file_src_modules_changes_changes_module_ts
1244
- file_src_main_module_ts --> file_src_modules_configuration_configuration_module_ts
1245
- file_src_main_module_ts --> file_src_modules_measure_measure_module_ts
1246
- file_src_main_ts --> file_src_main_module_ts
1247
- file_src_main_ts --> file_src_main_utilities_ts
1248
- file_src_main_utilities_unit_test_ts --> file_src_main_utilities_ts
1240
+ file_src_codometer_cli_main_end_to_end_test_ts --> file_src_codometer_cli_constants_ts
1241
+ file_src_codometer_cli_main_end_to_end_test_ts --> file_testing_fixture_tree_ts
1242
+ file_src_codometer_cli_main_ts --> file_src_codometer_cli_module_ts
1243
+ file_src_codometer_cli_main_ts --> file_src_codometer_cli_utilities_ts
1244
+ file_src_codometer_cli_module_ts --> file_src_codometer_cli_constants_ts
1245
+ file_src_codometer_cli_module_ts --> file_src_modules_changes_changes_module_ts
1246
+ file_src_codometer_cli_module_ts --> file_src_modules_configuration_configuration_module_ts
1247
+ file_src_codometer_cli_module_ts --> file_src_modules_measure_measure_module_ts
1248
+ file_src_codometer_cli_repl_ts --> file_src_codometer_cli_module_ts
1249
+ file_src_codometer_cli_utilities_unit_test_ts --> file_src_codometer_cli_utilities_ts
1249
1250
  file_src_modules_changes_changes_command_ts --> file_src_modules_changes_changes_types_ts
1250
1251
  file_src_modules_changes_changes_command_unit_test_ts --> file_src_modules_changes_changes_command_ts
1251
1252
  file_src_modules_changes_changes_module_ts --> file_src_modules_changes_changes_command_ts
@@ -1253,14 +1254,13 @@ graph LR
1253
1254
  file_src_modules_configuration_configuration_command_ts --> file_src_modules_configuration_configuration_types_ts
1254
1255
  file_src_modules_configuration_configuration_command_unit_test_ts --> file_src_modules_configuration_configuration_command_ts
1255
1256
  file_src_modules_configuration_configuration_module_ts --> file_src_modules_configuration_configuration_command_ts
1256
- file_src_modules_measure_measure_command_integration_test_ts --> file_src_main_module_ts
1257
+ file_src_modules_measure_measure_command_integration_test_ts --> file_src_codometer_cli_module_ts
1257
1258
  file_src_modules_measure_measure_command_integration_test_ts --> file_src_modules_measure_measure_command_ts
1258
1259
  file_src_modules_measure_measure_command_integration_test_ts --> file_testing_fixture_tree_ts
1259
1260
  file_src_modules_measure_measure_command_ts --> file_src_modules_measure_measure_types_ts
1260
1261
  file_src_modules_measure_measure_command_unit_test_ts --> file_src_modules_measure_measure_command_ts
1261
1262
  file_src_modules_measure_measure_command_unit_test_ts --> file_testing_mocks_ts
1262
1263
  file_src_modules_measure_measure_module_ts --> file_src_modules_measure_measure_command_ts
1263
- file_src_repl_ts --> file_src_main_module_ts
1264
1264
  file_testing_vite_library_config_integration_test_ts --> file_vite_config_ts
1265
1265
  ```
1266
1266
  <!-- codependix:end name="codependix-file-imports" -->
@@ -1,19 +1,19 @@
1
- import { ConfigurationModule as e, ConfigurationService as t, FORMAT_NAMES as n } from "@codometer/configuration";
2
- import { DiscoveryModule as r, MeasureModule as i, MeasureService as a } from "@codometer/measurement";
3
- import { CODOMETER_MARKERS as o, ChangesModule as s, ChangesService as c, ConfigurationListingModule as l, ConfigurationListingService as u, DeliveryModule as d, DeliveryService as f, DestinationsModule as p, DestinationsService as m, DocumentsModule as h, DocumentsService as g, JsonModule as _, MarkdownModule as ee, RenderConfigurationService as v, RenderModule as y, RenderService as b, ReportModule as x, ReportService as S } from "@codometer/output";
4
- import { ConsoleLogger as te, Global as ne, Injectable as C, Module as w, Scope as T } from "@nestjs/common";
5
- import { ConfigModule as E } from "@nestjs/config";
6
- import { DiscoveryModule as re } from "@nestjs/core";
7
- import { existsSync as D, mkdirSync as O } from "node:fs";
8
- import k from "node:path";
9
- import A from "pino";
10
- import { z as j } from "zod";
11
- import { Command as M, CommandRunner as N, Option as P } from "nest-commander";
1
+ import { Command as e, CommandRunner as t, Option as n } from "nest-commander";
2
+ import { ConsoleLogger as r, Global as i, Injectable as a, Module as o, Scope as s } from "@nestjs/common";
3
+ import { existsSync as c, mkdirSync as l } from "node:fs";
4
+ import u from "node:path";
5
+ import d from "pino";
6
+ import { ConfigurationModule as f, ConfigurationService as p, FORMAT_NAMES as m } from "@codometer/configuration";
7
+ import { DiscoveryModule as h, MeasureModule as g, MeasureService as _ } from "@codometer/measurement";
8
+ import { CODOMETER_MARKERS as v, ChangesModule as y, ChangesService as b, ConfigurationListingModule as ee, ConfigurationListingService as x, DeliveryModule as te, DeliveryService as S, DestinationsModule as C, DestinationsService as w, DocumentsModule as T, DocumentsService as E, JsonModule as D, MarkdownModule as ne, RenderConfigurationService as O, RenderModule as k, RenderService as A, ReportModule as j, ReportService as M } from "@codometer/output";
9
+ import { ConfigModule as re } from "@nestjs/config";
10
+ import { DiscoveryModule as ie } from "@nestjs/core";
11
+ import { z as ae } from "zod";
12
12
  //#region \0rolldown/runtime.js
13
- var ie = Object.defineProperty, __name = (e, t) => ie(e, "name", {
13
+ var N = Object.defineProperty, __name = (e, t) => N(e, "name", {
14
14
  value: t,
15
15
  configurable: !0
16
- }), ae = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\s+/u, F = /^([A-Za-z]+)/, I = /* @__PURE__ */ new Set([
16
+ }), P = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\s+/u, F = /^([A-Za-z]+)/, I = /* @__PURE__ */ new Set([
17
17
  "built",
18
18
  "cut",
19
19
  "found",
@@ -57,7 +57,7 @@ function __decorate(e, t, n, r) {
57
57
  }
58
58
  //#endregion
59
59
  //#region projects/logging/src/modules/logger/logger.service.ts
60
- var R, z = class LoggerService extends te {
60
+ var R, z = class LoggerService extends r {
61
61
  static {
62
62
  R = this;
63
63
  }
@@ -70,7 +70,7 @@ var R, z = class LoggerService extends te {
70
70
  child = R.root;
71
71
  static createRootLogger() {
72
72
  let e = process.env.LOG_LEVEL ?? "info";
73
- return R.isProduction ? R.writesToStandardError ? A({ level: e }, A.destination(2)) : A({ level: e }) : A({
73
+ return R.isProduction ? R.writesToStandardError ? d({ level: e }, d.destination(2)) : d({ level: e }) : d({
74
74
  level: e,
75
75
  transport: {
76
76
  options: {
@@ -113,7 +113,7 @@ var R, z = class LoggerService extends te {
113
113
  return t.endsWith("ing") || t.endsWith("ed") || I.has(t);
114
114
  }
115
115
  parseMessage(e) {
116
- let t = String(e), n = ae.exec(t), r = n?.[1];
116
+ let t = String(e), n = P.exec(t), r = n?.[1];
117
117
  return r === void 0 ? {
118
118
  emoji: void 0,
119
119
  text: t
@@ -136,8 +136,8 @@ var R, z = class LoggerService extends te {
136
136
  };
137
137
  }
138
138
  createTimestampedOutputLogFilePath(e) {
139
- let t = k.join(process.cwd(), "output");
140
- return D(t) || O(t, { recursive: !0 }), k.join(t, `${e}-${(/* @__PURE__ */ new Date()).toISOString().replaceAll(/[:.]/g, "-")}.log`);
139
+ let t = u.join(process.cwd(), "output");
140
+ return c(t) || l(t, { recursive: !0 }), u.join(t, `${e}-${(/* @__PURE__ */ new Date()).toISOString().replaceAll(/[:.]/g, "-")}.log`);
141
141
  }
142
142
  debug(e, t, n) {
143
143
  let r = this.parseMessage(e);
@@ -189,19 +189,19 @@ var R, z = class LoggerService extends te {
189
189
  }), r.text);
190
190
  }
191
191
  };
192
- z = R = __decorate([C({ scope: T.TRANSIENT }), __decorateMetadata("design:paramtypes", [])], z);
192
+ z = R = __decorate([a({ scope: s.TRANSIENT }), __decorateMetadata("design:paramtypes", [])], z);
193
193
  //#endregion
194
194
  //#region projects/logging/src/modules/logger/logger.module.ts
195
195
  var B = class LoggerModule {};
196
- B = __decorate([ne(), w({
196
+ B = __decorate([i(), o({
197
197
  controllers: [],
198
198
  exports: [z],
199
199
  imports: [],
200
200
  providers: [z]
201
201
  })], B);
202
202
  //#endregion
203
- //#region projects/ic-suite/codometer/codometer-cli/src/constants.ts
204
- var V = j.object({}), H, U = H = class ChangesCommand extends N {
203
+ //#region projects/ic-suite/codometer/codometer-cli/src/codometer-cli.constants.ts
204
+ var V = ae.object({}), H, U = H = class ChangesCommand extends t {
205
205
  configurationService;
206
206
  changesService;
207
207
  documentsService;
@@ -246,12 +246,12 @@ var V = j.object({}), H, U = H = class ChangesCommand extends N {
246
246
  output: this.configurationService.parseOptionalOption(t.output)
247
247
  },
248
248
  label: "codometer changes",
249
- markers: o
249
+ markers: v
250
250
  });
251
251
  }
252
252
  };
253
253
  __decorate([
254
- P({
254
+ n({
255
255
  description: "Directory holding a baseline snapshot of the reports",
256
256
  flags: "--baseline [baseline]"
257
257
  }),
@@ -259,7 +259,7 @@ __decorate([
259
259
  __decorateMetadata("design:paramtypes", [Object]),
260
260
  __decorateMetadata("design:returntype", Object)
261
261
  ], U.prototype, "parseBaseline", null), __decorate([
262
- P({
262
+ n({
263
263
  description: "Run URL the baseline came from",
264
264
  flags: "--baseline-url [baselineUrl]"
265
265
  }),
@@ -267,7 +267,7 @@ __decorate([
267
267
  __decorateMetadata("design:paramtypes", [Object]),
268
268
  __decorateMetadata("design:returntype", Object)
269
269
  ], U.prototype, "parseBaselineUrl", null), __decorate([
270
- P({
270
+ n({
271
271
  description: "Directory to look for codometer reports in",
272
272
  flags: "-d, --directory [directory]"
273
273
  }),
@@ -275,7 +275,7 @@ __decorate([
275
275
  __decorateMetadata("design:paramtypes", [Object]),
276
276
  __decorateMetadata("design:returntype", String)
277
277
  ], U.prototype, "parseDirectory", null), __decorate([
278
- P({
278
+ n({
279
279
  description: "Markdown document to splice the report into",
280
280
  flags: "--markdown [markdown]"
281
281
  }),
@@ -283,7 +283,7 @@ __decorate([
283
283
  __decorateMetadata("design:paramtypes", [Object]),
284
284
  __decorateMetadata("design:returntype", Object)
285
285
  ], U.prototype, "parseMarkdown", null), __decorate([
286
- P({
286
+ n({
287
287
  description: "File to write the report to",
288
288
  flags: "--output [output]"
289
289
  }),
@@ -291,37 +291,37 @@ __decorate([
291
291
  __decorateMetadata("design:paramtypes", [Object]),
292
292
  __decorateMetadata("design:returntype", Object)
293
293
  ], U.prototype, "parseOutput", null), U = H = __decorate([
294
- M({
294
+ e({
295
295
  description: "Report codometer's changes against a baseline",
296
296
  name: "changes"
297
297
  }),
298
- C(),
298
+ a(),
299
299
  __decorateMetadata("design:paramtypes", [
300
- t === void 0 ? Object : t,
301
- c === void 0 ? Object : c,
302
- g === void 0 ? Object : g,
300
+ p === void 0 ? Object : p,
303
301
  b === void 0 ? Object : b,
302
+ E === void 0 ? Object : E,
303
+ A === void 0 ? Object : A,
304
304
  z === void 0 ? Object : z
305
305
  ])
306
306
  ], U);
307
307
  //#endregion
308
308
  //#region projects/ic-suite/codometer/codometer-cli/src/modules/changes/changes.module.ts
309
309
  var W = class ChangesModule {};
310
- W = __decorate([w({
310
+ W = __decorate([o({
311
311
  controllers: [],
312
312
  exports: [U],
313
313
  imports: [
314
- s,
315
- e,
316
- h,
314
+ y,
315
+ f,
316
+ T,
317
317
  B,
318
- y
318
+ k
319
319
  ],
320
320
  providers: [U]
321
321
  })], W);
322
322
  //#endregion
323
323
  //#region projects/ic-suite/codometer/codometer-cli/src/modules/configuration/configuration.constants.ts
324
- var G = ["json", "markdown"], K = "markdown", q, J = q = class ConfigurationCommand extends N {
324
+ var G = ["json", "markdown"], K = "markdown", q, J = q = class ConfigurationCommand extends t {
325
325
  codometerConfigurationService;
326
326
  configurationService;
327
327
  renderConfigurationService;
@@ -344,7 +344,7 @@ var G = ["json", "markdown"], K = "markdown", q, J = q = class ConfigurationComm
344
344
  async run(e, t = {}) {
345
345
  let n = t.format ?? "markdown";
346
346
  if (!G.includes(n)) throw Error(`--format does not accept "${n}". It takes one of ${G.join(" and ")}.`);
347
- let r = k.resolve(t.directory ?? process.cwd()), { described: i, rootError: a } = await this.configurationService.describeConfigurations({
347
+ let r = u.resolve(t.directory ?? process.cwd()), { described: i, rootError: a } = await this.configurationService.describeConfigurations({
348
348
  configurationPath: t.config,
349
349
  workingDirectory: r
350
350
  });
@@ -363,7 +363,7 @@ var G = ["json", "markdown"], K = "markdown", q, J = q = class ConfigurationComm
363
363
  }
364
364
  };
365
365
  __decorate([
366
- P({
366
+ n({
367
367
  description: "Path to the configuration file answering for the directory being listed",
368
368
  flags: "--config [config]"
369
369
  }),
@@ -371,7 +371,7 @@ __decorate([
371
371
  __decorateMetadata("design:paramtypes", [Object]),
372
372
  __decorateMetadata("design:returntype", Object)
373
373
  ], J.prototype, "parseConfig", null), __decorate([
374
- P({
374
+ n({
375
375
  description: "Directory to look for configuration files beneath",
376
376
  flags: "-d, --directory [directory]"
377
377
  }),
@@ -379,7 +379,7 @@ __decorate([
379
379
  __decorateMetadata("design:paramtypes", [Object]),
380
380
  __decorateMetadata("design:returntype", String)
381
381
  ], J.prototype, "parseDirectory", null), __decorate([
382
- P({
382
+ n({
383
383
  description: `Output format, one of ${G.join(", ")}`,
384
384
  flags: "-f, --format [format]"
385
385
  }),
@@ -387,7 +387,7 @@ __decorate([
387
387
  __decorateMetadata("design:paramtypes", [Object]),
388
388
  __decorateMetadata("design:returntype", String)
389
389
  ], J.prototype, "parseFormat", null), __decorate([
390
- P({
390
+ n({
391
391
  description: "List only the configured limits",
392
392
  flags: "--limits"
393
393
  }),
@@ -395,30 +395,30 @@ __decorate([
395
395
  __decorateMetadata("design:paramtypes", []),
396
396
  __decorateMetadata("design:returntype", Boolean)
397
397
  ], J.prototype, "parseLimits", null), J = q = __decorate([
398
- M({
398
+ e({
399
399
  description: "List the codometer configuration found beneath a directory",
400
400
  name: "configuration"
401
401
  }),
402
- C(),
402
+ a(),
403
403
  __decorateMetadata("design:paramtypes", [
404
- t === void 0 ? Object : t,
405
- u === void 0 ? Object : u,
406
- v === void 0 ? Object : v,
404
+ p === void 0 ? Object : p,
405
+ x === void 0 ? Object : x,
406
+ O === void 0 ? Object : O,
407
407
  z === void 0 ? Object : z
408
408
  ])
409
409
  ], J);
410
410
  //#endregion
411
411
  //#region projects/ic-suite/codometer/codometer-cli/src/modules/configuration/configuration.module.ts
412
412
  var Y = class ConfigurationModule {};
413
- Y = __decorate([w({
413
+ Y = __decorate([o({
414
414
  controllers: [],
415
415
  exports: [J],
416
- imports: [e, l],
416
+ imports: [f, ee],
417
417
  providers: [J]
418
418
  })], Y);
419
419
  //#endregion
420
420
  //#region projects/ic-suite/codometer/codometer-cli/src/modules/measure/measure.command.ts
421
- var X, Z = X = class MeasureCommand extends N {
421
+ var X, Z = X = class MeasureCommand extends t {
422
422
  configurationService;
423
423
  measureService;
424
424
  deliveryService;
@@ -503,7 +503,7 @@ var X, Z = X = class MeasureCommand extends N {
503
503
  };
504
504
  }
505
505
  resolveWorkingDirectory() {
506
- let e = k.resolve(process.cwd());
506
+ let e = u.resolve(process.cwd());
507
507
  return this.logger.debug("🚀 Started the measurement run", void 0, { directory: e }), e;
508
508
  }
509
509
  parseCheck(e) {
@@ -553,7 +553,7 @@ var X, Z = X = class MeasureCommand extends N {
553
553
  }
554
554
  };
555
555
  __decorate([
556
- P({
556
+ n({
557
557
  description: "Fail on a comma-separated set drawn from \"reports\" and \"limits\"",
558
558
  flags: "--check [check]"
559
559
  }),
@@ -561,7 +561,7 @@ __decorate([
561
561
  __decorateMetadata("design:paramtypes", [String]),
562
562
  __decorateMetadata("design:returntype", String)
563
563
  ], Z.prototype, "parseCheck", null), __decorate([
564
- P({
564
+ n({
565
565
  description: "Path to the codometer configuration file",
566
566
  flags: "--config [config]"
567
567
  }),
@@ -569,15 +569,15 @@ __decorate([
569
569
  __decorateMetadata("design:paramtypes", [Object]),
570
570
  __decorateMetadata("design:returntype", Object)
571
571
  ], Z.prototype, "parseConfig", null), __decorate([
572
- P({
573
- description: `What to print to standard output, one of ${n.join(" and ")}`,
572
+ n({
573
+ description: `What to print to standard output, one of ${m.join(" and ")}`,
574
574
  flags: "-f, --format <format>"
575
575
  }),
576
576
  __decorateMetadata("design:type", Function),
577
577
  __decorateMetadata("design:paramtypes", [String]),
578
578
  __decorateMetadata("design:returntype", String)
579
579
  ], Z.prototype, "parseFormat", null), __decorate([
580
- P({
580
+ n({
581
581
  description: "Glob array measured in place of every configured input, with no configured input — not even the built-in codebase one — active",
582
582
  flags: "--inputs [globs...]"
583
583
  }),
@@ -585,7 +585,7 @@ __decorate([
585
585
  __decorateMetadata("design:paramtypes", [String, Array]),
586
586
  __decorateMetadata("design:returntype", Array)
587
587
  ], Z.prototype, "parseInputs", null), __decorate([
588
- P({
588
+ n({
589
589
  description: "Write the JSON report, at the given path or the configured one",
590
590
  flags: "--output-json [outputJson]"
591
591
  }),
@@ -593,7 +593,7 @@ __decorate([
593
593
  __decorateMetadata("design:paramtypes", [Object]),
594
594
  __decorateMetadata("design:returntype", Object)
595
595
  ], Z.prototype, "parseOutputJson", null), __decorate([
596
- P({
596
+ n({
597
597
  description: "Write the markdown badge block, at the given path or the configured one",
598
598
  flags: "--output-markdown [outputMarkdown]"
599
599
  }),
@@ -601,54 +601,54 @@ __decorate([
601
601
  __decorateMetadata("design:paramtypes", [Object]),
602
602
  __decorateMetadata("design:returntype", Object)
603
603
  ], Z.prototype, "parseOutputMarkdown", null), Z = X = __decorate([
604
- M({
604
+ e({
605
605
  description: "Measure a directory and produce every resolved output",
606
606
  name: "measure"
607
607
  }),
608
- C(),
608
+ a(),
609
609
  __decorateMetadata("design:paramtypes", [
610
- t === void 0 ? Object : t,
611
- a === void 0 ? Object : a,
612
- f === void 0 ? Object : f,
610
+ p === void 0 ? Object : p,
611
+ _ === void 0 ? Object : _,
613
612
  S === void 0 ? Object : S,
614
- m === void 0 ? Object : m,
613
+ M === void 0 ? Object : M,
614
+ w === void 0 ? Object : w,
615
615
  z === void 0 ? Object : z
616
616
  ])
617
617
  ], Z);
618
618
  //#endregion
619
619
  //#region projects/ic-suite/codometer/codometer-cli/src/modules/measure/measure.module.ts
620
620
  var Q = class MeasureModule {};
621
- Q = __decorate([w({
621
+ Q = __decorate([o({
622
622
  controllers: [],
623
623
  exports: [Z],
624
624
  imports: [
625
- i,
626
- e,
627
- d,
628
- p,
625
+ g,
626
+ f,
627
+ te,
628
+ C,
629
629
  B,
630
- x
630
+ j
631
631
  ],
632
632
  providers: [Z]
633
633
  })], Q);
634
634
  //#endregion
635
- //#region projects/ic-suite/codometer/codometer-cli/src/main.module.ts
635
+ //#region projects/ic-suite/codometer/codometer-cli/src/codometer-cli.module.ts
636
636
  var $ = class MainModule {};
637
- $ = __decorate([w({ imports: [
638
- E.forRoot({
637
+ $ = __decorate([o({ imports: [
638
+ re.forRoot({
639
639
  envFilePath: ".env",
640
640
  isGlobal: !0,
641
641
  validate: (e) => V.parse(e)
642
642
  }),
643
- re,
643
+ ie,
644
644
  B,
645
645
  W,
646
646
  Y,
647
647
  Q,
648
- r,
649
- e,
650
- _,
651
- ee
648
+ h,
649
+ f,
650
+ D,
651
+ ne
652
652
  ] })], $);
653
653
  //#endregion
654
654
  export { J as a, z as c, Y as i, __name as l, Q as n, W as o, Z as r, U as s, $ as t };
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { c as e, t } from "../main.module-BFF0rQBN.js";
3
- import { CommandFactory as n } from "nest-commander";
2
+ import { c as e, t } from "../codometer-cli.module-CB9I6zxo.js";
4
3
  import "reflect-metadata";
5
- //#region projects/ic-suite/codometer/codometer-cli/src/main.utilities.ts
4
+ import { CommandFactory as n } from "nest-commander";
5
+ //#region projects/ic-suite/codometer/codometer-cli/src/codometer-cli.utilities.ts
6
6
  function withDefaultCommand(e) {
7
7
  let t = /* @__PURE__ */ new Set([
8
8
  "changes",
@@ -13,7 +13,7 @@ function withDefaultCommand(e) {
13
13
  return r !== void 0 && (t.has(r) || n.has(r)) ? [...e] : ["measure", ...e];
14
14
  }
15
15
  //#endregion
16
- //#region projects/ic-suite/codometer/codometer-cli/src/main.ts
16
+ //#region projects/ic-suite/codometer/codometer-cli/src/codometer-cli.main.ts
17
17
  async function main() {
18
18
  e.logToStandardError();
19
19
  let r = new e();
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 "../main.module-BFF0rQBN.js";
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-CB9I6zxo.js";
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "author": "Jimmy Paolini",
3
3
  "bin": {
4
- "codometer": "./dist/src/main.js"
4
+ "codometer": "./dist/src/codometer-cli.main.js"
5
5
  },
6
6
  "bugs": {
7
7
  "url": "https://github.com/organizzolini/codebase/issues"
8
8
  },
9
9
  "dependencies": {
10
- "@codometer/configuration": "0.0.24",
11
- "@codometer/core": "0.0.24",
12
- "@codometer/measurement": "0.0.24",
13
- "@codometer/output": "0.0.24",
10
+ "@codometer/configuration": "0.0.26",
11
+ "@codometer/core": "0.0.26",
12
+ "@codometer/measurement": "0.0.26",
13
+ "@codometer/output": "0.0.26",
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",
@@ -75,5 +75,5 @@
75
75
  "strict": true
76
76
  },
77
77
  "types": "./dist/src/index.d.ts",
78
- "version": "0.0.25"
78
+ "version": "0.0.27"
79
79
  }
File without changes