wayfind 2.0.40 → 2.0.41
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/doctor.sh +4 -3
- package/package.json +1 -1
package/doctor.sh
CHANGED
|
@@ -402,9 +402,10 @@ check_storage_backend() {
|
|
|
402
402
|
|
|
403
403
|
# ── 2. Fallback detection ────────────────────────────────────────────
|
|
404
404
|
if [ "$IS_FALLBACK" = "true" ]; then
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
405
|
+
# JSON fallback is expected when better-sqlite3 isn't available (optional dep).
|
|
406
|
+
# Warn only — don't increment ISSUES. Use `wayfind doctor --container` in Docker.
|
|
407
|
+
warn "JSON backend (better-sqlite3 unavailable — optional)"
|
|
408
|
+
info "To enable SQLite: npm install -g better-sqlite3 (or rebuild container image)"
|
|
408
409
|
elif [ "$BACKEND_TYPE" = "json" ]; then
|
|
409
410
|
# Not a runtime fallback — check if sqlite3 is available but unused
|
|
410
411
|
if node -e "require('better-sqlite3')" 2>/dev/null; then
|
package/package.json
CHANGED