@coreify/quitx 1.0.0 → 1.2.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/CHANGELOG.md +42 -0
  2. package/dist/cli.js +1192 -212
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -5,6 +5,48 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 1.2.0
9
+
10
+ ### Added
11
+
12
+ - `--dry-run` simulation mode:
13
+ - Simulate quitting applications without sending termination signals or killing processes.
14
+ - Formatted preview output (`[dry-run] Would quit <app>` / `[dry-run] Would force quit <app>`).
15
+ - Supported across interactive selector, targeted app list, and `--all` flag.
16
+ - Non-interactive configuration CLI:
17
+ - `quitx config show [--json]` to view current configuration as formatted list or JSON object.
18
+ - `quitx config get <key> [--json]` to retrieve individual configuration value.
19
+ - `quitx config set <key> <value> [--json]` with typed validation for booleans, force mode, and arrays.
20
+ - `quitx config reset [-y|--yes] [--json]` to restore default configuration non-interactively.
21
+ - Automatic update toggle:
22
+ - Added `autoUpdate` configuration property (default `true`).
23
+ - Configurable via interactive menu and `quitx config set autoUpdate <bool>`.
24
+ - Automatic background 6-hour update checks honor this setting.
25
+ - Package update checking system:
26
+ - Automatic 6-hour interval background check against npm registry (`CHECK_INTERVAL_MS`).
27
+ - Interactive manual update check command `quitx check-update` and `--check-update` flag with 60-second rate-limiting cooldown.
28
+ - `--no-update-check` flag to bypass update checks.
29
+ - Direct global package upgrade via `installUpdate` (`npm install --global @coreify/quitx@latest`).
30
+ - Persistent update cache in `~/.quitx/update.json` storing check timestamp and ignored versions.
31
+ - Full JSON output support for update queries (`quitx check-update --json`).
32
+
33
+ ## 1.1.0
34
+
35
+ ### Added
36
+
37
+ - Group background instances option (`groupBackground`, default `true`) to aggregate duplicate background helper processes into one entry with count and terminate all PIDs upon quitting.
38
+ - Never quit music apps protection (`neverQuitMusic`) with hybrid detection: macOS category `public.app-category.music`, bundle IDs, well-known music apps (Spotify, Apple Music, Tidal, Cider, Vox, etc.), and custom music apps.
39
+ - Interactive custom music app management (`musicApps`) in configuration menu.
40
+ - Deselect apps by default option (`defaultSelectAll`) to start interactive picker with no apps pre-selected.
41
+ - Include Empty Trash in list option (`includeTrash`) with explicit warning that quitting permanently and irreversibly deletes macOS Trash.
42
+ - Cleaner, intuitive configuration menu options aligned with native preferences.
43
+
44
+ ### Fixed
45
+
46
+ - Fixed Windows silent exit: normalized path separators in CLI entry point detection so Windows/Linux platforms cleanly print OS guard error (`✖ quitx only works on macOS. Windows and Linux are not supported.`) with exit code 1.
47
+ - Unified running app discovery across home selector and exclude/music add menus.
48
+ - Handled multi-PID termination cleanly when quitting grouped background instances.
49
+
8
50
  ## 1.0.0
9
51
 
10
52
  ### Added