sickbay 1.15.1 → 1.15.2

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-G2DET5WU.js";
3
+ } from "./chunk-J4C4MHXN.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-QYJLQBEL.js";
4
4
  import {
5
5
  Header
6
- } from "./chunk-G2DET5WU.js";
6
+ } from "./chunk-J4C4MHXN.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-G2DET5WU.js";
9
+ } from "./chunk-J4C4MHXN.js";
10
10
  import {
11
11
  runSickbay
12
12
  } from "./chunk-6GIJCWXK.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-QYJLQBEL.js";
4
4
  import {
5
5
  Header
6
- } from "./chunk-G2DET5WU.js";
6
+ } from "./chunk-J4C4MHXN.js";
7
7
  import {
8
8
  detectProject
9
9
  } from "./chunk-6GIJCWXK.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-QYJLQBEL.js";
8
8
  import {
9
9
  Header
10
- } from "./chunk-G2DET5WU.js";
10
+ } from "./chunk-J4C4MHXN.js";
11
11
  import "./chunk-6GIJCWXK.js";
12
12
  import {
13
13
  detectRegressions,
@@ -689,7 +689,7 @@ function TuiApp({
689
689
  return () => timers.forEach(clearTimeout);
690
690
  }, []);
691
691
  useEffect7(() => {
692
- checkForUpdate("1.15.0").then((info) => {
692
+ checkForUpdate("1.15.1").then((info) => {
693
693
  if (info) setUpdateInfo(info);
694
694
  });
695
695
  }, []);
@@ -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.0")), 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.15.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
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-TYG7ZQBP.js";
9
9
  import {
10
10
  Header
11
- } from "./chunk-G2DET5WU.js";
11
+ } from "./chunk-J4C4MHXN.js";
12
12
  import {
13
13
  getScoreEmoji,
14
14
  runSickbay,
@@ -303,7 +303,7 @@ if (existsSync(globalConfigPath)) {
303
303
  }
304
304
  config({ debug: false, quiet: true });
305
305
  var program = new Command();
306
- program.name("sickbay").description("React project health check CLI").version("1.15.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) => {
306
+ program.name("sickbay").description("React project health check CLI").version("1.15.1", "-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) => {
307
307
  if (options.path && options.path !== process.cwd()) {
308
308
  const projectEnvPath = join(options.path, ".env");
309
309
  if (existsSync(projectEnvPath)) {
@@ -313,7 +313,7 @@ program.name("sickbay").description("React project health check CLI").version("1
313
313
  const updatePromise = (async () => {
314
314
  try {
315
315
  const { checkForUpdate } = await import("./update-check-M7IFOMLJ.js");
316
- return await checkForUpdate("1.15.0");
316
+ return await checkForUpdate("1.15.1");
317
317
  } catch {
318
318
  return null;
319
319
  }
@@ -431,7 +431,7 @@ program.command("fix").description("Interactively fix issues found by sickbay sc
431
431
  }
432
432
  const { resolveProject } = await import("./resolve-package-RN2JUNIX.js");
433
433
  const resolution = await resolveProject(options.path, options.package);
434
- const { FixApp } = await import("./FixApp-2DDF43KN.js");
434
+ const { FixApp } = await import("./FixApp-OFGNY2UR.js");
435
435
  const checks = options.checks ? options.checks.split(",").map((s) => s.trim()) : void 0;
436
436
  const projectPath = resolution.isMonorepo ? resolution.targetPath ?? options.path : resolution.targetPath;
437
437
  render(
@@ -457,7 +457,7 @@ program.command("trend").description("Show score history and trends over time").
457
457
  const { resolveProject } = await import("./resolve-package-RN2JUNIX.js");
458
458
  const resolution = await resolveProject(options.path, options.package);
459
459
  const projectPath = resolution.isMonorepo ? resolution.targetPath ?? options.path : resolution.targetPath;
460
- const { TrendApp } = await import("./TrendApp-RZ33ZBUM.js");
460
+ const { TrendApp } = await import("./TrendApp-IBHR4R5D.js");
461
461
  render(
462
462
  React6.createElement(TrendApp, {
463
463
  projectPath,
@@ -479,7 +479,7 @@ program.command("stats").description("Show a quick codebase overview and project
479
479
  const { resolveProject } = await import("./resolve-package-RN2JUNIX.js");
480
480
  const resolution = await resolveProject(options.path, options.package);
481
481
  const projectPath = resolution.isMonorepo ? resolution.targetPath ?? options.path : resolution.targetPath;
482
- const { StatsApp } = await import("./StatsApp-QGSMSOMF.js");
482
+ const { StatsApp } = await import("./StatsApp-YQJOEQIW.js");
483
483
  render(
484
484
  React6.createElement(StatsApp, {
485
485
  projectPath,
@@ -491,7 +491,7 @@ program.command("stats").description("Show a quick codebase overview and project
491
491
  );
492
492
  });
493
493
  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) => {
494
- const { TuiApp } = await import("./TuiApp-2SWXSWJX.js");
494
+ const { TuiApp } = await import("./TuiApp-APJXORT5.js");
495
495
  const checks = options.checks ? options.checks.split(",").map((s) => s.trim()) : void 0;
496
496
  render(
497
497
  React6.createElement(TuiApp, {
@@ -514,7 +514,7 @@ program.command("doctor").description("Diagnose project setup and configuration
514
514
  const { resolveProject } = await import("./resolve-package-RN2JUNIX.js");
515
515
  const resolution = await resolveProject(options.path, options.package);
516
516
  const projectPath = resolution.isMonorepo ? resolution.targetPath ?? options.path : resolution.targetPath;
517
- const { DoctorApp } = await import("./DoctorApp-WX4WLAOU.js");
517
+ const { DoctorApp } = await import("./DoctorApp-AT2VCFDQ.js");
518
518
  render(
519
519
  React6.createElement(DoctorApp, {
520
520
  projectPath,
@@ -566,7 +566,7 @@ program.command("diff <branch>").description("Compare health score against anoth
566
566
  }
567
567
  }
568
568
  const checks = options.checks ? options.checks.split(",").map((s) => s.trim()) : void 0;
569
- const { DiffApp } = await import("./DiffApp-CRZ3LNAD.js");
569
+ const { DiffApp } = await import("./DiffApp-ACTRBPEJ.js");
570
570
  render(
571
571
  React6.createElement(DiffApp, {
572
572
  projectPath: options.path,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sickbay",
3
- "version": "1.15.1",
3
+ "version": "1.15.2",
4
4
  "description": "Zero-config health check CLI for JavaScript and TypeScript projects",
5
5
  "license": "MIT",
6
6
  "repository": {