prettierd
prettierd copied to clipboard
Is it possible to package the project for Homebrew?
The Current Issue I'm Facing
I use Homebrew to install most if not all of my CLI-based software including Node, npm
& prettier
(the non-daemon version). This allows me to update "everything" at one go using the set of commands brew upgrade && brew update
. Not making prettierd
available via Homebrew means I now have to remember to update my global npm
packages (which doesn't include anything for obvious reasons).
So, I was wondering if its possible to package the project for Homebrew & make it installable by simply invoking the brew install prettierd
command?
Also a heads up, you can find more detailed instructions on how to package a Node-based tools here - "Node for Formula Authors"
I assume we could do something very similar to the prettier formula, but installing prettierd instead of prettier. Not sure if homebrew folks would take the PR though? Could also setup a custom tap.
...could do something very similar to the prettier formula, but installing prettierd instead of prettier.
Isn't it possible to package prettierd
as a standalone Formula which can be installed alongside the prettier
Formula?
Could also setup a custom tap.
This can be a good short-term solution as well! So in that case, an user would be installing prettierd
by invoking this - brew install fsouza/prettierd
? In the long-run though I assume it might be possible to reach out to the Homebrew devs to merge a PR with the prettierd
Formula.
Isn't it possible to package
prettierd
as a standalone Formula which can be installed alongside theprettier
Formula?
Ops, missed this, but I meant we could copy the prettier formula heh I'll setup the tap sometime this week.
It's available now, but I'll keep it open until I build the integration to automatically update the tap.
It's automated now.