complexity-guard 0.5.0 → 0.6.0

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 +2 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -54,7 +54,7 @@ Top Halstead volume hotspots:
54
54
  - **Halstead Metrics**: Information-theoretic vocabulary density, volume, difficulty, effort, and estimated bugs
55
55
  - **Structural Metrics**: Function length, parameter count, nesting depth, file length, and export count
56
56
  - **Composite Health Score**: Single 0–100 score combining all metric families with configurable weights — enforce in CI with `--fail-health-below`
57
- - **Console + JSON + SARIF Output**: Human-readable terminal display, machine-readable JSON, and SARIF 2.1.0 for GitHub Code Scanning inline complexity annotations on PR diffs
57
+ - **Console + JSON + SARIF + HTML Output**: Human-readable terminal display, machine-readable JSON, SARIF 2.1.0 for GitHub Code Scanning, and self-contained HTML reports with interactive dashboard, treemap visualization, and sortable metric tables
58
58
  - **Configurable Thresholds**: Warning and error levels for all four metric families, customizable per project
59
59
  - **Selective Metrics**: Use `--metrics cyclomatic,halstead` to compute only specific families
60
60
  - **Zero Config**: Works out of the box with sensible defaults, optional `.complexityguard.json` for customization
@@ -94,6 +94,7 @@ Create a `.complexityguard.json` file in your project root to customize behavior
94
94
  - [GitHub](https://github.com/benvds/complexity-guard)
95
95
  - [Documentation](https://github.com/benvds/complexity-guard#documentation)
96
96
  - [SARIF Output / GitHub Code Scanning](https://github.com/benvds/complexity-guard/blob/main/docs/sarif-output.md)
97
+ - [HTML Reports](https://github.com/benvds/complexity-guard/blob/main/docs/examples.md#html-reports)
97
98
 
98
99
  ## License
99
100
 
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "Ben van de Sande",
5
5
  "email": "info@getlean.digital"
6
6
  },
7
- "version": "0.5.0",
7
+ "version": "0.6.0",
8
8
  "description": "Fast complexity analysis for TypeScript/JavaScript — single static binary",
9
9
  "bin": {
10
10
  "complexity-guard": "bin/complexity-guard.js"
@@ -13,11 +13,11 @@
13
13
  "bin/"
14
14
  ],
15
15
  "optionalDependencies": {
16
- "@complexity-guard/darwin-arm64": "0.5.0",
17
- "@complexity-guard/darwin-x64": "0.5.0",
18
- "@complexity-guard/linux-arm64": "0.5.0",
19
- "@complexity-guard/linux-x64": "0.5.0",
20
- "@complexity-guard/windows-x64": "0.5.0"
16
+ "@complexity-guard/darwin-arm64": "0.6.0",
17
+ "@complexity-guard/darwin-x64": "0.6.0",
18
+ "@complexity-guard/linux-arm64": "0.6.0",
19
+ "@complexity-guard/linux-x64": "0.6.0",
20
+ "@complexity-guard/windows-x64": "0.6.0"
21
21
  },
22
22
  "license": "MIT",
23
23
  "repository": {