Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn, pnpm, pnpm@8: remove skip_clean #180632

Merged
merged 6 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions Formula/p/pnpm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,20 @@ class Pnpm < Formula
end

bottle do
sha256 cellar: :any, arm64_sonoma: "b36c35247f89846353fca4cc96e8b866c8592a99d15151695e5dd9a911e8aa21"
sha256 cellar: :any, arm64_ventura: "b36c35247f89846353fca4cc96e8b866c8592a99d15151695e5dd9a911e8aa21"
sha256 cellar: :any, arm64_monterey: "b36c35247f89846353fca4cc96e8b866c8592a99d15151695e5dd9a911e8aa21"
sha256 cellar: :any, sonoma: "f4767e04fdbe079bc2c7a79a004b5bff8b2d6eb09beb8f54a3beb37b22f42f02"
sha256 cellar: :any, ventura: "f4767e04fdbe079bc2c7a79a004b5bff8b2d6eb09beb8f54a3beb37b22f42f02"
sha256 cellar: :any, monterey: "f4767e04fdbe079bc2c7a79a004b5bff8b2d6eb09beb8f54a3beb37b22f42f02"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f9df20acfe25e3fef0a7618f39b138506f0c94098216dee804525fba9becfc8f"
rebuild 1
sha256 cellar: :any, arm64_sonoma: "02d90fa5cd08b7996958873ff8f231336486fdd2ec8adbc5d0e8a5c7bfe1432f"
sha256 cellar: :any, arm64_ventura: "02d90fa5cd08b7996958873ff8f231336486fdd2ec8adbc5d0e8a5c7bfe1432f"
sha256 cellar: :any, arm64_monterey: "02d90fa5cd08b7996958873ff8f231336486fdd2ec8adbc5d0e8a5c7bfe1432f"
sha256 cellar: :any, sonoma: "a984fbe43f35a573b0240b7fa92bae6a53862436bc42ad43ddd26da83f4d59ae"
sha256 cellar: :any, ventura: "a984fbe43f35a573b0240b7fa92bae6a53862436bc42ad43ddd26da83f4d59ae"
sha256 cellar: :any, monterey: "a984fbe43f35a573b0240b7fa92bae6a53862436bc42ad43ddd26da83f4d59ae"
sha256 cellar: :any_skip_relocation, x86_64_linux: "25ef72ffbdbf5a1a7f53ce523c6804ef8b40e5f3f22501964cf01d431bb3c440"
end

depends_on "node" => [:build, :test]

conflicts_with "corepack", because: "both installs `pnpm` and `pnpx` binaries"

skip_clean "bin"

def install
system "npm", "install", *std_npm_args
bin.install_symlink libexec.glob("bin/*")
Expand Down
17 changes: 8 additions & 9 deletions Formula/p/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ class PnpmAT8 < Formula
end

bottle do
sha256 cellar: :any, arm64_sonoma: "1817fa1a56d40c80b7dc0537277deaccc5f59b60592d58378ecede03a9978a29"
sha256 cellar: :any, arm64_ventura: "1817fa1a56d40c80b7dc0537277deaccc5f59b60592d58378ecede03a9978a29"
sha256 cellar: :any, arm64_monterey: "1817fa1a56d40c80b7dc0537277deaccc5f59b60592d58378ecede03a9978a29"
sha256 cellar: :any, sonoma: "9ed339801ba354d0a29eae81280393417485d47a41cb2ae37822ad3222b0d7c9"
sha256 cellar: :any, ventura: "9ed339801ba354d0a29eae81280393417485d47a41cb2ae37822ad3222b0d7c9"
sha256 cellar: :any, monterey: "9ed339801ba354d0a29eae81280393417485d47a41cb2ae37822ad3222b0d7c9"
sha256 cellar: :any_skip_relocation, x86_64_linux: "16489457ee27235fa2c6be678875d549e56c7cc5c9ba20588d2a02471c00eebe"
rebuild 1
sha256 cellar: :any, arm64_sonoma: "d27023c0a4cd4905688132e77e2729c06816516b1e35d9c73fcc4f70aedb05bf"
sha256 cellar: :any, arm64_ventura: "d27023c0a4cd4905688132e77e2729c06816516b1e35d9c73fcc4f70aedb05bf"
sha256 cellar: :any, arm64_monterey: "d27023c0a4cd4905688132e77e2729c06816516b1e35d9c73fcc4f70aedb05bf"
sha256 cellar: :any, sonoma: "b0146e361c9446d60b53583e83ca15eb49843b7d7056db3eced35b1c7066fc8c"
sha256 cellar: :any, ventura: "b0146e361c9446d60b53583e83ca15eb49843b7d7056db3eced35b1c7066fc8c"
sha256 cellar: :any, monterey: "b0146e361c9446d60b53583e83ca15eb49843b7d7056db3eced35b1c7066fc8c"
sha256 cellar: :any_skip_relocation, x86_64_linux: "7814ebe5944979026566edb11fa7466d282b4e7ec4fcfa6778c1a9cefdf02948"
end

keg_only :versioned_formula
Expand All @@ -26,8 +27,6 @@ class PnpmAT8 < Formula

depends_on "node" => [:build, :test]

skip_clean "bin"

def install
system "npm", "install", *std_npm_args
bin.install_symlink libexec.glob("bin/*")
Expand Down
5 changes: 2 additions & 3 deletions Formula/y/yarn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ class Yarn < Formula
end

bottle do
sha256 cellar: :any_skip_relocation, all: "9a80ed679d05f019e217f737a7d531f4578144b65be6a1a19d3322ef41d25683"
rebuild 1
sha256 cellar: :any_skip_relocation, all: "edb63a1b15d560263270324b63bee4c2aa8145197636a755436cc14424fc1e12"
end

depends_on "node" => :test

conflicts_with "hadoop", because: "both install `yarn` binaries"
conflicts_with "corepack", because: "both install `yarn` and `yarnpkg` binaries"

skip_clean "libexec/bin"

def install
libexec.install buildpath.glob("*")
(bin/"yarn").write_env_script libexec/"bin/yarn.js", PREFIX: HOMEBREW_PREFIX
Expand Down
Loading