Skip to content

About

Dependency check and installation across multiple languages

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

gh-dependency-pulse

Use this GitHub CLI extension to check public dependency releases before adding them to a project. Run gh dependency-pulse check for a release verdict, list to inspect direct dependencies offline, and install to hand an exact passing release to the project's package manager.

Pulse Check

Install the extension

Use GitHub CLI to install a published release and confirm the version.

gh extension install flarebyte/gh-dependency-pulse
gh dependency-pulse --version

Check a release

Check public npm, Go, PyPI, Cargo, Maven, Dart Pub, and Swift releases. Checks use release metadata from deps.dev, pub.dev, or GitHub and advisories from OSV. Gradle checks use Maven coordinates. The default policy requires a release age of at least 14 days and complete advisory evidence. For check, exit codes are 0 for pass, 1 for review or fail, and 2 for invalid usage.

gh dependency-pulse check npm is-number --version 7.0.0 --json
gh dependency-pulse check swift https://github.com/apple/swift-collections --version 1.1.4

Install a checked release

Run install from the consuming project's directory to pass a checked package coordinate and exact version to the native manager. Supported managers are npm, Cargo, uv, Go, Dart Pub, Gradle, and SwiftPM. Install preserves native output and exit status. Native configuration can select a replacement source, such as a Go module replace directive.

gh dependency-pulse install npm is-number --version 7.0.0

Gradle installs support single-project Kotlin/JVM builds on macOS and Linux. Run from the Git checkout root with a committed Gradle wrapper and Java on PATH. See the supported build shapes.

SwiftPM installs add an exact public GitHub dependency and verify its resolved pin. Run from the package root with Swift on PATH and a supported Package.swift manifest.

Dart Pub checks use the public pub.dev catalog. Dart installs require the public default host. Dart may reuse the source of an existing lockfile entry.

List direct dependencies

List direct npm, Go, Python, Cargo, Dart Pub, Maven, Gradle, or SwiftPM dependencies from the current directory. The listing works offline by default and reports where each exact version came from. Use --check to add release verdicts for up to 50 direct dependency rows.

gh dependency-pulse list npm --format json
gh dependency-pulse list go --format table
gh dependency-pulse list python --format table
gh dependency-pulse list cargo --format json
gh dependency-pulse list dart --format table
gh dependency-pulse list maven --format json
gh dependency-pulse list gradle --format table
gh dependency-pulse list swift --format table
gh dependency-pulse list npm --check --format table

Project defaults

Set policy defaults for check and install in .gh-dependency-pulse.cue. The output format applies to check and list.

minAgeDays: 30
format: "json"

In a Git checkout, the CLI searches from the current directory up to the Git root for the nearest config. Outside Git, it checks the current directory. Explicit flags override file defaults.

Further reading

  • Contributing covers building from source, local checks, and repository maintenance.
  • Release guide covers GitHub Actions builds and publishing.
  • The specification defines CLI behavior and implementation boundaries.

About

Dependency check and installation across multiple languages

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages