VisCommandsvis check

vis check

Check for outdated dependencies in workspace catalogs

vis check

Check for outdated dependencies in workspace catalogs. Only supported for pnpm or bun workspaces with catalogs.

Alias: vis c

Usage

vis check [packages] [options]

Examples

vis check                           # Check all catalog dependencies
vis check react                     # Check specific packages
vis check --target minor            # Only show minor/patch updates
vis check --exclude '@types/*'      # Exclude packages by pattern
vis check --security                # Include security vulnerability info
vis check --format json             # Machine-readable output
vis check --exit-code               # Exit 1 if outdated (for CI)

Options

OptionAliasDefaultDescription
--target-tlatestUpdate target: latest, minor, or patch
--includeGlob pattern to include packages (repeatable)
--excludeGlob pattern to exclude packages (repeatable)
--prereleasefalseInclude prerelease versions
--securityfalseCheck for known security vulnerabilities (OSV.dev)
--formattableOutput format: table, json, or minimal
--exit-codefalseExit with code 1 if outdated dependencies found (CI)

Output Formats

Table (default)

Displays a color-coded table showing package name, catalog, current version, target version, and update type (patch/minor/major).

JSON

Machine-readable JSON output including both outdated entries and any packages that failed to fetch:

{
    "failed": [],
    "outdated": [
        {
            "packageName": "typescript",
            "catalog": "default",
            "currentVersion": "5.3.0",
            "targetVersion": "5.7.0",
            "updateType": "minor"
        }
    ]
}

Minimal

Compact one-line-per-package output, suitable for scripting.

Configuration Defaults

Set defaults in vis.json to avoid repeating options:

{
    "update": {
        "target": "minor",
        "exclude": ["legacy-*", "deprecated-*"]
    }
}

CI Usage

Use --exit-code to fail CI when outdated dependencies are found:

- name: Check dependencies
  run: vis check --exit-code --format json > deps-report.json
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