@nebulord/sickbay 0.1.0 → 1.2.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/dist/{DiffApp-YF2PYQZK.js → DiffApp-YJIH2UYP.js} +1 -1
- package/dist/{DoctorApp-U465IMK7.js → DoctorApp-AGNWGZX4.js} +1 -1
- package/dist/{FixApp-RJPCWNXJ.js → FixApp-FCMWPO3O.js} +1 -1
- package/dist/{StatsApp-BI6COY7S.js → StatsApp-MIJDSRDX.js} +1 -1
- package/dist/{TrendApp-XL77HKDR.js → TrendApp-CE7KA6SC.js} +1 -1
- package/dist/{TuiApp-VJNV4FD3.js → TuiApp-MAPYQHBB.js} +1 -1
- package/dist/{chunk-BIK4EL4H.js → chunk-EDITGGQA.js} +1 -1
- package/dist/index.js +9 -9
- package/dist/{web-EE2VYPEX.js → web-BWASIEU4.js} +1 -1
- package/package.json +2 -2
|
@@ -831,7 +831,7 @@ function TuiApp({
|
|
|
831
831
|
const webReport = monorepoReportRef.current ?? reportRef.current;
|
|
832
832
|
if (!webReport) return;
|
|
833
833
|
try {
|
|
834
|
-
const { serveWeb } = await import("./web-
|
|
834
|
+
const { serveWeb } = await import("./web-BWASIEU4.js");
|
|
835
835
|
const { default: openBrowser } = await import("open");
|
|
836
836
|
let aiService;
|
|
837
837
|
if (withAI && process.env.ANTHROPIC_API_KEY && !monorepoReportRef.current) {
|
|
@@ -11,7 +11,7 @@ var ASCII_ART = `
|
|
|
11
11
|
A vitals health check for your app
|
|
12
12
|
`.trim();
|
|
13
13
|
function Header({ projectName }) {
|
|
14
|
-
return /* @__PURE__ */ React.createElement(Box, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ React.createElement(Text, { color: "green" }, ASCII_ART), /* @__PURE__ */ React.createElement(Box, { marginTop: 1 }, /* @__PURE__ */ React.createElement(Text, { dimColor: true }, " v", "
|
|
14
|
+
return /* @__PURE__ */ React.createElement(Box, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ React.createElement(Text, { color: "green" }, ASCII_ART), /* @__PURE__ */ React.createElement(Box, { marginTop: 1 }, /* @__PURE__ */ React.createElement(Text, { dimColor: true }, " v", "1.2.1")), projectName && /* @__PURE__ */ React.createElement(Box, { marginTop: 1 }, /* @__PURE__ */ React.createElement(Text, { dimColor: true }, " Analyzing "), /* @__PURE__ */ React.createElement(Text, { bold: true, color: "white" }, projectName)));
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export {
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-D24FSOW4.js";
|
|
8
8
|
import {
|
|
9
9
|
Header
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EDITGGQA.js";
|
|
11
11
|
|
|
12
12
|
// src/index.ts
|
|
13
13
|
import { config } from "dotenv";
|
|
@@ -175,7 +175,7 @@ function App({
|
|
|
175
175
|
if (openWeb) {
|
|
176
176
|
setPhase("opening-web");
|
|
177
177
|
try {
|
|
178
|
-
const { serveWeb } = await import("./web-
|
|
178
|
+
const { serveWeb } = await import("./web-BWASIEU4.js");
|
|
179
179
|
const { default: openBrowser } = await import("open");
|
|
180
180
|
let aiService;
|
|
181
181
|
if (enableAI && process.env.ANTHROPIC_API_KEY) {
|
|
@@ -245,7 +245,7 @@ function App({
|
|
|
245
245
|
if (openWeb) {
|
|
246
246
|
setPhase("opening-web");
|
|
247
247
|
try {
|
|
248
|
-
const { serveWeb } = await import("./web-
|
|
248
|
+
const { serveWeb } = await import("./web-BWASIEU4.js");
|
|
249
249
|
const { default: openBrowser } = await import("open");
|
|
250
250
|
let aiService;
|
|
251
251
|
if (enableAI && process.env.ANTHROPIC_API_KEY) {
|
|
@@ -385,7 +385,7 @@ program.command("fix").description("Interactively fix issues found by sickbay sc
|
|
|
385
385
|
}
|
|
386
386
|
const { resolveProject } = await import("./resolve-package-PHPJWOLY.js");
|
|
387
387
|
const resolution = await resolveProject(options.path, options.package);
|
|
388
|
-
const { FixApp } = await import("./FixApp-
|
|
388
|
+
const { FixApp } = await import("./FixApp-FCMWPO3O.js");
|
|
389
389
|
const checks = options.checks ? options.checks.split(",").map((s) => s.trim()) : void 0;
|
|
390
390
|
const projectPath = resolution.isMonorepo ? resolution.targetPath ?? options.path : resolution.targetPath;
|
|
391
391
|
render(
|
|
@@ -411,7 +411,7 @@ program.command("trend").description("Show score history and trends over time").
|
|
|
411
411
|
const { resolveProject } = await import("./resolve-package-PHPJWOLY.js");
|
|
412
412
|
const resolution = await resolveProject(options.path, options.package);
|
|
413
413
|
const projectPath = resolution.isMonorepo ? resolution.targetPath ?? options.path : resolution.targetPath;
|
|
414
|
-
const { TrendApp } = await import("./TrendApp-
|
|
414
|
+
const { TrendApp } = await import("./TrendApp-CE7KA6SC.js");
|
|
415
415
|
render(
|
|
416
416
|
React6.createElement(TrendApp, {
|
|
417
417
|
projectPath,
|
|
@@ -433,7 +433,7 @@ program.command("stats").description("Show a quick codebase overview and project
|
|
|
433
433
|
const { resolveProject } = await import("./resolve-package-PHPJWOLY.js");
|
|
434
434
|
const resolution = await resolveProject(options.path, options.package);
|
|
435
435
|
const projectPath = resolution.isMonorepo ? resolution.targetPath ?? options.path : resolution.targetPath;
|
|
436
|
-
const { StatsApp } = await import("./StatsApp-
|
|
436
|
+
const { StatsApp } = await import("./StatsApp-MIJDSRDX.js");
|
|
437
437
|
render(
|
|
438
438
|
React6.createElement(StatsApp, {
|
|
439
439
|
projectPath,
|
|
@@ -445,7 +445,7 @@ program.command("stats").description("Show a quick codebase overview and project
|
|
|
445
445
|
);
|
|
446
446
|
});
|
|
447
447
|
program.command("tui").description("Launch the persistent developer dashboard").option("-p, --path <path>", "project path to monitor", process.cwd()).option("--no-watch", "disable file-watching auto-refresh").option("--no-quotes", "suppress personality quotes in output").option("--refresh <seconds>", "auto-refresh interval in seconds", "300").option("-c, --checks <checks>", "comma-separated list of checks to run").action(async (options) => {
|
|
448
|
-
const { TuiApp } = await import("./TuiApp-
|
|
448
|
+
const { TuiApp } = await import("./TuiApp-MAPYQHBB.js");
|
|
449
449
|
const checks = options.checks ? options.checks.split(",").map((s) => s.trim()) : void 0;
|
|
450
450
|
render(
|
|
451
451
|
React6.createElement(TuiApp, {
|
|
@@ -468,7 +468,7 @@ program.command("doctor").description("Diagnose project setup and configuration
|
|
|
468
468
|
const { resolveProject } = await import("./resolve-package-PHPJWOLY.js");
|
|
469
469
|
const resolution = await resolveProject(options.path, options.package);
|
|
470
470
|
const projectPath = resolution.isMonorepo ? resolution.targetPath ?? options.path : resolution.targetPath;
|
|
471
|
-
const { DoctorApp } = await import("./DoctorApp-
|
|
471
|
+
const { DoctorApp } = await import("./DoctorApp-AGNWGZX4.js");
|
|
472
472
|
render(
|
|
473
473
|
React6.createElement(DoctorApp, {
|
|
474
474
|
projectPath,
|
|
@@ -521,7 +521,7 @@ program.command("diff <branch>").description("Compare health score against anoth
|
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
const checks = options.checks ? options.checks.split(",").map((s) => s.trim()) : void 0;
|
|
524
|
-
const { DiffApp } = await import("./DiffApp-
|
|
524
|
+
const { DiffApp } = await import("./DiffApp-YJIH2UYP.js");
|
|
525
525
|
render(
|
|
526
526
|
React6.createElement(DiffApp, {
|
|
527
527
|
projectPath: options.path,
|
|
@@ -61,7 +61,7 @@ async function serveWeb(report, preferredPort = 3030, aiService) {
|
|
|
61
61
|
const distDir = findWebDist();
|
|
62
62
|
if (!distDir) {
|
|
63
63
|
throw new Error(
|
|
64
|
-
"Web dashboard not built. Run: pnpm --filter @sickbay
|
|
64
|
+
"Web dashboard not built. Run: pnpm --filter @nebulord/sickbay-web build"
|
|
65
65
|
);
|
|
66
66
|
}
|
|
67
67
|
const reportJson = JSON.stringify(report);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nebulord/sickbay",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Zero-config health check CLI for JavaScript and TypeScript projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"ink-spinner": "^5.0.0",
|
|
34
34
|
"open": "^11.0.0",
|
|
35
35
|
"react": "^19.2.4",
|
|
36
|
-
"@nebulord/sickbay-core": "
|
|
36
|
+
"@nebulord/sickbay-core": "1.2.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@testing-library/jest-dom": "^6.9.1",
|