@codometer/measurement 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-languages 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
@@ -346,13 +346,13 @@ None.
346
346
  ### Project
347
347
 
348
348
  ![Lines of Code](https://img.shields.io/badge/Lines_of_Code-6275-22c55e?style=flat-square)
349
- ![Repository Size](https://img.shields.io/badge/Repository_Size-213.05_kB-6b7280?style=flat-square)
349
+ ![Repository Size](https://img.shields.io/badge/Repository_Size-213.07_kB-6b7280?style=flat-square)
350
350
  ![Folders](https://img.shields.io/badge/Folders-9-4a4a4a?style=flat-square)
351
351
  ![Source Files](https://img.shields.io/badge/Source_Files-53-3178c6?style=flat-square)
352
352
 
353
353
  ### Measured Targets
354
354
 
355
- ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-8.91_kB_gzip-6b7280?style=flat-square)
355
+ ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-8.87_kB_gzip-6b7280?style=flat-square)
356
356
 
357
357
  ### TypeScript
358
358
 
@@ -399,16 +399,16 @@ None.
399
399
  ### JSON
400
400
 
401
401
  ![JSON Files](https://img.shields.io/badge/JSON_Files-4-a16207?style=flat-square)
402
- ![JSON Lines](https://img.shields.io/badge/JSON_Lines-168-ca8a04?style=flat-square)
403
- ![JSON Objects](https://img.shields.io/badge/JSON_Objects-38-7c3aed?style=flat-square)
404
- ![JSON Arrays](https://img.shields.io/badge/JSON_Arrays-13-8b5cf6?style=flat-square)
405
- ![JSON Properties](https://img.shields.io/badge/JSON_Properties-105-0284c7?style=flat-square)
406
- ![JSON Strings](https://img.shields.io/badge/JSON_Strings-93-16a34a?style=flat-square)
402
+ ![JSON Lines](https://img.shields.io/badge/JSON_Lines-160-ca8a04?style=flat-square)
403
+ ![JSON Objects](https://img.shields.io/badge/JSON_Objects-37-7c3aed?style=flat-square)
404
+ ![JSON Arrays](https://img.shields.io/badge/JSON_Arrays-12-8b5cf6?style=flat-square)
405
+ ![JSON Properties](https://img.shields.io/badge/JSON_Properties-99-0284c7?style=flat-square)
406
+ ![JSON Strings](https://img.shields.io/badge/JSON_Strings-89-16a34a?style=flat-square)
407
407
  ![JSON Numbers](https://img.shields.io/badge/JSON_Numbers-1-059669?style=flat-square)
408
- ![JSON Booleans](https://img.shields.io/badge/JSON_Booleans-7-0ea5e9?style=flat-square)
408
+ ![JSON Booleans](https://img.shields.io/badge/JSON_Booleans-6-0ea5e9?style=flat-square)
409
409
  ![JSON Nulls](https://img.shields.io/badge/JSON_Nulls-0-64748b?style=flat-square)
410
- ![JSON Items](https://img.shields.io/badge/JSON_Items-43-475569?style=flat-square)
411
- ![JSON Nodes](https://img.shields.io/badge/JSON_Nodes-152-dc2626?style=flat-square)
410
+ ![JSON Items](https://img.shields.io/badge/JSON_Items-42-475569?style=flat-square)
411
+ ![JSON Nodes](https://img.shields.io/badge/JSON_Nodes-145-dc2626?style=flat-square)
412
412
  ![JSON Max Depth](https://img.shields.io/badge/JSON_Max_Depth-5-ea580c?style=flat-square)
413
413
 
414
414
  ### YAML
@@ -534,20 +534,20 @@ None.
534
534
  ### Markdown
535
535
 
536
536
  ![Markdown Files](https://img.shields.io/badge/Markdown_Files-2-083fa1?style=flat-square)
537
- ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-581-1f6feb?style=flat-square)
537
+ ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-593-1f6feb?style=flat-square)
538
538
  ![H1](https://img.shields.io/badge/H1-1-7c3aed?style=flat-square)
539
- ![H2](https://img.shields.io/badge/H2-50-8b5cf6?style=flat-square)
540
- ![H3](https://img.shields.io/badge/H3-59-a78bfa?style=flat-square)
539
+ ![H2](https://img.shields.io/badge/H2-51-8b5cf6?style=flat-square)
540
+ ![H3](https://img.shields.io/badge/H3-61-a78bfa?style=flat-square)
541
541
  ![H4](https://img.shields.io/badge/H4-0-c4b5fd?style=flat-square)
542
542
  ![H5](https://img.shields.io/badge/H5-0-ddd6fe?style=flat-square)
543
543
  ![H6](https://img.shields.io/badge/H6-0-ede9fe?style=flat-square)
544
- ![Paragraphs](https://img.shields.io/badge/Paragraphs-178-64748b?style=flat-square)
545
- ![Lists](https://img.shields.io/badge/Lists-53-16a34a?style=flat-square)
546
- ![List Items](https://img.shields.io/badge/List_Items-158-22c55e?style=flat-square)
544
+ ![Paragraphs](https://img.shields.io/badge/Paragraphs-182-64748b?style=flat-square)
545
+ ![Lists](https://img.shields.io/badge/Lists-55-16a34a?style=flat-square)
546
+ ![List Items](https://img.shields.io/badge/List_Items-162-22c55e?style=flat-square)
547
547
  ![Task List Items](https://img.shields.io/badge/Task_List_Items-0-4ade80?style=flat-square)
548
548
  ![Tables](https://img.shields.io/badge/Tables-2-0284c7?style=flat-square)
549
549
  ![Table Rows](https://img.shields.io/badge/Table_Rows-10-0ea5e9?style=flat-square)
550
- ![Links](https://img.shields.io/badge/Links-13-059669?style=flat-square)
550
+ ![Links](https://img.shields.io/badge/Links-14-059669?style=flat-square)
551
551
  ![Images](https://img.shields.io/badge/Images-0-10b981?style=flat-square)
552
552
  ![Code Blocks](https://img.shields.io/badge/Code_Blocks-11-dc2626?style=flat-square)
553
553
  ![Inline Code](https://img.shields.io/badge/Inline_Code-72-ef4444?style=flat-square)
package/dist/src/index.js CHANGED
@@ -6,21 +6,18 @@ import f from "ignore";
6
6
  import { ConfigurationModule as p, DEFAULT_INPUT_NAME as m, REPOSITORY_ROOT_MARKERS as ee } from "@codometer/configuration";
7
7
  import { LanguagesModule as te, LanguagesService as h } from "@codometer/languages";
8
8
  import { brotliCompressSync as ne, constants as re, gzipSync as g } from "node:zlib";
9
- //#endregion
10
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateMetadata.js
9
+ // \0@oxc-project+runtime@0.155.0/helpers/esm/decorateMetadata.js
11
10
  function __decorateMetadata(e, t) {
12
11
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
13
12
  }
14
- //#endregion
15
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
13
+ // \0@oxc-project+runtime@0.155.0/helpers/esm/decorate.js
16
14
  function __decorate(e, t, n, r) {
17
15
  var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
18
16
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
19
17
  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);
20
18
  return i > 3 && a && Object.defineProperty(t, n, a), a;
21
19
  }
22
- //#endregion
23
- //#region projects/ic-suite/codometer/codometer-measurement/src/modules/customization/customization.service.ts
20
+ // src/modules/customization/customization.service.ts
24
21
  var _ = class CustomizationService {
25
22
  constructor() {}
26
23
  buildCommentResult(e, t) {
@@ -76,8 +73,7 @@ var _ = class CustomizationService {
76
73
  }
77
74
  };
78
75
  _ = __decorate([n(), __decorateMetadata("design:paramtypes", [])], _);
79
- //#endregion
80
- //#region projects/ic-suite/codometer/codometer-measurement/src/modules/customization/customization.module.ts
76
+ // src/modules/customization/customization.module.ts
81
77
  var v = class CustomizationModule {};
82
78
  v = __decorate([r({
83
79
  controllers: [],
@@ -85,8 +81,7 @@ v = __decorate([r({
85
81
  imports: [],
86
82
  providers: [_]
87
83
  })], v);
88
- //#endregion
89
- //#region projects/common/observability/src/modules/logger/logger.constants.ts
84
+ // ../../../common/observability/src/modules/logger/logger.constants.ts
90
85
  var y = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\s+/u, b = /^([A-Za-z]+)/, ie = /* @__PURE__ */ new Set([
91
86
  "built",
92
87
  "cut",
@@ -248,8 +243,7 @@ var y = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\s
248
243
  }
249
244
  };
250
245
  S = x = __decorate([n({ scope: i.TRANSIENT }), __decorateMetadata("design:paramtypes", [])], S);
251
- //#endregion
252
- //#region projects/common/observability/src/modules/logger/logger.module.ts
246
+ // ../../../common/observability/src/modules/logger/logger.module.ts
253
247
  var C = class LoggerModule {};
254
248
  C = __decorate([t(), r({
255
249
  controllers: [],
@@ -314,8 +308,7 @@ var w = ".gitignore", T = /* @__PURE__ */ new Set([
314
308
  }
315
309
  };
316
310
  F = __decorate([n(), __decorateMetadata("design:paramtypes", [])], F);
317
- //#endregion
318
- //#region projects/ic-suite/codometer/codometer-measurement/src/modules/discovery/discovery.service.ts
311
+ // src/modules/discovery/discovery.service.ts
319
312
  var I, L = I = class DiscoveryService {
320
313
  ignoreRulesService;
321
314
  logger;
@@ -419,8 +412,7 @@ var I, L = I = class DiscoveryService {
419
412
  }
420
413
  };
421
414
  L = I = __decorate([n(), __decorateMetadata("design:paramtypes", [F === void 0 ? Object : F, S === void 0 ? Object : S])], L);
422
- //#endregion
423
- //#region projects/ic-suite/codometer/codometer-measurement/src/modules/discovery/discovery.module.ts
415
+ // src/modules/discovery/discovery.module.ts
424
416
  var R = class DiscoveryModule {};
425
417
  R = __decorate([r({
426
418
  controllers: [],
@@ -428,8 +420,7 @@ R = __decorate([r({
428
420
  imports: [C],
429
421
  providers: [L, F]
430
422
  })], R);
431
- //#endregion
432
- //#region projects/ic-suite/codometer/codometer-measurement/src/modules/inputs/inputs.constants.ts
423
+ // src/modules/inputs/inputs.constants.ts
433
424
  var z = /[!*+?@[\]{}()]/, InputOutsideRepositoryError = class extends Error {
434
425
  constructor(e, t, n) {
435
426
  super(`Input "${e}" starts at ${t}, which is outside ${n}. An input may reach out of the measured folder but not out of the repository holding it — write its directory relative to something inside.`), this.name = "InputOutsideRepositoryError";
@@ -527,8 +518,7 @@ var z = /[!*+?@[\]{}()]/, InputOutsideRepositoryError = class extends Error {
527
518
  }
528
519
  };
529
520
  V = B = __decorate([n(), __decorateMetadata("design:paramtypes", [S === void 0 ? Object : S])], V);
530
- //#endregion
531
- //#region projects/ic-suite/codometer/codometer-measurement/src/modules/inputs/inputs.module.ts
521
+ // src/modules/inputs/inputs.module.ts
532
522
  var H = class InputsModule {};
533
523
  H = __decorate([r({
534
524
  controllers: [],
@@ -536,8 +526,7 @@ H = __decorate([r({
536
526
  imports: [C],
537
527
  providers: [V]
538
528
  })], H);
539
- //#endregion
540
- //#region projects/ic-suite/codometer/codometer-measurement/src/modules/limits/limits.constants.ts
529
+ // src/modules/limits/limits.constants.ts
541
530
  var U = "files", W = "custom", G = "size", EmptyTargetError = class extends Error {
542
531
  constructor(e, t) {
543
532
  super(`Input "${e}" matched no files, and a limit is written against its "${t}" metric. A limit says the files are there, so an empty match is a glob that stopped matching or a build that never ran — not a measurement of zero.`), this.name = "EmptyTargetError";
@@ -634,8 +623,7 @@ var U = "files", W = "custom", G = "size", EmptyTargetError = class extends Erro
634
623
  }
635
624
  };
636
625
  K = __decorate([n(), __decorateMetadata("design:paramtypes", [])], K);
637
- //#endregion
638
- //#region projects/ic-suite/codometer/codometer-measurement/src/modules/limits/metric-index.service.ts
626
+ // src/modules/limits/metric-index.service.ts
639
627
  var q = class MetricIndexService {
640
628
  constructor() {}
641
629
  addMetric(e) {
@@ -697,8 +685,7 @@ var q = class MetricIndexService {
697
685
  }
698
686
  };
699
687
  q = __decorate([n(), __decorateMetadata("design:paramtypes", [])], q);
700
- //#endregion
701
- //#region projects/ic-suite/codometer/codometer-measurement/src/modules/limits/limits.module.ts
688
+ // src/modules/limits/limits.module.ts
702
689
  var J = class LimitsModule {};
703
690
  J = __decorate([r({
704
691
  controllers: [],
@@ -743,8 +730,7 @@ var ce = { params: { [re.BROTLI_PARAM_QUALITY]: 11 } }, UnreadableTargetFileErro
743
730
  }
744
731
  };
745
732
  X = Y = __decorate([n(), __decorateMetadata("design:paramtypes", [S === void 0 ? Object : S])], X);
746
- //#endregion
747
- //#region projects/ic-suite/codometer/codometer-measurement/src/modules/size/size.module.ts
733
+ // src/modules/size/size.module.ts
748
734
  var Z = class SizeModule {};
749
735
  Z = __decorate([r({
750
736
  controllers: [],
@@ -752,8 +738,7 @@ Z = __decorate([r({
752
738
  imports: [C],
753
739
  providers: [X]
754
740
  })], Z);
755
- //#endregion
756
- //#region projects/ic-suite/codometer/codometer-measurement/src/modules/measure/measure.constants.ts
741
+ // src/modules/measure/measure.constants.ts
757
742
  var le = {
758
743
  css: {
759
744
  atRules: 0,
@@ -1111,8 +1096,7 @@ Q = __decorate([n(), __decorateMetadata("design:paramtypes", [
1111
1096
  K === void 0 ? Object : K,
1112
1097
  q === void 0 ? Object : q
1113
1098
  ])], Q);
1114
- //#endregion
1115
- //#region projects/ic-suite/codometer/codometer-measurement/src/modules/measure/measure.module.ts
1099
+ // src/modules/measure/measure.module.ts
1116
1100
  var $ = class MeasureModule {};
1117
1101
  $ = __decorate([r({
1118
1102
  controllers: [],
@@ -1129,5 +1113,4 @@ $ = __decorate([r({
1129
1113
  ],
1130
1114
  providers: [Q]
1131
1115
  })], $);
1132
- //#endregion
1133
1116
  export { v as CustomizationModule, _ as CustomizationService, R as DiscoveryModule, L as DiscoveryService, EmptyTargetError, InputOutsideRepositoryError, H as InputsModule, V as InputsService, J as LimitsModule, K as LimitsService, $ as MeasureModule, Q as MeasureService, q as MetricIndexService, Z as SizeModule, X as SizeService, UnboundMetricError, UnreadableTargetFileError };
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/languages": "0.0.47",
7
+ "@codometer/configuration": "0.0.48",
8
+ "@codometer/core": "0.0.48",
9
+ "@codometer/languages": "0.0.48",
10
10
  "@nestjs/common": "^11.1.21 || ^12.0.1",
11
11
  "ignore": "7.0.13",
12
12
  "pino": "^10.3.1",
@@ -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
  }