Desetup / uninstall
Yellow Jacket can remove its integration from a project without deleting your configuration or snapshots by default.
Safe removal
Run:
yellow-jacket desetupYou can also use the more conventional alias:
yellow-jacket uninstallThe default operation removes the Yellow Jacket integration while preserving project data that may have been edited or committed manually.
What is removed
A normal desetup removes:
- the Yellow Jacket
pre-pushhook core.hooksPathwhen it points to.yellow-jacket/hooks- npm scripts created by
yellow-jacket init - the
yellow-jacketpackage dependency from the project
The package manager is used to remove the dependency, so dependencies that are no longer required can be cleaned up normally by npm, pnpm or Yarn.
What is preserved
By default, Yellow Jacket keeps:
yellow-jacket.config.ts
yellow-jacket.config.mjs
yellow-jacket.config.js
.yellow-jacket/This includes existing snapshots such as:
.yellow-jacket/snapshots/baseline.jsonThis behavior is intentional.
Configuration and baselines may contain project-specific work and should not be deleted automatically.
Complete removal
To remove the integration and all Yellow Jacket project state:
yellow-jacket desetup --purgeor:
yellow-jacket uninstall --purge--purge additionally removes:
- Yellow Jacket configuration files
.yellow-jacket/- stored baselines
- generated Yellow Jacket hook files
DANGER
--purge deletes Yellow Jacket configuration and snapshots from the current project.
Commit or back up anything you want to keep before using it.
Existing Git hook managers
Yellow Jacket only removes core.hooksPath when its value is exactly:
.yellow-jacket/hooksIf the repository now uses another hook manager, for example:
.husky/_Yellow Jacket leaves that configuration untouched.
Package managers
Yellow Jacket detects the package manager using:
- the
packageManagerfield inpackage.json pnpm-lock.yamlyarn.lock- npm as the default
The equivalent package removal command is then used.
Examples:
npm uninstall yellow-jacket
pnpm remove yellow-jacket
yarn remove yellow-jacketExample
Before:
my-app/
├── .yellow-jacket/
│ ├── hooks/
│ │ └── pre-push
│ └── snapshots/
│ └── baseline.json
├── yellow-jacket.config.mjs
└── package.jsonAfter:
yellow-jacket desetupthe configuration and snapshots remain available.
After:
yellow-jacket desetup --purgethe Yellow Jacket project files are removed completely.
