@codometer/cli 0.0.1 → 0.0.5
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 +12 -0
- package/README.md +21 -19
- package/dist/{main.module-_z85wgY7.js → main.module-BYCq9uc_.js} +3 -3
- package/dist/src/index.js +1 -1
- package/dist/src/main.js +1 -1
- package/package.json +10 -9
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
## 0.0.5 (2026-10-06)
|
|
2
|
+
|
|
3
|
+
### 💅 Refactors
|
|
4
|
+
|
|
5
|
+
- **ic-suite:** ♻️ rename @codebase/logger to @codebase/logging ([#1208](https://github.com/organizzolini/codebase/pull/1208))
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated codometer-configuration to 0.0.5
|
|
10
|
+
- Updated codometer-measurement to 0.0.5
|
|
11
|
+
- Updated codometer-output to 0.0.5
|
|
12
|
+
- Updated codometer-core to 0.0.5
|
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# ⏲️ Codometer
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@codometer/cli)
|
|
4
|
+
|
|
3
5
|
**Measure a repository and report what it found.**
|
|
4
6
|
|
|
5
7
|
Codometer walks a directory, parses everything it recognizes, and writes
|
|
@@ -112,7 +114,7 @@ measured — its own sources, and whatever inputs the configuration declares for
|
|
|
112
114
|
it:
|
|
113
115
|
|
|
114
116
|
```bash
|
|
115
|
-
cd packages/
|
|
117
|
+
cd packages/logging && codometer --check limits
|
|
116
118
|
```
|
|
117
119
|
|
|
118
120
|
With no `--config`, the configuration is found by walking upward from that
|
|
@@ -277,7 +279,7 @@ codometer configuration --limits
|
|
|
277
279
|
```text
|
|
278
280
|
| Directory | Metric | Label | Severity | Value | Declared in |
|
|
279
281
|
| --- | --- | --- | --- | --- | --- |
|
|
280
|
-
| packages/
|
|
282
|
+
| packages/logging | `Compiled JavaScript.size`| — | fail | 12.00 kB | `packages/logging/codometer.config.ts`|
|
|
281
283
|
```
|
|
282
284
|
|
|
283
285
|
It walks for every configuration file beneath the directory it is given — in
|
|
@@ -444,14 +446,14 @@ named `<!-- codometer:start -->
|
|
|
444
446
|
|
|
445
447
|
### Project
|
|
446
448
|
|
|
447
|
-

|
|
450
|
+

|
|
449
451
|

|
|
450
452
|

|
|
451
453
|
|
|
452
454
|
### Measured Targets
|
|
453
455
|
|
|
454
|
-

|
|
455
457
|
|
|
456
458
|
### TypeScript
|
|
457
459
|
|
|
@@ -498,16 +500,16 @@ named `<!-- codometer:start -->
|
|
|
498
500
|
### JSON
|
|
499
501
|
|
|
500
502
|

|
|
501
|
-

|
|
502
504
|

|
|
503
505
|

|
|
504
506
|

|
|
505
|
-

|
|
506
508
|

|
|
507
509
|

|
|
508
510
|

|
|
509
|
-

|
|
512
|
+

|
|
511
513
|

|
|
512
514
|
|
|
513
515
|
### YAML
|
|
@@ -632,21 +634,21 @@ named `<!-- codometer:start -->
|
|
|
632
634
|
|
|
633
635
|
### Markdown
|
|
634
636
|
|
|
635
|
-

|
|
638
|
+

|
|
637
639
|

|
|
638
|
-

|
|
641
|
+

|
|
640
642
|

|
|
641
643
|

|
|
642
644
|

|
|
643
|
-

|
|
646
|
+

|
|
647
|
+

|
|
646
648
|

|
|
647
649
|

|
|
648
650
|

|
|
649
|
-

|
|
650
652
|

|
|
651
653
|

|
|
652
654
|

|
|
@@ -1093,12 +1095,12 @@ graph LR
|
|
|
1093
1095
|
codometer_examples["codometer-examples"]
|
|
1094
1096
|
codometer_measurement["codometer-measurement"]
|
|
1095
1097
|
codometer_output["codometer-output"]
|
|
1096
|
-
|
|
1098
|
+
logging["logging"]
|
|
1097
1099
|
codometer_cli --> codometer_configuration
|
|
1098
1100
|
codometer_cli --> codometer_core
|
|
1099
1101
|
codometer_cli --> codometer_measurement
|
|
1100
1102
|
codometer_cli --> codometer_output
|
|
1101
|
-
codometer_cli -->
|
|
1103
|
+
codometer_cli --> logging
|
|
1102
1104
|
codometer_examples -.-> codometer_cli
|
|
1103
1105
|
classDef subject fill:#7c3aed,color:#fff,stroke:#4c1d95,stroke-width:2px
|
|
1104
1106
|
class codometer_cli subject
|
|
@@ -9,7 +9,7 @@ import A from "node:path";
|
|
|
9
9
|
import j from "pino";
|
|
10
10
|
import { z as M } from "zod";
|
|
11
11
|
import { Command as N, CommandRunner as P, Option as F } from "nest-commander";
|
|
12
|
-
//#region packages/
|
|
12
|
+
//#region packages/logging/src/modules/logger/logger.constants.ts
|
|
13
13
|
var re = /^(\p{Extended_Pictographic}️?(?:\p{Extended_Pictographic}️?)*)\s+/u, ie = /^([A-Za-z]+)/, ae = /* @__PURE__ */ new Set([
|
|
14
14
|
"built",
|
|
15
15
|
"cut",
|
|
@@ -53,7 +53,7 @@ function L(e, t, n, r) {
|
|
|
53
53
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
54
54
|
}
|
|
55
55
|
//#endregion
|
|
56
|
-
//#region packages/
|
|
56
|
+
//#region packages/logging/src/modules/logger/logger.service.ts
|
|
57
57
|
var R, z = class extends te {
|
|
58
58
|
static {
|
|
59
59
|
R = this;
|
|
@@ -192,7 +192,7 @@ var R, z = class extends te {
|
|
|
192
192
|
};
|
|
193
193
|
z = R = L([C({ scope: T.TRANSIENT }), I("design:paramtypes", [])], z);
|
|
194
194
|
//#endregion
|
|
195
|
-
//#region packages/
|
|
195
|
+
//#region packages/logging/src/modules/logger/logger.module.ts
|
|
196
196
|
var B = class {};
|
|
197
197
|
B = L([ne(), w({
|
|
198
198
|
controllers: [],
|
package/dist/src/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../main.module-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../main.module-BYCq9uc_.js";
|
|
2
2
|
export { a as ChangesCommand, r as ChangesModule, e as ConfigurationCommand, t as ConfigurationModule, o as MainModule, i as MeasureCommand, n as MeasureModule };
|
package/dist/src/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { c as e, t } from "../main.module-
|
|
2
|
+
import { c as e, t } from "../main.module-BYCq9uc_.js";
|
|
3
3
|
import { CommandFactory as n } from "nest-commander";
|
|
4
4
|
import "reflect-metadata";
|
|
5
5
|
//#region packages/ic-suite/codometer/codometer-cli/src/main.utilities.ts
|
package/package.json
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
"codometer": "./dist/src/main.js"
|
|
5
5
|
},
|
|
6
6
|
"bugs": {
|
|
7
|
-
"url": "https://github.com/
|
|
7
|
+
"url": "https://github.com/organizzolini/codebase/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@codometer/configuration": "0.0.
|
|
11
|
-
"@codometer/core": "0.0.
|
|
12
|
-
"@codometer/measurement": "0.0.
|
|
13
|
-
"@codometer/output": "0.0.
|
|
10
|
+
"@codometer/configuration": "0.0.5",
|
|
11
|
+
"@codometer/core": "0.0.5",
|
|
12
|
+
"@codometer/measurement": "0.0.5",
|
|
13
|
+
"@codometer/output": "0.0.5",
|
|
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",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"description": "Command-line tool for measuring repository size, counts, and comments against configured limits",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@codebase/
|
|
25
|
+
"@codebase/logging": "0.0.1",
|
|
26
26
|
"@golevelup/ts-vitest": "^4.0.0",
|
|
27
27
|
"@nestjs/testing": "^12.0.1",
|
|
28
28
|
"@nx/eslint-plugin": "^23.0.0",
|
|
@@ -42,11 +42,12 @@
|
|
|
42
42
|
"./package.json": "./package.json"
|
|
43
43
|
},
|
|
44
44
|
"files": [
|
|
45
|
+
"CHANGELOG.md",
|
|
45
46
|
"dist",
|
|
46
47
|
"LICENSE",
|
|
47
48
|
"README.md"
|
|
48
49
|
],
|
|
49
|
-
"homepage": "https://github.com/
|
|
50
|
+
"homepage": "https://github.com/organizzolini/codebase/tree/main/packages/ic-suite/codometer/codometer-cli#readme",
|
|
50
51
|
"keywords": [
|
|
51
52
|
"budgets",
|
|
52
53
|
"cli",
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
"repository": {
|
|
66
67
|
"directory": "packages/ic-suite/codometer/codometer-cli",
|
|
67
68
|
"type": "git",
|
|
68
|
-
"url": "git+https://github.com/
|
|
69
|
+
"url": "git+https://github.com/organizzolini/codebase.git"
|
|
69
70
|
},
|
|
70
71
|
"type": "module",
|
|
71
72
|
"typeCoverage": {
|
|
@@ -73,5 +74,5 @@
|
|
|
73
74
|
"strict": true
|
|
74
75
|
},
|
|
75
76
|
"types": "./dist/src/index.d.ts",
|
|
76
|
-
"version": "0.0.
|
|
77
|
+
"version": "0.0.5"
|
|
77
78
|
}
|