File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ class Corepack < Formula
1616
1717 depends_on "node"
1818
19+ conflicts_with "hadoop" , because : "both install `yarn` binaries"
20+ conflicts_with "pnpm" , because : "both install `pnpm` and `pnpx` binaries"
21+ conflicts_with "yarn" , because : "both install `yarn` and `yarnpkg` binaries"
22+
1923 def install
2024 system "npm" , "install" , *std_npm_args
2125 bin . install_symlink Dir [ "#{ libexec } /bin/*" ]
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ class Hadoop < Formula
1818 # WARNING: Check https://cwiki.apache.org/confluence/display/HADOOP/Hadoop+Java+Versions before updating JDK version
1919 depends_on "openjdk@11"
2020
21+ conflicts_with "corepack" , because : "both install `yarn` binaries"
2122 conflicts_with "yarn" , because : "both install `yarn` binaries"
2223
2324 def install
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ class Pnpm < Formula
2323
2424 depends_on "node" => [ :build , :test ]
2525
26+ conflicts_with "corepack" , because : "both install `pnpm` and `pnpx` binaries"
27+
2628 def install
2729 system "npm" , "install" , *std_npm_args
2830 bin . install_symlink libexec . glob ( "bin/*" )
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ class Yarn < Formula
1616
1717 depends_on "node" => :test
1818
19+ conflicts_with "corepack" , because : "both install `yarn` and `yarnpkg` binaries"
1920 conflicts_with "hadoop" , because : "both install `yarn` binaries"
2021
2122 def install
You can’t perform that action at this time.
0 commit comments