VisCommandsvis dedupe

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 made

Options

OptionDefaultDescription
--checkfalsePreview 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 install with a warning, which re-resolves the lockfile.
Support

Contribute to our work and keep us going

Community is the heart of open source. The success of our packages wouldn't be possible without the incredible contributions of users, testers, and developers who collaborate with us every day.Want to get involved? Here are some tips on how you can make a meaningful impact on our open source projects.

Ready to help us out?

Be sure to check out the package's contribution guidelines first. They'll walk you through the process on how to properly submit an issue or pull request to our repositories.

Submit a pull request

Found something to improve? Fork the repo, make your changes, and open a PR. We review every contribution and provide feedback to help you get merged.

Good first issues

Simple issues suited for people new to open source development, and often a good place to start working on a package.
View good first issues