@vibecodeqa/cli 0.9.0 → 0.9.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 +10 -10
- package/dist/cli.js +2 -2
- package/dist/report/html.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
#
|
|
1
|
+
# VibeCode QA
|
|
2
2
|
|
|
3
3
|
**Code health scanner for the AI coding era.**
|
|
4
4
|
|
|
5
5
|
One command. 15 checks. Full report. Zero config.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx
|
|
8
|
+
npx @vibecodeqa/cli
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
  
|
|
12
12
|
|
|
13
13
|
## What it does
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
vcqa scans your TypeScript/JavaScript codebase and produces a scored health report with actionable findings. It auto-detects your stack (React, Vite, vitest, Biome, etc.) and runs 15 checks across 6 categories.
|
|
16
16
|
|
|
17
17
|
The output is a self-contained HTML report with radar charts, architecture diagrams, file heatmaps, and drill-down issue lists — all navigable via sidebar and tab navigation.
|
|
18
18
|
|
|
@@ -20,19 +20,19 @@ The output is a self-contained HTML report with radar charts, architecture diagr
|
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
22
|
# Scan current directory (runs tests + coverage)
|
|
23
|
-
npx
|
|
23
|
+
npx @vibecodeqa/cli
|
|
24
24
|
|
|
25
25
|
# Fast mode (skip test execution)
|
|
26
|
-
npx
|
|
26
|
+
npx @vibecodeqa/cli --skip-tests
|
|
27
27
|
|
|
28
28
|
# CI mode (exit code 1 if score < 60)
|
|
29
|
-
npx
|
|
29
|
+
npx @vibecodeqa/cli --ci
|
|
30
30
|
|
|
31
31
|
# JSON output (pipe to other tools)
|
|
32
|
-
npx
|
|
32
|
+
npx @vibecodeqa/cli --json
|
|
33
33
|
|
|
34
34
|
# Scan a specific directory
|
|
35
|
-
npx
|
|
35
|
+
npx @vibecodeqa/cli /path/to/project
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
Output goes to `.vibe-check/`:
|
|
@@ -123,7 +123,7 @@ Each check produces a score from 0-100. The composite score is a weighted averag
|
|
|
123
123
|
|
|
124
124
|
## Trend tracking
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
vcqa reads the previous `.vibe-check/report.json` on each run and shows:
|
|
127
127
|
- Score change (↑ improved / ↓ declined)
|
|
128
128
|
- Per-check deltas
|
|
129
129
|
- New vs. fixed issue counts
|
|
@@ -170,5 +170,5 @@ MIT — Free forever as a CLI tool.
|
|
|
170
170
|
## Links
|
|
171
171
|
|
|
172
172
|
- **GitHub:** https://github.com/freeappstore-online/vibe-check
|
|
173
|
-
- **Website:** https://
|
|
173
|
+
- **Website:** https://vibecodeqa.online
|
|
174
174
|
- **Issues:** https://github.com/freeappstore-online/vibe-check/issues
|
package/dist/cli.js
CHANGED
|
@@ -22,7 +22,7 @@ import { runTypeSafety } from "./runners/type-safety.js";
|
|
|
22
22
|
import { computeScore } from "./score.js";
|
|
23
23
|
import { computeTrend, formatTrend } from "./trend.js";
|
|
24
24
|
import { gradeFromScore } from "./types.js";
|
|
25
|
-
const VERSION = "0.9.
|
|
25
|
+
const VERSION = "0.9.1";
|
|
26
26
|
const args = process.argv.slice(2);
|
|
27
27
|
const flags = new Set(args.filter((a) => a.startsWith("--")));
|
|
28
28
|
const cwd = resolve(args.find((a) => !a.startsWith("--")) || ".");
|
|
@@ -41,7 +41,7 @@ async function main() {
|
|
|
41
41
|
const start = Date.now();
|
|
42
42
|
if (!jsonOnly) {
|
|
43
43
|
console.log("");
|
|
44
|
-
console.log(" \x1b[
|
|
44
|
+
console.log(" \x1b[1m\x1b[38;5;141mvcqa\x1b[0m v" + VERSION);
|
|
45
45
|
console.log(" \x1b[2m" + cwd + "\x1b[0m");
|
|
46
46
|
console.log("");
|
|
47
47
|
}
|
package/dist/report/html.js
CHANGED
|
@@ -192,7 +192,7 @@ ${fileRows || '<p style="color:var(--muted)">No file-level issues found.</p>'}
|
|
|
192
192
|
<head>
|
|
193
193
|
<meta charset="utf-8">
|
|
194
194
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
195
|
-
<title>
|
|
195
|
+
<title>VibeCode QA — ${e(proj)}</title>
|
|
196
196
|
<style>
|
|
197
197
|
:root{--bg:#09090b;--card:#111115;--border:#1e1e24;--text:#e5e5e5;--muted:#6b7280;--pass:#22c55e;--fail:#ef4444;--warn:#eab308;--info:#6366f1;--accent:#818cf8}
|
|
198
198
|
*{margin:0;padding:0;box-sizing:border-box}
|
|
@@ -318,7 +318,7 @@ h3{font-size:0.85rem;color:var(--muted);text-transform:uppercase;letter-spacing:
|
|
|
318
318
|
<body>
|
|
319
319
|
|
|
320
320
|
<nav class="top">
|
|
321
|
-
<div class="logo"><span>
|
|
321
|
+
<div class="logo"><span>VibeCode</span> QA</div>
|
|
322
322
|
${topNav}
|
|
323
323
|
</nav>
|
|
324
324
|
|
|
@@ -338,7 +338,7 @@ h3{font-size:0.85rem;color:var(--muted);text-transform:uppercase;letter-spacing:
|
|
|
338
338
|
${catPages}
|
|
339
339
|
${issuesPage}
|
|
340
340
|
${filesPage}
|
|
341
|
-
<div class="footer">Generated by <a href="https://
|
|
341
|
+
<div class="footer">Generated by <a href="https://vibecodeqa.online">VibeCode QA</a> v${report.version} — <code>npx @vibecodeqa/cli</code></div>
|
|
342
342
|
</div>
|
|
343
343
|
|
|
344
344
|
<script>
|