Skip to content

fix(package): ship uninstall cleanup script#471

Open
Anmolnoor wants to merge 1 commit into
DietrichGebert:mainfrom
Anmolnoor:codex/ship-uninstall-cleanup-script
Open

fix(package): ship uninstall cleanup script#471
Anmolnoor wants to merge 1 commit into
DietrichGebert:mainfrom
Anmolnoor:codex/ship-uninstall-cleanup-script

Conversation

@Anmolnoor

@Anmolnoor Anmolnoor commented Jul 1, 2026

Copy link
Copy Markdown

What

Ships scripts/uninstall.js in the npm package.

Why

This complements the fix from @isaukywhite in #469 for #434. That PR makes scripts/uninstall.js safer when settings.json is malformed, but the npm package currently does not ship scripts/uninstall.js, even though the README tells users to run it.

How

Add scripts/uninstall.js to package.json's files list and add a package regression test using npm pack --dry-run --json.

Test

node --test tests/package.test.js tests/uninstall.test.js

Related: #469 by @isaukywhite
Refs #434

@Anmolnoor Anmolnoor marked this pull request as ready for review July 1, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant