qualink 0.0.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.
- package/README.md +29 -0
- package/bin/qualink.js +3 -0
- package/package.json +26 -0
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# qualink
|
|
2
|
+
|
|
3
|
+
Collect, normalize, and relay code quality metrics from CI.
|
|
4
|
+
|
|
5
|
+
## Why
|
|
6
|
+
|
|
7
|
+
`qualink` standardizes code quality telemetry across repos and languages, then ships it to a sink (Elastic first).
|
|
8
|
+
|
|
9
|
+
## Scope (v1)
|
|
10
|
+
|
|
11
|
+
- Frontend: ESLint, Lighthouse, Vitest coverage
|
|
12
|
+
- Backend: Roslyn analyzers (SARIF), .NET coverage
|
|
13
|
+
- CI: Azure DevOps
|
|
14
|
+
- Sink: Elasticsearch
|
|
15
|
+
|
|
16
|
+
## CLI shape
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
qualink collect <collector> --input <path> --sink elastic [flags]
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Examples:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
qualink collect eslint --input eslint-report.json --sink elastic --repo frontend-mono --team frontend --branch main --commit-sha abc123 --pipeline-run-id 987
|
|
26
|
+
qualink collect sarif --input analyzers.sarif --sink elastic --repo backend-api --team backend --branch main --commit-sha def456 --pipeline-run-id 654
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
See `ADR-qualink-v1.md` for the full architecture and rollout plan.
|
package/bin/qualink.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "qualink",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Collect, normalize, and relay code quality metrics from CI",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"qualink": "bin/qualink.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"bin",
|
|
12
|
+
"README.md"
|
|
13
|
+
],
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=20"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"start": "node ./bin/qualink.js"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"ci",
|
|
22
|
+
"code-quality",
|
|
23
|
+
"elastic",
|
|
24
|
+
"metrics"
|
|
25
|
+
]
|
|
26
|
+
}
|