@codometer/output 0.0.47 → 0.0.48

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,15 @@
1
+ ## 0.0.48 (2026-10-24)
2
+
3
+ ### 📦 Build
4
+
5
+ - **ic-suite,presentation:** 👷 infer the vite build target instead of @nx/vite:build ([#1823](https://github.com/organizzolini/codebase/pull/1823))
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated codometer-configuration to 0.0.48
10
+ - Updated codometer-measurement to 0.0.48
11
+ - Updated codometer-core to 0.0.48
12
+
1
13
  ## 0.0.47 (2026-10-23)
2
14
 
3
15
  ### 🧱 Updated Dependencies
package/README.md CHANGED
@@ -369,13 +369,13 @@ graph LR
369
369
  ### Project
370
370
 
371
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-271.59_kB-6b7280?style=flat-square)
372
+ ![Repository Size](https://img.shields.io/badge/Repository_Size-271.63_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.61_kB_gzip-6b7280?style=flat-square)
378
+ ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-11.55_kB_gzip-6b7280?style=flat-square)
379
379
 
380
380
  ### TypeScript
381
381
 
@@ -422,16 +422,16 @@ graph LR
422
422
  ### JSON
423
423
 
424
424
  ![JSON Files](https://img.shields.io/badge/JSON_Files-4-a16207?style=flat-square)
425
- ![JSON Lines](https://img.shields.io/badge/JSON_Lines-168-ca8a04?style=flat-square)
426
- ![JSON Objects](https://img.shields.io/badge/JSON_Objects-38-7c3aed?style=flat-square)
427
- ![JSON Arrays](https://img.shields.io/badge/JSON_Arrays-13-8b5cf6?style=flat-square)
428
- ![JSON Properties](https://img.shields.io/badge/JSON_Properties-105-0284c7?style=flat-square)
429
- ![JSON Strings](https://img.shields.io/badge/JSON_Strings-93-16a34a?style=flat-square)
425
+ ![JSON Lines](https://img.shields.io/badge/JSON_Lines-160-ca8a04?style=flat-square)
426
+ ![JSON Objects](https://img.shields.io/badge/JSON_Objects-37-7c3aed?style=flat-square)
427
+ ![JSON Arrays](https://img.shields.io/badge/JSON_Arrays-12-8b5cf6?style=flat-square)
428
+ ![JSON Properties](https://img.shields.io/badge/JSON_Properties-99-0284c7?style=flat-square)
429
+ ![JSON Strings](https://img.shields.io/badge/JSON_Strings-89-16a34a?style=flat-square)
430
430
  ![JSON Numbers](https://img.shields.io/badge/JSON_Numbers-1-059669?style=flat-square)
431
- ![JSON Booleans](https://img.shields.io/badge/JSON_Booleans-7-0ea5e9?style=flat-square)
431
+ ![JSON Booleans](https://img.shields.io/badge/JSON_Booleans-6-0ea5e9?style=flat-square)
432
432
  ![JSON Nulls](https://img.shields.io/badge/JSON_Nulls-0-64748b?style=flat-square)
433
- ![JSON Items](https://img.shields.io/badge/JSON_Items-43-475569?style=flat-square)
434
- ![JSON Nodes](https://img.shields.io/badge/JSON_Nodes-152-dc2626?style=flat-square)
433
+ ![JSON Items](https://img.shields.io/badge/JSON_Items-42-475569?style=flat-square)
434
+ ![JSON Nodes](https://img.shields.io/badge/JSON_Nodes-145-dc2626?style=flat-square)
435
435
  ![JSON Max Depth](https://img.shields.io/badge/JSON_Max_Depth-5-ea580c?style=flat-square)
436
436
 
437
437
  ### YAML
@@ -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-585-1f6feb?style=flat-square)
560
+ ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-597-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-50-8b5cf6?style=flat-square)
563
- ![H3](https://img.shields.io/badge/H3-60-a78bfa?style=flat-square)
562
+ ![H2](https://img.shields.io/badge/H2-51-8b5cf6?style=flat-square)
563
+ ![H3](https://img.shields.io/badge/H3-62-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-179-64748b?style=flat-square)
568
- ![Lists](https://img.shields.io/badge/Lists-54-16a34a?style=flat-square)
569
- ![List Items](https://img.shields.io/badge/List_Items-159-22c55e?style=flat-square)
567
+ ![Paragraphs](https://img.shields.io/badge/Paragraphs-183-64748b?style=flat-square)
568
+ ![Lists](https://img.shields.io/badge/Lists-56-16a34a?style=flat-square)
569
+ ![List Items](https://img.shields.io/badge/List_Items-163-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-14-059669?style=flat-square)
573
+ ![Links](https://img.shields.io/badge/Links-15-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)
package/dist/src/index.js CHANGED
@@ -6,7 +6,7 @@ import f from "pino";
6
6
  import { CONFIGURATION_FILE_NAMES as ee, ConfigurationModule as te, ConfigurationService as p, DEFAULT_EXCLUDE_GLOBS as ne, DEFAULT_JSON_INDENTATION as m, DEFAULT_MARKDOWN_END_MARKER as h, DEFAULT_MARKDOWN_START_MARKER as g, REPOSITORY_ROOT_MARKERS as re } from "@codometer/configuration";
7
7
  import { DiscoveryModule as ie, DiscoveryService as _ } from "@codometer/measurement";
8
8
  import { readFile as ae, writeFile as v } from "node:fs/promises";
9
- //#region \0rolldown/runtime.js
9
+ // \0rolldown/runtime.js
10
10
  var y = [
11
11
  "codometer-report.json",
12
12
  "applications/*/codometer-report.json",
@@ -66,21 +66,18 @@ var y = [
66
66
  "RoutesResolver",
67
67
  "TypeOrmModule"
68
68
  ]);
69
- //#endregion
70
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateMetadata.js
69
+ // \0@oxc-project+runtime@0.155.0/helpers/esm/decorateMetadata.js
71
70
  function __decorateMetadata(e, t) {
72
71
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
73
72
  }
74
- //#endregion
75
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
73
+ // \0@oxc-project+runtime@0.155.0/helpers/esm/decorate.js
76
74
  function __decorate(e, t, n, r) {
77
75
  var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
78
76
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
79
77
  else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
80
78
  return i > 3 && a && Object.defineProperty(t, n, a), a;
81
79
  }
82
- //#endregion
83
- //#region projects/common/observability/src/modules/logger/logger.service.ts
80
+ // ../../../common/observability/src/modules/logger/logger.service.ts
84
81
  var S, C = class LoggerService extends t {
85
82
  static {
86
83
  S = this;
@@ -214,8 +211,7 @@ var S, C = class LoggerService extends t {
214
211
  }
215
212
  };
216
213
  C = S = __decorate([r({ scope: a.TRANSIENT }), __decorateMetadata("design:paramtypes", [])], C);
217
- //#endregion
218
- //#region projects/common/observability/src/modules/logger/logger.module.ts
214
+ // ../../../common/observability/src/modules/logger/logger.module.ts
219
215
  var w = class LoggerModule {};
220
216
  w = __decorate([n(), i({
221
217
  controllers: [],
@@ -223,8 +219,7 @@ w = __decorate([n(), i({
223
219
  imports: [],
224
220
  providers: [C]
225
221
  })], w);
226
- //#endregion
227
- //#region projects/ic-suite/codometer/codometer-output/src/modules/changes/changes.service.ts
222
+ // src/modules/changes/changes.service.ts
228
223
  var T, E = T = class ChangesService {
229
224
  logger;
230
225
  constructor(e) {
@@ -333,8 +328,7 @@ var T, E = T = class ChangesService {
333
328
  }
334
329
  };
335
330
  E = T = __decorate([r(), __decorateMetadata("design:paramtypes", [C === void 0 ? Object : C])], E);
336
- //#endregion
337
- //#region projects/ic-suite/codometer/codometer-output/src/modules/changes/changes.module.ts
331
+ // src/modules/changes/changes.module.ts
338
332
  var D = class ChangesModule {};
339
333
  D = __decorate([i({
340
334
  controllers: [],
@@ -342,8 +336,7 @@ D = __decorate([i({
342
336
  imports: [w],
343
337
  providers: [E]
344
338
  })], D);
345
- //#endregion
346
- //#region projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.constants.ts
339
+ // src/modules/configuration-listing/configuration-listing.constants.ts
347
340
  var le = "—", O = "# 🔧 Codometer Configuration", k = [
348
341
  "Directory",
349
342
  "Metric",
@@ -352,8 +345,7 @@ var le = "—", O = "# 🔧 Codometer Configuration", k = [
352
345
  "Value",
353
346
  "Declared in"
354
347
  ], ue = ".size";
355
- //#endregion
356
- //#region projects/ic-suite/codometer/codometer-output/src/modules/render/render.utilities.ts
348
+ // src/modules/render/render.utilities.ts
357
349
  function formatBytes(e) {
358
350
  return Math.abs(e) >= 1e6 ? `${(e / 1e6).toFixed(2)} MB` : `${(e / 1e3).toFixed(2)} kB`;
359
351
  }
@@ -371,8 +363,7 @@ function formatValue(e, t) {
371
363
  function hasChanged(e) {
372
364
  return e.breach === void 0 ? e.baseValue === void 0 ? e.value !== 0 || e.empty : e.value !== e.baseValue : !0;
373
365
  }
374
- //#endregion
375
- //#region projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.service.ts
366
+ // src/modules/configuration-listing/configuration-listing.service.ts
376
367
  var A = class ConfigurationListingService {
377
368
  configurationService;
378
369
  discoveryService;
@@ -452,8 +443,7 @@ var A = class ConfigurationListingService {
452
443
  }
453
444
  };
454
445
  A = __decorate([r(), __decorateMetadata("design:paramtypes", [p === void 0 ? Object : p, _ === void 0 ? Object : _])], A);
455
- //#endregion
456
- //#region projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/render-configuration.service.ts
446
+ // src/modules/configuration-listing/render-configuration.service.ts
457
447
  var j = class RenderConfigurationService {
458
448
  constructor() {}
459
449
  renderDirectory(e) {
@@ -525,8 +515,7 @@ var j = class RenderConfigurationService {
525
515
  }
526
516
  };
527
517
  j = __decorate([r(), __decorateMetadata("design:paramtypes", [])], j);
528
- //#endregion
529
- //#region projects/ic-suite/codometer/codometer-output/src/modules/configuration-listing/configuration-listing.module.ts
518
+ // src/modules/configuration-listing/configuration-listing.module.ts
530
519
  var M = class ConfigurationListingModule {};
531
520
  M = __decorate([i({
532
521
  controllers: [],
@@ -534,8 +523,7 @@ M = __decorate([i({
534
523
  imports: [te, ie],
535
524
  providers: [A, j]
536
525
  })], M);
537
- //#endregion
538
- //#region projects/ic-suite/codometer/codometer-output/src/modules/json/json.service.ts
526
+ // src/modules/json/json.service.ts
539
527
  var N, P = N = class JsonService {
540
528
  logger;
541
529
  constructor(e) {
@@ -557,8 +545,7 @@ var N, P = N = class JsonService {
557
545
  }
558
546
  };
559
547
  P = N = __decorate([r(), __decorateMetadata("design:paramtypes", [C === void 0 ? Object : C])], P);
560
- //#endregion
561
- //#region projects/ic-suite/codometer/codometer-output/src/modules/json/json.module.ts
548
+ // src/modules/json/json.module.ts
562
549
  var F = class JsonModule {};
563
550
  F = __decorate([i({
564
551
  controllers: [],
@@ -566,15 +553,13 @@ F = __decorate([i({
566
553
  imports: [w],
567
554
  providers: [P]
568
555
  })], F);
569
- //#endregion
570
- //#region projects/ic-suite/codometer/codometer-output/src/modules/markdown/markdown.constants.ts
556
+ // src/modules/markdown/markdown.constants.ts
571
557
  var I = "## ⏲️ Codometer", de = /[.*+?^${}()|[\]\\]/g, fe = /\n+$/, MissingMarkdownPathError = class extends Error {
572
558
  constructor() {
573
559
  super("No markdown path to write to. Set output.markdown.path, pass --markdown, or give syncAnchoredBlock a path of its own."), this.name = "MissingMarkdownPathError";
574
560
  }
575
561
  };
576
- //#endregion
577
- //#region projects/ic-suite/codometer/codometer-output/src/modules/markdown/markdown.utilities.ts
562
+ // src/modules/markdown/markdown.utilities.ts
578
563
  function buildBadge(e, t, n) {
579
564
  return `![${e}](https://img.shields.io/badge/${encodeValue(e)}-${encodeValue(t)}-${n}?style=flat-square)`;
580
565
  }
@@ -826,8 +811,7 @@ function formatTargetSize(e) {
826
811
  let t = formatBytes(e.bytes);
827
812
  return e.compression === "none" ? t : `${t} ${e.compression}`;
828
813
  }
829
- //#endregion
830
- //#region projects/ic-suite/codometer/codometer-output/src/modules/markdown/markdown.service.ts
814
+ // src/modules/markdown/markdown.service.ts
831
815
  var L, R = L = class MarkdownService {
832
816
  logger;
833
817
  constructor(e) {
@@ -947,8 +931,7 @@ var L, R = L = class MarkdownService {
947
931
  }
948
932
  };
949
933
  R = L = __decorate([r(), __decorateMetadata("design:paramtypes", [C === void 0 ? Object : C])], R);
950
- //#endregion
951
- //#region projects/ic-suite/codometer/codometer-output/src/modules/markdown/markdown.module.ts
934
+ // src/modules/markdown/markdown.module.ts
952
935
  var z = class MarkdownModule {};
953
936
  z = __decorate([i({
954
937
  controllers: [],
@@ -956,8 +939,7 @@ z = __decorate([i({
956
939
  imports: [w],
957
940
  providers: [R]
958
941
  })], z);
959
- //#endregion
960
- //#region projects/ic-suite/codometer/codometer-output/src/modules/delivery/delivery.constants.ts
942
+ // src/modules/delivery/delivery.constants.ts
961
943
  var B = {
962
944
  custom: [],
963
945
  description: void 0,
@@ -1024,8 +1006,7 @@ var B = {
1024
1006
  }
1025
1007
  };
1026
1008
  V = __decorate([r(), __decorateMetadata("design:paramtypes", [P === void 0 ? Object : P, R === void 0 ? Object : R])], V);
1027
- //#endregion
1028
- //#region projects/ic-suite/codometer/codometer-output/src/modules/delivery/delivery.module.ts
1009
+ // src/modules/delivery/delivery.module.ts
1029
1010
  var H = class DeliveryModule {};
1030
1011
  H = __decorate([i({
1031
1012
  controllers: [],
@@ -1033,8 +1014,7 @@ H = __decorate([i({
1033
1014
  imports: [F, z],
1034
1015
  providers: [V]
1035
1016
  })], H);
1036
- //#endregion
1037
- //#region projects/ic-suite/codometer/codometer-output/src/modules/destinations/destinations.service.ts
1017
+ // src/modules/destinations/destinations.service.ts
1038
1018
  var U = class DestinationsService {
1039
1019
  constructor() {}
1040
1020
  findConfiguredOutput(e, t) {
@@ -1104,8 +1084,7 @@ var U = class DestinationsService {
1104
1084
  }
1105
1085
  };
1106
1086
  U = __decorate([r(), __decorateMetadata("design:paramtypes", [])], U);
1107
- //#endregion
1108
- //#region projects/ic-suite/codometer/codometer-output/src/modules/destinations/destinations.module.ts
1087
+ // src/modules/destinations/destinations.module.ts
1109
1088
  var W = class DestinationsModule {};
1110
1089
  W = __decorate([i({
1111
1090
  controllers: [],
@@ -1113,8 +1092,7 @@ W = __decorate([i({
1113
1092
  imports: [],
1114
1093
  providers: [U]
1115
1094
  })], W);
1116
- //#endregion
1117
- //#region projects/ic-suite/codometer/codometer-output/src/modules/documents/documents.service.ts
1095
+ // src/modules/documents/documents.service.ts
1118
1096
  var G, K = G = class DocumentsService {
1119
1097
  logger;
1120
1098
  constructor(e) {
@@ -1158,8 +1136,7 @@ var G, K = G = class DocumentsService {
1158
1136
  }
1159
1137
  };
1160
1138
  K = G = __decorate([r(), __decorateMetadata("design:paramtypes", [C === void 0 ? Object : C])], K);
1161
- //#endregion
1162
- //#region projects/ic-suite/codometer/codometer-output/src/modules/documents/documents.module.ts
1139
+ // src/modules/documents/documents.module.ts
1163
1140
  var q = class DocumentsModule {};
1164
1141
  q = __decorate([i({
1165
1142
  controllers: [],
@@ -1167,8 +1144,7 @@ q = __decorate([i({
1167
1144
  imports: [w],
1168
1145
  providers: [K]
1169
1146
  })], q);
1170
- //#endregion
1171
- //#region projects/ic-suite/codometer/codometer-output/src/modules/render/render.constants.ts
1147
+ // src/modules/render/render.constants.ts
1172
1148
  var J = "## ⏲️ Codometer", pe = {
1173
1149
  end: "<!-- codometer-changes:end -->",
1174
1150
  start: "<!-- codometer-changes:start -->"
@@ -1243,8 +1219,7 @@ var J = "## ⏲️ Codometer", pe = {
1243
1219
  }
1244
1220
  };
1245
1221
  X = __decorate([r(), __decorateMetadata("design:paramtypes", [])], X);
1246
- //#endregion
1247
- //#region projects/ic-suite/codometer/codometer-output/src/modules/render/render.module.ts
1222
+ // src/modules/render/render.module.ts
1248
1223
  var Z = class RenderModule {};
1249
1224
  Z = __decorate([i({
1250
1225
  controllers: [],
@@ -1252,8 +1227,7 @@ Z = __decorate([i({
1252
1227
  imports: [],
1253
1228
  providers: [X]
1254
1229
  })], Z);
1255
- //#endregion
1256
- //#region projects/ic-suite/codometer/codometer-output/src/modules/report/report.service.ts
1230
+ // src/modules/report/report.service.ts
1257
1231
  var Q = class ReportService {
1258
1232
  constructor() {}
1259
1233
  buildLimit(e) {
@@ -1312,8 +1286,7 @@ var Q = class ReportService {
1312
1286
  }
1313
1287
  };
1314
1288
  Q = __decorate([r(), __decorateMetadata("design:paramtypes", [])], Q);
1315
- //#endregion
1316
- //#region projects/ic-suite/codometer/codometer-output/src/modules/report/report.module.ts
1289
+ // src/modules/report/report.module.ts
1317
1290
  var $ = class ReportModule {};
1318
1291
  $ = __decorate([i({
1319
1292
  controllers: [],
@@ -1321,5 +1294,4 @@ $ = __decorate([i({
1321
1294
  imports: [],
1322
1295
  providers: [Q]
1323
1296
  })], $);
1324
- //#endregion
1325
1297
  export { le as ABSENT_LABEL, pe as CODOMETER_MARKERS, O as CONFIGURATION_HEADING, D as ChangesModule, E as ChangesService, M as ConfigurationListingModule, A as ConfigurationListingService, H as DeliveryModule, V as DeliveryService, W as DestinationsModule, U as DestinationsService, q as DocumentsModule, K as DocumentsService, J as HEADING, F as JsonModule, P as JsonService, k as LIMIT_TABLE_COLUMNS, z as MarkdownModule, R as MarkdownService, MissingMarkdownPathError, y as REPORT_GLOBS, j as RenderConfigurationService, Z as RenderModule, X as RenderService, $ as ReportModule, Q as ReportService, ue as SIZE_METRIC_SUFFIX, Y as TABLE_HEADER, b as codometerReportSchema, formatBytes, formatCount, formatDelta, formatValue, hasChanged };
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.47",
8
- "@codometer/core": "0.0.47",
9
- "@codometer/measurement": "0.0.47",
7
+ "@codometer/configuration": "0.0.48",
8
+ "@codometer/core": "0.0.48",
9
+ "@codometer/measurement": "0.0.48",
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.47"
66
+ "version": "0.0.48"
67
67
  }