Tap for standard environment formulae

After becoming frustrated with brew upgrade yarn continually installing node for me when I don’t need/want Homebrew’s version of node, I’ve come up with a solution that I think works pretty well and I’d be interested to see what the community thinks of it.

Basically make node depends_on optional, and then add a new custom node Requirement that can look into the standard environment for node or alternatively be satisfied if --with-node is passed in.

The idea would be to add additional formulae to the repo starting with others that depend on node, and branch out from there.

1 Like

Intriguing, thanks for sharing!