The update of the brew formula should be automatically update upon release of a new npm package.
✔️ Solution
I think ideally there could be a PR opened by a bot in the homebrew tap repository when a new npm package is detected.
I don't know how to implement this without creating a build dependency from the npm package to the brew package, because I believe the dependency should be the opposite only.
We need to do some research and discuss.
📈 Subtasks
🎯 Definition of Done
[ ] brew formula updated on new CLI version, available to the user as brew upgrade
📚 Context
The brew formula references the npm package deployed to npmjs and also has the sha256 hash of the package.
The update of the brew formula should be automatically update upon release of a new npm package.
✔️ Solution
I think ideally there could be a PR opened by a bot in the homebrew tap repository when a new npm package is detected. I don't know how to implement this without creating a build dependency from the npm package to the brew package, because I believe the dependency should be the opposite only.
We need to do some research and discuss.
📈 Subtasks
🎯 Definition of Done
brew upgrade