@codometer/output 0.0.47 → 0.0.49
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 +17 -17
- package/dist/src/index.js +28 -56
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## 0.0.49 (2026-10-26)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated codometer-configuration to 0.0.49
|
|
6
|
+
- Updated codometer-measurement to 0.0.49
|
|
7
|
+
- Updated codometer-core to 0.0.49
|
|
8
|
+
|
|
9
|
+
## 0.0.48 (2026-10-24)
|
|
10
|
+
|
|
11
|
+
### 📦 Build
|
|
12
|
+
|
|
13
|
+
- **ic-suite,presentation:** 👷 infer the vite build target instead of @nx/vite:build ([#1823](https://github.com/organizzolini/codebase/pull/1823))
|
|
14
|
+
|
|
15
|
+
### 🧱 Updated Dependencies
|
|
16
|
+
|
|
17
|
+
- Updated codometer-configuration to 0.0.48
|
|
18
|
+
- Updated codometer-measurement to 0.0.48
|
|
19
|
+
- Updated codometer-core to 0.0.48
|
|
20
|
+
|
|
1
21
|
## 0.0.47 (2026-10-23)
|
|
2
22
|
|
|
3
23
|
### 🧱 Updated Dependencies
|
package/README.md
CHANGED
|
@@ -369,13 +369,13 @@ graph LR
|
|
|
369
369
|
### Project
|
|
370
370
|
|
|
371
371
|

|
|
372
|
-

|
|
373
373
|

|
|
374
374
|

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

|
|
379
379
|
|
|
380
380
|
### TypeScript
|
|
381
381
|
|
|
@@ -422,16 +422,16 @@ graph LR
|
|
|
422
422
|
### JSON
|
|
423
423
|
|
|
424
424
|

|
|
425
|
-

|
|
426
|
+

|
|
427
|
+

|
|
428
|
+

|
|
429
|
+

|
|
430
430
|

|
|
431
|
-

|
|
432
432
|

|
|
433
|
-

|
|
434
|
+

|
|
435
435
|

|
|
436
436
|
|
|
437
437
|
### YAML
|
|
@@ -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.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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 `}-${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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
8
|
-
"@codometer/core": "0.0.
|
|
9
|
-
"@codometer/measurement": "0.0.
|
|
7
|
+
"@codometer/configuration": "0.0.49",
|
|
8
|
+
"@codometer/core": "0.0.49",
|
|
9
|
+
"@codometer/measurement": "0.0.49",
|
|
10
10
|
"@nestjs/common": "^11.1.21 || ^12.0.1",
|
|
11
11
|
"pino": "^10.3.1",
|
|
12
12
|
"pino-pretty": "^13.1.3",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@codebase/observability": "0.0.1",
|
|
19
19
|
"@golevelup/ts-vitest": "^4.0.0",
|
|
20
20
|
"@nestjs/testing": "^12.0.1",
|
|
21
|
-
"@nx/eslint-plugin": "^
|
|
21
|
+
"@nx/eslint-plugin": "^24.0.0",
|
|
22
22
|
"@swc/helpers": "^0.5.21",
|
|
23
23
|
"@types/node": "^26.5.1",
|
|
24
24
|
"@vitest/coverage-v8": "^5.0.0",
|
|
@@ -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.49"
|
|
67
67
|
}
|