Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

daniellionel01/choire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎶 Choire - gleam dependency tooling

Package Version Hex Docs erlang

Deprecation Notice

Since gleam has introduced a built-in way to check for outdated dependencies (https://gleam.run/news/the-happy-holidays-2025-release/), you should rather use the gleam deps outdated command.

What about checking for different versions of the same dependency across multiple gleam apps inside of a monorepository? I am quite confident any of you can make a script in or let an AI generate it.

Introduction

Choire works in a gleam monorepo or singular project. It does two things for you:

  • Check for outdated dependencies
  • Check for different version of the same dependency across different gleam apps

Importantly, this package does not perform any modifications or updates for you. This design is intentional as to not mess up your project in any way.

Usage

Don't forget to add this dependency as a dev dependency!

$ gleam add choire@1 --dev
$ gleam run -m choire    # runs in current directory
$ gleam run -m choire .. # runs in parent directory

Example

$ gleam run -m choire

> found 3 packages

> found a mismatch for: lustre
  v5.0.3 (./sample/sample_b/gleam.toml)
  v4.6.4 (./sample/sample_a/gleam.toml)

fetching latest stable dependency versions...

> found 1 upgradable dependencies in ./sample/sample_a/gleam.toml
  lustre v4.6.4 -> v5.0.3

Hex API and Ratelimits

At the time of this writing, you can make 100 requests per minute to the HEX api as an unauthenticated user and 500 per minute as an authenticated user (https://hexpm.docs.apiary.io/#introduction/rate-limiting).

Since the limit resets after 60 seconds, this library will simply hold and wait for the limit to reset and then continue fetching the package information.

Acknowledgements

About

🎶 Choire - gleam dependency tooling

Resources

License

Stars

Watchers

Forks

Contributors

Languages