@vibecodeqa/cli 0.20.1 → 0.21.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.
|
@@ -278,13 +278,16 @@ export function runBestPractices(cwd) {
|
|
|
278
278
|
issues.push({ severity: "info", message: "No commit convention enforcement (commitlint/changesets) — changelog generation is manual", rule: "conventional-commits" });
|
|
279
279
|
}
|
|
280
280
|
// ── 9. Monitoring & Observability ──
|
|
281
|
-
// Error tracking (Sentry, Bugsnag, etc.)
|
|
282
|
-
|
|
283
|
-
if (
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
281
|
+
// Error tracking (Sentry, Bugsnag, etc.) — only for apps/servers, not CLI tools
|
|
282
|
+
const isApp = deps.react || deps.vue || deps.svelte || deps.express || deps.fastify || deps.hono || deps.next || deps.nuxt;
|
|
283
|
+
if (isApp) {
|
|
284
|
+
practices++;
|
|
285
|
+
if (deps["@sentry/node"] || deps["@sentry/react"] || deps["@sentry/browser"] || deps.bugsnag || deps["@bugsnag/js"]) {
|
|
286
|
+
followed++;
|
|
287
|
+
}
|
|
288
|
+
else {
|
|
289
|
+
issues.push({ severity: "info", message: "No error tracking (Sentry/Bugsnag) — production errors may go unnoticed", rule: "error-tracking" });
|
|
290
|
+
}
|
|
288
291
|
}
|
|
289
292
|
// ── 10. API & Configuration ──
|
|
290
293
|
// Environment validation (zod, joi, envalid)
|