sickbay 1.16.0 → 1.16.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-ASQWWDLS.js → DiffApp-V3GF6YM7.js} +1 -1
- package/dist/{DoctorApp-SMIZDD64.js → DoctorApp-OS5MITI5.js} +1 -1
- package/dist/{FixApp-63PU5VF7.js → FixApp-WUUS3QM6.js} +1 -1
- package/dist/{StatsApp-CFZBEITZ.js → StatsApp-BF5LYVRA.js} +1 -1
- package/dist/{TrendApp-BKGRSP6Q.js → TrendApp-SZURVP7W.js} +1 -1
- package/dist/{TuiApp-K7KP35RC.js → TuiApp-3ZU3KG24.js} +1 -1
- package/dist/{chunk-352RAVRZ.js → chunk-GK73SXW6.js} +1 -1
- package/dist/index.js +9 -9
- package/package.json +1 -1
|
@@ -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", "1.
|
|
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.16.0")), 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
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-LZOEMCE7.js";
|
|
10
10
|
import {
|
|
11
11
|
Header
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GK73SXW6.js";
|
|
13
13
|
import {
|
|
14
14
|
getScoreEmoji,
|
|
15
15
|
runSickbay,
|
|
@@ -322,7 +322,7 @@ if (existsSync(globalConfigPath)) {
|
|
|
322
322
|
}
|
|
323
323
|
config({ debug: false, quiet: true });
|
|
324
324
|
var program = new Command();
|
|
325
|
-
program.name("sickbay").description("React project health check CLI").version("1.
|
|
325
|
+
program.name("sickbay").description("React project health check CLI").version("1.16.0", "-v, --version").enablePositionalOptions().passThroughOptions().option("-p, --path <path>", "project path to analyze", process.cwd()).option("-c, --checks <checks>", "comma-separated list of checks to run").option("--package <name>", "scope to a single named package (monorepo only)").option("--json", "output raw JSON report").option("--web", "open web dashboard after scan").option("--no-ai", "disable AI features").option("--no-quotes", "suppress personality quotes in output").option("--verbose", "show verbose output").action(async (options) => {
|
|
326
326
|
if (!existsSync(options.path)) {
|
|
327
327
|
process.stderr.write(`Error: path does not exist: ${options.path}
|
|
328
328
|
`);
|
|
@@ -337,7 +337,7 @@ program.name("sickbay").description("React project health check CLI").version("1
|
|
|
337
337
|
const updatePromise = (async () => {
|
|
338
338
|
try {
|
|
339
339
|
const { checkForUpdate } = await import("./update-check-M7IFOMLJ.js");
|
|
340
|
-
return await checkForUpdate("1.
|
|
340
|
+
return await checkForUpdate("1.16.0");
|
|
341
341
|
} catch {
|
|
342
342
|
return null;
|
|
343
343
|
}
|
|
@@ -463,7 +463,7 @@ program.command("fix").description("Interactively fix issues found by sickbay sc
|
|
|
463
463
|
}
|
|
464
464
|
const { resolveProject } = await import("./resolve-package-774YTW5Q.js");
|
|
465
465
|
const resolution = await resolveProject(options.path, options.package);
|
|
466
|
-
const { FixApp } = await import("./FixApp-
|
|
466
|
+
const { FixApp } = await import("./FixApp-WUUS3QM6.js");
|
|
467
467
|
const checks = options.checks ? options.checks.split(",").map((s) => s.trim()) : void 0;
|
|
468
468
|
const projectPath = resolution.isMonorepo ? resolution.targetPath ?? options.path : resolution.targetPath;
|
|
469
469
|
render(
|
|
@@ -489,7 +489,7 @@ program.command("trend").description("Show score history and trends over time").
|
|
|
489
489
|
const { resolveProject } = await import("./resolve-package-774YTW5Q.js");
|
|
490
490
|
const resolution = await resolveProject(options.path, options.package);
|
|
491
491
|
const projectPath = resolution.isMonorepo ? resolution.targetPath ?? options.path : resolution.targetPath;
|
|
492
|
-
const { TrendApp } = await import("./TrendApp-
|
|
492
|
+
const { TrendApp } = await import("./TrendApp-SZURVP7W.js");
|
|
493
493
|
render(
|
|
494
494
|
React7.createElement(TrendApp, {
|
|
495
495
|
projectPath,
|
|
@@ -511,7 +511,7 @@ program.command("stats").description("Show a quick codebase overview and project
|
|
|
511
511
|
const { resolveProject } = await import("./resolve-package-774YTW5Q.js");
|
|
512
512
|
const resolution = await resolveProject(options.path, options.package);
|
|
513
513
|
const projectPath = resolution.isMonorepo ? resolution.targetPath ?? options.path : resolution.targetPath;
|
|
514
|
-
const { StatsApp } = await import("./StatsApp-
|
|
514
|
+
const { StatsApp } = await import("./StatsApp-BF5LYVRA.js");
|
|
515
515
|
render(
|
|
516
516
|
React7.createElement(StatsApp, {
|
|
517
517
|
projectPath,
|
|
@@ -523,7 +523,7 @@ program.command("stats").description("Show a quick codebase overview and project
|
|
|
523
523
|
);
|
|
524
524
|
});
|
|
525
525
|
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) => {
|
|
526
|
-
const { TuiApp } = await import("./TuiApp-
|
|
526
|
+
const { TuiApp } = await import("./TuiApp-3ZU3KG24.js");
|
|
527
527
|
const checks = options.checks ? options.checks.split(",").map((s) => s.trim()) : void 0;
|
|
528
528
|
render(
|
|
529
529
|
React7.createElement(TuiApp, {
|
|
@@ -546,7 +546,7 @@ program.command("doctor").description("Diagnose project setup and configuration
|
|
|
546
546
|
const { resolveProject } = await import("./resolve-package-774YTW5Q.js");
|
|
547
547
|
const resolution = await resolveProject(options.path, options.package);
|
|
548
548
|
const projectPath = resolution.isMonorepo ? resolution.targetPath ?? options.path : resolution.targetPath;
|
|
549
|
-
const { DoctorApp } = await import("./DoctorApp-
|
|
549
|
+
const { DoctorApp } = await import("./DoctorApp-OS5MITI5.js");
|
|
550
550
|
render(
|
|
551
551
|
React7.createElement(DoctorApp, {
|
|
552
552
|
projectPath,
|
|
@@ -598,7 +598,7 @@ program.command("diff <branch>").description("Compare health score against anoth
|
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
const checks = options.checks ? options.checks.split(",").map((s) => s.trim()) : void 0;
|
|
601
|
-
const { DiffApp } = await import("./DiffApp-
|
|
601
|
+
const { DiffApp } = await import("./DiffApp-V3GF6YM7.js");
|
|
602
602
|
render(
|
|
603
603
|
React7.createElement(DiffApp, {
|
|
604
604
|
projectPath: options.path,
|