meetsoma 0.3.1 → 0.3.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.
- package/CHANGELOG.md +5 -0
- package/dist/thin-cli.js +6 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to Soma (`meetsoma` on npm).
|
|
|
4
4
|
|
|
5
5
|
Format follows [Keep a Changelog](https://keepachangelog.com/). Versioning follows [Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [0.3.2] — 2026-04-10
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
- **Health check warnings**: now shows "passed (N warnings)" instead of silent "All checks passed" when warnings exist
|
|
11
|
+
|
|
7
12
|
## [0.3.1] — 2026-04-10
|
|
8
13
|
|
|
9
14
|
Re-release of 0.3.0 (npm doesn't allow republish of unpublished versions).
|
package/dist/thin-cli.js
CHANGED
|
@@ -473,13 +473,14 @@ async function healthCheck() {
|
|
|
473
473
|
console.log("");
|
|
474
474
|
|
|
475
475
|
let issues = 0;
|
|
476
|
+
let warnings = 0;
|
|
476
477
|
const check = (ok, pass, fail_msg) => {
|
|
477
478
|
if (ok) { console.log(` ${green("✓")} ${pass}`); }
|
|
478
479
|
else { console.log(` ${red("✗")} ${fail_msg}`); issues++; }
|
|
479
480
|
};
|
|
480
481
|
const warn = (ok, pass, fail_msg) => {
|
|
481
482
|
if (ok) { console.log(` ${green("✓")} ${pass}`); }
|
|
482
|
-
else { console.log(` ${yellow("⚠")} ${fail_msg}`); }
|
|
483
|
+
else { console.log(` ${yellow("⚠")} ${fail_msg}`); warnings++; }
|
|
483
484
|
};
|
|
484
485
|
|
|
485
486
|
const nodeVersion = process.versions.node;
|
|
@@ -549,10 +550,12 @@ async function healthCheck() {
|
|
|
549
550
|
}
|
|
550
551
|
|
|
551
552
|
console.log("");
|
|
552
|
-
if (issues === 0) {
|
|
553
|
+
if (issues === 0 && warnings === 0) {
|
|
553
554
|
console.log(` ${green("✓ All checks passed")}`);
|
|
555
|
+
} else if (issues === 0) {
|
|
556
|
+
console.log(` ${green("✓ All checks passed")} ${dim(`(${warnings} warning${warnings > 1 ? "s" : ""})`)}`);
|
|
554
557
|
} else {
|
|
555
|
-
console.log(` ${yellow(`${issues} issue${issues > 1 ? "s" : ""} found`)}`);
|
|
558
|
+
console.log(` ${yellow(`${issues} issue${issues > 1 ? "s" : ""} found`)}${warnings > 0 ? dim(` + ${warnings} warning${warnings > 1 ? "s" : ""}`) : ""}`);
|
|
556
559
|
console.log(` ${voice.say("suggest", { suggestion: issues > 2 ? "start with soma init" : "check the items above" })}`);
|
|
557
560
|
}
|
|
558
561
|
console.log("");
|