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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Header
3
- } from "./chunk-352RAVRZ.js";
3
+ } from "./chunk-GK73SXW6.js";
4
4
 
5
5
  // src/components/DiffApp.tsx
6
6
  import React, { useState, useEffect } from "react";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-VBM6NZAY.js";
4
4
  import {
5
5
  Header
6
- } from "./chunk-352RAVRZ.js";
6
+ } from "./chunk-GK73SXW6.js";
7
7
  import {
8
8
  detectPackageManager,
9
9
  detectProject
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-MBVA75EM.js";
7
7
  import {
8
8
  Header
9
- } from "./chunk-352RAVRZ.js";
9
+ } from "./chunk-GK73SXW6.js";
10
10
  import {
11
11
  runSickbay
12
12
  } from "./chunk-DJA6K3MN.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-VBM6NZAY.js";
4
4
  import {
5
5
  Header
6
- } from "./chunk-352RAVRZ.js";
6
+ } from "./chunk-GK73SXW6.js";
7
7
  import {
8
8
  detectProject
9
9
  } from "./chunk-DJA6K3MN.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-VBM6NZAY.js";
8
8
  import {
9
9
  Header
10
- } from "./chunk-352RAVRZ.js";
10
+ } from "./chunk-GK73SXW6.js";
11
11
  import "./chunk-DJA6K3MN.js";
12
12
  import {
13
13
  detectRegressions,
@@ -707,7 +707,7 @@ function TuiApp({
707
707
  return () => timers.forEach(clearTimeout);
708
708
  }, []);
709
709
  useEffect7(() => {
710
- checkForUpdate("1.15.10").then((info) => {
710
+ checkForUpdate("1.16.0").then((info) => {
711
711
  if (info) setUpdateInfo(info);
712
712
  });
713
713
  }, []);
@@ -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.15.10")), projectName && /* @__PURE__ */ React.createElement(Box, { marginTop: 1 }, /* @__PURE__ */ React.createElement(Text, { dimColor: true }, " Analyzing "), /* @__PURE__ */ React.createElement(Text, { bold: true, color: "white" }, 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.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-352RAVRZ.js";
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.15.10", "-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) => {
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.15.10");
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-63PU5VF7.js");
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-BKGRSP6Q.js");
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-CFZBEITZ.js");
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-K7KP35RC.js");
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-SMIZDD64.js");
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-ASQWWDLS.js");
601
+ const { DiffApp } = await import("./DiffApp-V3GF6YM7.js");
602
602
  render(
603
603
  React7.createElement(DiffApp, {
604
604
  projectPath: options.path,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sickbay",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "description": "Zero-config health check CLI for JavaScript and TypeScript projects",
5
5
  "license": "MIT",
6
6
  "repository": {