Skip to content

Commit 8c42629

Browse files
committed
feat: overhaul analyze, status, and clean commands
analyze: rewrite UI with blessed-based interactive TUI analyze: add directory navigation (Enter=open, b=back, o=Finder) analyze: add positional path argument (broom analyze ~/path) analyze: fix percentage calculation to use parent size as base analyze: fix bar graph misalignment in list (remove chalk from addItem) analyze: fix info panel not updating on arrow key navigation (use select item event) analyze: fix goBack crashing at scan root by adding root guard analyze: fix path comparison by normalizing trailing slashes analyze: add generateUsageBarBlessed() using blessed tags for info panel analyze: enrich Details panel with rank, mtime, contents count, path, size label analyze: two-phase scan (shallow first for fast startup, deep scan in background) analyze: on-demand rescan when navigating into unscanned subdirectory status: remove cat animation and BROOM_FRAMES status: redesign layout to 3-column grid (CPU/Memory/Disk, Network/Processes) clean: add scan targets display with 13 categories, icons, and progress counter
1 parent f50f9bd commit 8c42629

File tree

8 files changed

+547
-415
lines changed

8 files changed

+547
-415
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ indent_size = 2
1414
indent_style = space
1515
indent_size = 2
1616

17-
[*.{json,yml,yaml}]
17+
[*.{yml,yaml}]
1818
indent_style = space
1919
indent_size = 2
2020

bun.lock

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eslint.config.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import js from '@eslint/js';
22
import globals from 'globals';
33
import tseslint from 'typescript-eslint';
4-
import json from '@eslint/json';
54

65
export default [
76
{
@@ -29,11 +28,4 @@ export default [
2928
...tseslint.configs.recommended.rules,
3029
},
3130
},
32-
33-
{
34-
files: ['**/*.json'],
35-
language: 'json/json',
36-
plugins: { json },
37-
...json.configs.recommended,
38-
},
3931
];

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@tukuyomil032/broom",
33
"private": false,
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"description": "🧹 macOS Disk Cleanup CLI - Clean up caches, logs, trash, browser data, dev artifacts, and more",
66
"type": "module",
77
"main": "./dist/index.js",
@@ -67,7 +67,6 @@
6767
"yargs": "^18.0.0"
6868
},
6969
"devDependencies": {
70-
"@eslint/json": "^0.14.0",
7170
"@types/blessed": "^0.1.27",
7271
"@types/node": "^25.0.10",
7372
"@typescript-eslint/eslint-plugin": "^8.53.1",

0 commit comments

Comments
 (0)