vis dedupe
Deduplicate dependencies using the detected package manager
vis dedupe
Run the package manager's deduplication routine to collapse duplicate package versions in the lockfile. Use --check in CI to assert the lockfile is already deduped without modifying it.
Usage
vis dedupe [options]Examples
vis dedupe
vis dedupe --check # CI: exits non-zero when changes would be madeOptions
| Option | Default | Description |
|---|---|---|
--check | false | Preview changes without modifying files (dry-run) |
Notes
- bun and yarn v1 have no native dedupe command — vis emits a warning and falls back to a no-op.
- deno has no dedupe command. vis falls back to running
deno installwith a warning, which re-resolves the lockfile.