@barney-media/cognitive-typescript 0.2.0 → 0.2.2

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 +5 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -56,7 +56,11 @@ Primary formats:
56
56
 
57
57
  The CLI is pure static analysis. It does not execute tests, collect coverage, or compute CRAP scores.
58
58
 
59
- `--junit-report` is opt-in on the CLI. Both `--output` and `--junit-report` must stay inside the project root and must target files rather than the project root, filesystem roots, or existing directories.
59
+ `--junit-report` is opt-in on the CLI. JUnit testcases include GitLab-visible
60
+ metric details in `name` as `method:lineStart [CC=complexity]` and in
61
+ testcase-level `system-out`. Both `--output` and `--junit-report` must stay
62
+ inside the project root and must target files rather than the project root,
63
+ filesystem roots, or existing directories.
60
64
 
61
65
  ## Exit Codes
62
66
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barney-media/cognitive-typescript",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "CLI for Cognitive Complexity analysis in TypeScript projects.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Fabian Barney (https://github.com/fabian-barney)",
@@ -42,6 +42,6 @@
42
42
  "node": ">=22.13.0"
43
43
  },
44
44
  "dependencies": {
45
- "@barney-media/cognitive-typescript-core": "^0.2.0"
45
+ "@barney-media/cognitive-typescript-core": "^0.2.1"
46
46
  }
47
47
  }