repometry 0.8.0 → 0.8.1

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.
Files changed (2) hide show
  1. package/README.md +23 -23
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,37 +15,37 @@
15
15
 
16
16
  Git can serve as a project’s single source of truth for code, tests, docs, and CI configuration. Repometry lets you keep coverage and maintainability metrics alongside your code, commit by commit.
17
17
 
18
- ## Requirements
18
+ ## Demo
19
+ [https://idleware.github.io/repometry/](https://idleware.github.io/repometry/)
19
20
 
20
- Node.js 24 or newer.
21
+ ## Requirements
21
22
 
22
- ## Usage
23
+ Node.js >=24
23
24
 
24
- Run these commands in your repository.
25
+ ## Install
25
26
 
26
27
  ```sh
27
- # Analyze HEAD and save its inspection under .repometry/.
28
- npx repometry analyze
29
-
30
- # Build history for the last 50 commits, oldest first, skipping saved inspections.
31
- npx repometry analyze HEAD~50..HEAD --skip-saved
32
-
33
- # Import coverage and scanner results. Repeat --import for each file.
34
- npx repometry analyze --import lcov=coverage/lcov.info --import sarif=results.sarif
28
+ # Run without installing.
29
+ npx repometry help
35
30
 
36
- # Open the report locally on a free port. Use --port 3030 to choose a port.
37
- npx repometry view
38
-
39
- # Export a static report to .repometry/report/html. Use -o DIR for another folder.
40
- npx repometry report html
31
+ # Or install the repometry command.
32
+ npm install --global repometry
33
+ ```
41
34
 
42
- # Check saved inspections. --repair restores missing data from a copy.
43
- npx repometry store check --repair --from git:repometry
35
+ ## Usage
44
36
 
45
- # List supported formats and get help for a command.
46
- npx repometry plugins
47
- npx repometry help analyze
48
- ```
37
+ Run these commands in your repository. Without an install, start each with `npx`.
38
+
39
+ | Command | What it does |
40
+ | --- | --- |
41
+ | `repometry analyze` | Analyze HEAD and save its inspection under `.repometry/`. |
42
+ | `repometry analyze HEAD~50..HEAD --skip-saved` | Build history for the last 50 commits, oldest first, skipping saved inspections. |
43
+ | `repometry analyze --import lcov=coverage/lcov.info --import sarif=results.sarif` | Import coverage and scanner results. Repeat `--import` for each file. |
44
+ | `repometry view` | Open the report locally on a free port. Use `--port 3030` to choose a port. |
45
+ | `repometry report html` | Export a static report to `.repometry/report/html`. Use `-o DIR` for another folder. |
46
+ | `repometry store check --repair --from git:repometry` | Check saved inspections. `--repair` restores missing data from a copy. |
47
+ | `repometry plugins` | List supported formats. |
48
+ | `repometry help analyze` | Get help for a command. |
49
49
 
50
50
  A report shows everything the store holds, so publish it only where you would publish that data.
51
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repometry",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Track repository metrics without SaaS",
5
5
  "license": "MIT",
6
6
  "repository": {