@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 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
+ [![npm](https://img.shields.io/npm/v/@codometer/cli?logo=npm&label=npm)](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/logger && codometer --check limits
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/logger | `Compiled JavaScript.size`| — | fail | 12.00 kB | `packages/logger/codometer.config.ts`|
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
- ![Lines of Code](https://img.shields.io/badge/Lines_of_Code-3336-22c55e?style=flat-square)
448
- ![Repository Size](https://img.shields.io/badge/Repository_Size-116.60_kB-6b7280?style=flat-square)
449
+ ![Lines of Code](https://img.shields.io/badge/Lines_of_Code-3346-22c55e?style=flat-square)
450
+ ![Repository Size](https://img.shields.io/badge/Repository_Size-117.20_kB-6b7280?style=flat-square)
449
451
  ![Folders](https://img.shields.io/badge/Folders-6-4a4a4a?style=flat-square)
450
452
  ![Source Files](https://img.shields.io/badge/Source_Files-35-3178c6?style=flat-square)
451
453
 
452
454
  ### Measured Targets
453
455
 
454
- ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-6.13_kB_gzip-6b7280?style=flat-square)
456
+ ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-6.14_kB_gzip-6b7280?style=flat-square)
455
457
 
456
458
  ### TypeScript
457
459
 
@@ -498,16 +500,16 @@ named `<!-- codometer:start -->
498
500
  ### JSON
499
501
 
500
502
  ![JSON Files](https://img.shields.io/badge/JSON_Files-4-a16207?style=flat-square)
501
- ![JSON Lines](https://img.shields.io/badge/JSON_Lines-193-ca8a04?style=flat-square)
503
+ ![JSON Lines](https://img.shields.io/badge/JSON_Lines-194-ca8a04?style=flat-square)
502
504
  ![JSON Objects](https://img.shields.io/badge/JSON_Objects-43-7c3aed?style=flat-square)
503
505
  ![JSON Arrays](https://img.shields.io/badge/JSON_Arrays-13-8b5cf6?style=flat-square)
504
506
  ![JSON Properties](https://img.shields.io/badge/JSON_Properties-124-0284c7?style=flat-square)
505
- ![JSON Strings](https://img.shields.io/badge/JSON_Strings-107-16a34a?style=flat-square)
507
+ ![JSON Strings](https://img.shields.io/badge/JSON_Strings-108-16a34a?style=flat-square)
506
508
  ![JSON Numbers](https://img.shields.io/badge/JSON_Numbers-1-059669?style=flat-square)
507
509
  ![JSON Booleans](https://img.shields.io/badge/JSON_Booleans-8-0ea5e9?style=flat-square)
508
510
  ![JSON Nulls](https://img.shields.io/badge/JSON_Nulls-0-64748b?style=flat-square)
509
- ![JSON Items](https://img.shields.io/badge/JSON_Items-44-475569?style=flat-square)
510
- ![JSON Nodes](https://img.shields.io/badge/JSON_Nodes-172-dc2626?style=flat-square)
511
+ ![JSON Items](https://img.shields.io/badge/JSON_Items-45-475569?style=flat-square)
512
+ ![JSON Nodes](https://img.shields.io/badge/JSON_Nodes-173-dc2626?style=flat-square)
511
513
  ![JSON Max Depth](https://img.shields.io/badge/JSON_Max_Depth-6-ea580c?style=flat-square)
512
514
 
513
515
  ### YAML
@@ -632,21 +634,21 @@ named `<!-- codometer:start -->
632
634
 
633
635
  ### Markdown
634
636
 
635
- ![Markdown Files](https://img.shields.io/badge/Markdown_Files-1-083fa1?style=flat-square)
636
- ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-247-1f6feb?style=flat-square)
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-259-1f6feb?style=flat-square)
637
639
  ![H1](https://img.shields.io/badge/H1-1-7c3aed?style=flat-square)
638
- ![H2](https://img.shields.io/badge/H2-7-8b5cf6?style=flat-square)
639
- ![H3](https://img.shields.io/badge/H3-14-a78bfa?style=flat-square)
640
+ ![H2](https://img.shields.io/badge/H2-8-8b5cf6?style=flat-square)
641
+ ![H3](https://img.shields.io/badge/H3-16-a78bfa?style=flat-square)
640
642
  ![H4](https://img.shields.io/badge/H4-0-c4b5fd?style=flat-square)
641
643
  ![H5](https://img.shields.io/badge/H5-0-ddd6fe?style=flat-square)
642
644
  ![H6](https://img.shields.io/badge/H6-0-ede9fe?style=flat-square)
643
- ![Paragraphs](https://img.shields.io/badge/Paragraphs-49-64748b?style=flat-square)
644
- ![Lists](https://img.shields.io/badge/Lists-6-16a34a?style=flat-square)
645
- ![List Items](https://img.shields.io/badge/List_Items-28-22c55e?style=flat-square)
645
+ ![Paragraphs](https://img.shields.io/badge/Paragraphs-54-64748b?style=flat-square)
646
+ ![Lists](https://img.shields.io/badge/Lists-8-16a34a?style=flat-square)
647
+ ![List Items](https://img.shields.io/badge/List_Items-33-22c55e?style=flat-square)
646
648
  ![Task List Items](https://img.shields.io/badge/Task_List_Items-0-4ade80?style=flat-square)
647
649
  ![Tables](https://img.shields.io/badge/Tables-2-0284c7?style=flat-square)
648
650
  ![Table Rows](https://img.shields.io/badge/Table_Rows-10-0ea5e9?style=flat-square)
649
- ![Links](https://img.shields.io/badge/Links-9-059669?style=flat-square)
651
+ ![Links](https://img.shields.io/badge/Links-10-059669?style=flat-square)
650
652
  ![Images](https://img.shields.io/badge/Images-0-10b981?style=flat-square)
651
653
  ![Code Blocks](https://img.shields.io/badge/Code_Blocks-13-dc2626?style=flat-square)
652
654
  ![Inline Code](https://img.shields.io/badge/Inline_Code-78-ef4444?style=flat-square)
@@ -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
- logger["logger"]
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 --> logger
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/logger/src/modules/logger/logger.constants.ts
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/logger/src/modules/logger/logger.service.ts
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/logger/src/modules/logger/logger.module.ts
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-_z85wgY7.js";
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-_z85wgY7.js";
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/Organizzolini/codebase/issues"
7
+ "url": "https://github.com/organizzolini/codebase/issues"
8
8
  },
9
9
  "dependencies": {
10
- "@codometer/configuration": "0.0.1",
11
- "@codometer/core": "0.0.1",
12
- "@codometer/measurement": "0.0.1",
13
- "@codometer/output": "0.0.1",
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/logger": "0.0.1",
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/Organizzolini/codebase/tree/main/packages/ic-suite/codometer/codometer-cli#readme",
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/Organizzolini/codebase.git"
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.1"
77
+ "version": "0.0.5"
77
78
  }