Repository navigation
Releases: kiron0/nukecache
Releases · kiron0/nukecache
Release list
v0.6.0
What's Changed
- Remove programmatic API (
src/index.ts, CJS/ESM library exports, type declarations). CLI-only distribution. - Drop
main,module,types, andexportsfields frompackage.json. Build produces onlydist/cli.js. - Fix Windows command execution: replace
resolveExecutablewrapper withshell: trueon Win32 inrunCommandandinstallUpdate. - Fix
installUpdateto passshell: process.platform === "win32"tospawninstead of resolvingnpm.cmdmanually. - Export
installUpdatefrom public API (was missing). - Restrict CI workflow triggers to
mainbranch for bothpushandpull_requestevents. - Expand test coverage for cleanup, detection, and safety-matrix edge cases.
- Add
sweep <dir>command: walk a directory tree, find all project roots, detect caches per project, display a sorted table with project, cache path, size, and age. Supports--days/--min-ageto filter by cache age,--dry-run,--json, and interactive multi-select cleanup. - Add
reclaim <size>command: parse a human-readable size target (e.g.5gb,500mb), auto-select the safest candidates (safe → oldest → largest) until the target is met, display a plan, and confirm before deleting. Supports--dry-run,--yes, and--json. - Add runtime active-process protection: automatically scan running dev servers (
next dev,vite,turbo,jest --watch,vitest,playwright,cypress); skip active caches with PID indicator unless--forceis used. - Add
orphanedcommand and--orphanedflag: detect caches whose tools, dependencies, or configuration files no longer exist in the project; preview with--dry-runor clear interactively. - Add Docker build cache support (
nkc list --docker,nkc clean --docker): inspect build cache size withdocker system dfand prune safely withdocker builder prune.
Install
npm install -g nukecacheFull changelog: https://github.com/kiron0/nukecache/commits/v0.6.0
v0.5.0
What's Changed
- Support configuration aliases (
nkc.config.json,ncache.config.json) alongsidenukecache.config.json. - Add JSON Schema hosted at
https://nukecache.js.org/schema.jsonwith strict validation. - Detect multiple config file collisions, providing interactive deletion options to avoid ambiguous behavior.
- Expand project configuration with
defaultScope,dryRun,safe,force,json,packageManagers,days,limit, andnoUpdateCheckoptions. - Add
--check-updateCLI option andcheck-updatecommand with 60s cooldown rate limiting. - Add rich project overview header (
formatProjectSummary) before interactive cache selection. - Add cache safety hints directly in interactive multiselect options.
- Standardize friendly exit thanks message on all successful commands, cancellations, and errors.
- Shorten update check interval to 6 hours for faster release discovery.
Install
npm install -g nukecacheFull changelog: https://github.com/kiron0/nukecache/commits/v0.5.0
v0.4.0
What's Changed
- Add
nkcandncachecommand shortcuts (aliases) fornukecacheinpackage.json. - Add
configinspection and atomic updates, plus nearby command suggestions with structured CLI errors. - Add a complete Clack configuration workflow.
Install
npm install -g nukecacheFull changelog: https://github.com/kiron0/nukecache/commits/v0.4.0
v0.3.0
What's Changed
- Add automatic update checks with cached registry results, interactive update choices, release ignoring, and automation opt-outs.
- Add
largest,old, andexplaininspection commands with JSON output and cache timestamps. - Make cache scans faster with bounded concurrent filesystem traversal, batched Git checks, and lower-overhead root detection.
- Fix Bun cache detection and cleanup outside package directories, including home-directory scans.
- Keep package-manager caches global under home-like roots and remove project-local Yarn caches through guarded filesystem cleanup.
- Add 250+ unit, integration, security, compatibility, argument, output, and semantic-version tests.
Install
npm install -g nukecacheFull changelog: https://github.com/kiron0/nukecache/commits/v0.3.0
v0.2.0
What's Changed
- Add explicit global cache inspection and native cleanup for npm, pnpm, Yarn, and Bun.
- Detect package managers from manifest metadata and lockfiles, with manager-specific commands and non-fatal detection warnings.
- Add Nx, Parcel, Angular CLI, Jest, Vitest, Playwright, Cypress, Babel, SWC, and Yarn project-cache detection.
- Separate project and global output, protect global cleanup behind explicit flags and confirmation, and report actual post-cleanup bytes freed.
- Harden cleanup against Git inspection failures, concurrent cache changes, environment files, additional lockfiles, and database files.
Install
npm install -g nukecacheFull changelog: https://github.com/kiron0/nukecache/commits/v0.2.0
v0.1.0
What's Changed
- Add Next.js, Vite, Turborepo, TypeScript, ESLint, and generic project-cache detectors.
- Add exact size calculation, interactive selection, dry runs, JSON output, and cleanup summaries.
- Add Git tracking checks, project-boundary enforcement, symlink protection, protected-path guards, and post-delete verification.
- Add custom project configuration and public programmatic API.
- Add CI-gated GitHub releases with compact changelog notes.
Install
npm install -g nukecacheFull changelog: https://github.com/kiron0/nukecache/commits/v0.1.0