Open oximer opened 6 years ago
We don't currently have this to my knowledge, but it is an interesting idea!
This would require us to make a network call to a package manager to find the latest version, then check against semver of current.
A basic implementation might be easy, but I can see this scope creeping to every package manager ever.
@GantMan Got any input?
you can use
npm show package-name version
To check the version.
yes that would work - for npm.
with the current config object, I'm not sure there is a way for us to know this is a binary from npm.
It's possible to configure Solidarity Options to have the latest version of a package as the wanted version.
{ "rule": "cli", "binary": "gam", "error": "Try
npm install -g gam-cli
", "semver": "latest", "error": "please install withbrew install watchman
" },Something like this.