diff --git a/Formula/p/pnpm.rb b/Formula/p/pnpm.rb index 4703a013bd684..1dedf1ef8bf15 100644 --- a/Formula/p/pnpm.rb +++ b/Formula/p/pnpm.rb @@ -3,8 +3,8 @@ class Pnpm < Formula desc "Fast, disk space efficient package manager" homepage "https://pnpm.io/" - url "https://registry.npmjs.org/pnpm/-/pnpm-8.8.0.tgz" - sha256 "d713a5750e41c3660d1e090608c7f607ad00d1dd5ba9b6552b5f390bf37924e9" + url "https://registry.npmjs.org/pnpm/-/pnpm-8.9.0.tgz" + sha256 "8f5264ad1d100da11a6add6bb8a94c6f1e913f9e9261b2a551fabefad2ec0fec" license "MIT" livecheck do @@ -13,13 +13,13 @@ class Pnpm < Formula end bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "9677d2dc4e1aef473ef6f4fd0a002707fdf4ca97084946f849a093cd2dfd54ac" - sha256 cellar: :any_skip_relocation, arm64_ventura: "9677d2dc4e1aef473ef6f4fd0a002707fdf4ca97084946f849a093cd2dfd54ac" - sha256 cellar: :any_skip_relocation, arm64_monterey: "9677d2dc4e1aef473ef6f4fd0a002707fdf4ca97084946f849a093cd2dfd54ac" - sha256 cellar: :any_skip_relocation, sonoma: "da5585f04a37c153ce69ebb86ef0031b896036c968c4a1f09ae549b9ecca6fca" - sha256 cellar: :any_skip_relocation, ventura: "da5585f04a37c153ce69ebb86ef0031b896036c968c4a1f09ae549b9ecca6fca" - sha256 cellar: :any_skip_relocation, monterey: "da5585f04a37c153ce69ebb86ef0031b896036c968c4a1f09ae549b9ecca6fca" - sha256 cellar: :any_skip_relocation, x86_64_linux: "9677d2dc4e1aef473ef6f4fd0a002707fdf4ca97084946f849a093cd2dfd54ac" + sha256 cellar: :any, arm64_sonoma: "8bf4b23c311638d3746a44c880a831adc3ac2251b664daea757f6a15ea06168f" + sha256 cellar: :any, arm64_ventura: "8bf4b23c311638d3746a44c880a831adc3ac2251b664daea757f6a15ea06168f" + sha256 cellar: :any, arm64_monterey: "8bf4b23c311638d3746a44c880a831adc3ac2251b664daea757f6a15ea06168f" + sha256 cellar: :any, sonoma: "f6a01095f7d6d8a0553a045c6bf31c548185088c3dd02ea658f6efaa71ee2e67" + sha256 cellar: :any, ventura: "f6a01095f7d6d8a0553a045c6bf31c548185088c3dd02ea658f6efaa71ee2e67" + sha256 cellar: :any, monterey: "f6a01095f7d6d8a0553a045c6bf31c548185088c3dd02ea658f6efaa71ee2e67" + sha256 cellar: :any_skip_relocation, x86_64_linux: "dda38714d33b3f8603e0aa328deb14637a091a0ba28f6f14d9ac1a298e110fac" end depends_on "node" => :test @@ -30,6 +30,13 @@ def install libexec.install buildpath.glob("*") bin.install_symlink "#{libexec}/bin/pnpm.cjs" => "pnpm" bin.install_symlink "#{libexec}/bin/pnpx.cjs" => "pnpx" + + # remove non-native architecture pre-built binaries + (libexec/"dist").glob("reflink.*.node").each do |f| + next if f.arch == Hardware::CPU.arch + + rm f + end end def caveats