tuiweather 0.5.0 → 0.6.0

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.
Files changed (3) hide show
  1. package/README.md +3 -2
  2. package/dist/index.js +51371 -61398
  3. package/package.json +10 -10
package/README.md CHANGED
@@ -20,7 +20,8 @@ Keyboard-driven terminal weather app: Dark Sky-style rain nowcasting, hourly and
20
20
 
21
21
  Requires Node.js to run: the package declares `engines.node >= 20`, and the command-line
22
22
  paths (`--version`, `--help`, `--one-line`) work on any such Node; the interactive TUI
23
- needs Node >= 26.4.0, enforced at runtime by the launcher. Install globally with npm:
23
+ needs Node >= 26.4.0, enforced by the bundled app (`src/lib/runtime/ffi.ts`), which
24
+ prints a CLI-only hint on older Node. Install globally with npm:
24
25
 
25
26
  ```sh
26
27
  npm install --global tuiweather
@@ -185,7 +186,7 @@ longitude = -122.6765
185
186
  | `refresh_minutes` | integer | `10` | Minimum `1` |
186
187
  | `reduced_motion` | boolean | `false` | Replace the animated loading spinner with a static indicator |
187
188
  | `theme` | `day` / `night` / `auto` | `"auto"` | Accent palette; `auto` follows the location's sunrise/sunset. Text ink adapts via `ink` |
188
- | `ink` | `auto` / `light` / `dark` | `"auto"` | Terminal ink override; `auto` detects the background via an OSC query (300ms timeout, fallback dark), `light`/`dark` skips detection and uses that ink directly |
189
+ | `ink` | `auto` / `light` / `dark` | `"auto"` | Terminal ink override; `auto` detects the background via an OSC query (300ms timeout, fallback dark) and follows live light/dark switches on terminals that report them, `light`/`dark` skips detection and uses that ink directly |
189
190
  | `provider` | `openmeteo` / `nws` | `"openmeteo"` | Weather data source. Open-Meteo is the default full-feature experience; NWS is the official US source fallback — works: conditions, temperatures, precipitation probabilities; goes quiet: minute-level nowcast (panel hides, watch bell inactive), hourly/daily precip amounts (blank bars/chips), air quality |
190
191
  | `daily_days` | integer | `7` | `1`–`16` forecast days requested from NWS; Open-Meteo always requests 14 days and pages the daily list with `,`/`.` regardless of this setting |
191
192
  | `hourly_hours` | integer | `24` | `12`–`48` forecast hours |