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

k,l*: use std_npm_args #179113

Merged
merged 10 commits into from
Aug 2, 2024
21 changes: 9 additions & 12 deletions Formula/k/keploy.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Keploy < Formula
desc "Testing Toolkit creates test-cases and data mocks from API calls, DB queries"
homepage "https://keploy.io"
Expand All @@ -8,15 +6,14 @@ class Keploy < Formula
license "Apache-2.0"

bottle do
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "be1248bf4f0a1b0824b8385bf78de390a761bb1c4c576687fd1a83eeef4d2017"
sha256 cellar: :any_skip_relocation, arm64_ventura: "61adb55108c119cbaf60a0679b45a2bff5cce9d02e68e90b5f423fc7d0fe8f43"
sha256 cellar: :any_skip_relocation, arm64_monterey: "b3307c3128ee1a3d12d3c29d969af5dd27268aef707f3cc99cc69934c6b90156"
sha256 cellar: :any_skip_relocation, sonoma: "06b885259fd6fc314d58b133749dbe7e2a9a7d660a304b1a298117d69d35ebc6"
sha256 cellar: :any_skip_relocation, ventura: "57cf7126114751fd4b4e2bdf2a12d3820181fe069220a046fd1626a8b934fc02"
sha256 cellar: :any_skip_relocation, monterey: "d8e8a354dfac6feedea50008b3b023e061dc4591c43ab7e1dd300913ff409c1d"
sha256 cellar: :any_skip_relocation, big_sur: "7736b3ff430fa17c7d38311558adb2e3f790c771cb7ad841b56793cc0798eac4"
sha256 cellar: :any_skip_relocation, x86_64_linux: "e0709e89362133925d029532ce2fc6f0854d1e0c6cb2063b30fdfb4789b22ef7"
rebuild 2
sha256 cellar: :any_skip_relocation, arm64_sonoma: "a4c1ff38ce94806a8b119129fd8ac7f42633ecb166f05bfc59e705b254b307cb"
sha256 cellar: :any_skip_relocation, arm64_ventura: "aa3a2f6707c899ddbffb692af55995c9a7d816d042f8513711cc3f9f5d3ce8de"
sha256 cellar: :any_skip_relocation, arm64_monterey: "2cce4d0d5f5ce7848a2b4ab4ffae6bfdb7510183ce91e2c1f857851fbd904a43"
sha256 cellar: :any_skip_relocation, sonoma: "a66deb7fab41a27e1d3b67231767829fe30f6777ac4a55fcab0cb3e676329086"
sha256 cellar: :any_skip_relocation, ventura: "d74339c64292667bd58c3992c102824c066026db888876be155457c43c61bcd1"
sha256 cellar: :any_skip_relocation, monterey: "c63d9cc23e4fd38c07824c0051ce706040460e5fa7c6748a7d489ffd64a16b52"
sha256 cellar: :any_skip_relocation, x86_64_linux: "461b9cdae239304c196d0429a202b86df40a79e24c2342c240ea20bc7001118f"
end

depends_on "gatsby-cli" => :build
Expand All @@ -31,7 +28,7 @@ class Keploy < Formula
def install
resource("ui").stage do
ENV["SHARP_IGNORE_GLOBAL_LIBVIPS"] = "1"
system "npm", "install", "--legacy-peer-deps", *Language::Node.local_npm_install_args
system "npm", "install", "--legacy-peer-deps", *std_npm_args(prefix: false)
system "gatsby", "build"
buildpath.install "./public"
end
Expand Down
19 changes: 9 additions & 10 deletions Formula/k/kubevious.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Kubevious < Formula
desc "Detects and prevents Kubernetes misconfigurations and violations"
homepage "https://github.com/kubevious/cli"
Expand All @@ -8,19 +6,20 @@ class Kubevious < Formula
license "Apache-2.0"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "ac3c8e3b7eea3982848c1d7d39f20e8a3486f5ca45ed163cfd7328afe2e69748"
sha256 cellar: :any_skip_relocation, arm64_ventura: "ac3c8e3b7eea3982848c1d7d39f20e8a3486f5ca45ed163cfd7328afe2e69748"
sha256 cellar: :any_skip_relocation, arm64_monterey: "ac3c8e3b7eea3982848c1d7d39f20e8a3486f5ca45ed163cfd7328afe2e69748"
sha256 cellar: :any_skip_relocation, sonoma: "7b68ec2a3f12842af1d837943008ac6db58a356669df33e393336a65bae41094"
sha256 cellar: :any_skip_relocation, ventura: "7b68ec2a3f12842af1d837943008ac6db58a356669df33e393336a65bae41094"
sha256 cellar: :any_skip_relocation, monterey: "7b68ec2a3f12842af1d837943008ac6db58a356669df33e393336a65bae41094"
sha256 cellar: :any_skip_relocation, x86_64_linux: "94541fa917a9f52ef7cb859f25f941e6e98539590574ed7abb6eee6a834c3bb7"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "8c78495efcec217c11bf5780a765b5871294883e82447087bf3fc53451e1fb84"
sha256 cellar: :any_skip_relocation, arm64_ventura: "8c78495efcec217c11bf5780a765b5871294883e82447087bf3fc53451e1fb84"
sha256 cellar: :any_skip_relocation, arm64_monterey: "8c78495efcec217c11bf5780a765b5871294883e82447087bf3fc53451e1fb84"
sha256 cellar: :any_skip_relocation, sonoma: "824d2b7a07241392f336672c7d3f514b4345ac1a78189fd422372ec611e4c691"
sha256 cellar: :any_skip_relocation, ventura: "824d2b7a07241392f336672c7d3f514b4345ac1a78189fd422372ec611e4c691"
sha256 cellar: :any_skip_relocation, monterey: "824d2b7a07241392f336672c7d3f514b4345ac1a78189fd422372ec611e4c691"
sha256 cellar: :any_skip_relocation, x86_64_linux: "51a9d36844726c3ffc2749818ffe30b8d9b45e5a4806e7b947b61d0d0270da96"
end

depends_on "node"

def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
system "npm", "install", *std_npm_args
bin.install_symlink Dir["#{libexec}/bin/*"]
end

Expand Down
13 changes: 9 additions & 4 deletions Formula/k/kuto.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Kuto < Formula
desc "Reverse JS bundler"
homepage "https://github.com/samthor/kuto"
Expand All @@ -8,13 +6,20 @@ class Kuto < Formula
license "Apache-2.0"

bottle do
sha256 cellar: :any_skip_relocation, all: "ef0cca54501f33ac8ec2b3610a5d0897035e0ba672301e5bd7a6f858d4eff110"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "8cad58c77f143c7fbfd10d10df241f2b4fd1bf9f66bb1d3aaa6dfcb22ff64af6"
sha256 cellar: :any_skip_relocation, arm64_ventura: "8cad58c77f143c7fbfd10d10df241f2b4fd1bf9f66bb1d3aaa6dfcb22ff64af6"
sha256 cellar: :any_skip_relocation, arm64_monterey: "8cad58c77f143c7fbfd10d10df241f2b4fd1bf9f66bb1d3aaa6dfcb22ff64af6"
sha256 cellar: :any_skip_relocation, sonoma: "8cad58c77f143c7fbfd10d10df241f2b4fd1bf9f66bb1d3aaa6dfcb22ff64af6"
sha256 cellar: :any_skip_relocation, ventura: "8cad58c77f143c7fbfd10d10df241f2b4fd1bf9f66bb1d3aaa6dfcb22ff64af6"
sha256 cellar: :any_skip_relocation, monterey: "8cad58c77f143c7fbfd10d10df241f2b4fd1bf9f66bb1d3aaa6dfcb22ff64af6"
sha256 cellar: :any_skip_relocation, x86_64_linux: "2f015ff49cc97418ef019b5830e80d66c7d545dea4f8d36b237825bef909bc61"
end

depends_on "node"

def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
system "npm", "install", *std_npm_args
bin.install_symlink Dir["#{libexec}/bin/*"]
end

Expand Down
23 changes: 10 additions & 13 deletions Formula/l/leapp-cli.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class LeappCli < Formula
desc "Cloud credentials manager cli"
homepage "https://github.com/noovolari/leapp"
Expand All @@ -8,13 +6,14 @@ class LeappCli < Formula
license "MPL-2.0"

bottle do
sha256 arm64_sonoma: "95490933985ac191a11b046a2b032858a03cfd4994342fc65a5736d7d9dcc4e7"
sha256 arm64_ventura: "08d47e74e06f75c3619d703f29ff8ca67f408a1f2c0c9852f5dcb24a9c66e792"
sha256 arm64_monterey: "5bd83996ed049cc64b2117d7fc4cdd71bd1e0bf401b27bdd5ee0d418657a7193"
sha256 sonoma: "2d903ae070c2a5dec9c800fa5aec0f05a8b65b08c44556ab283cad5062cc56c3"
sha256 ventura: "4041465dd93d488dcf06ecf6b0c9bb2835a84b1d8cdd1dc3f9996c014f9e44c7"
sha256 monterey: "b1e27f9ef7df7dc07dc2de94a7e16d7a0f6610115eb348e045f42f02ae475865"
sha256 cellar: :any_skip_relocation, x86_64_linux: "e6314712fa2196365e54d599f2482707af827774256690a328921deb1e3fc867"
rebuild 1
sha256 arm64_sonoma: "db6a98507e65188b1fe4eb7708746e9a0e9e5fb7966a0f824b6f70ab2ca7891f"
sha256 arm64_ventura: "1a9d83cc2ab81ea856376671c9cf61dfa0274030cd58db67a63b5233d8b055f8"
sha256 arm64_monterey: "b418a493285d50efe1cce5809193c085243026e22664ac795c8c352dcc60fa01"
sha256 sonoma: "ee8f75982419c3a730061d07335b51a2911c3c22dc21a398c8d68f3bcfe8f0ba"
sha256 ventura: "fe8abfb2954f71fb7c34d7611235983d0878086a378e1945d62f8686963616fb"
sha256 monterey: "d53b9cb4420f95a20647b6d0ca02da15c005941889272b7aa00e4a2d1e5206cb"
sha256 cellar: :any_skip_relocation, x86_64_linux: "d9b5a0a0f4dfdef5663463397ef4b2d68d917de753f7bc0ccafeda392a1356d7"
end

depends_on "pkg-config" => :build
Expand All @@ -28,15 +27,13 @@ class LeappCli < Formula
end

def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
system "npm", "install", *std_npm_args
bin.install_symlink Dir["#{libexec}/bin/*"]
end

def caveats
<<~EOS
This formula only installs the command-line utilities by default.

Install Leapp.app with Homebrew Cask:
Only the `leap` CLI is installed. For Leapp.app:
brew install --cask leapp
EOS
end
Expand Down
19 changes: 9 additions & 10 deletions Formula/l/lerna.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Lerna < Formula
desc "Tool for managing JavaScript projects with multiple packages"
homepage "https://lerna.js.org"
Expand All @@ -8,19 +6,20 @@ class Lerna < Formula
license "MIT"

bottle do
sha256 cellar: :any, arm64_sonoma: "47bf26dfc54078e6b02add5c53ecc876c04a97ac6d5f18c0c49f04edbe1b6da3"
sha256 cellar: :any, arm64_ventura: "47bf26dfc54078e6b02add5c53ecc876c04a97ac6d5f18c0c49f04edbe1b6da3"
sha256 cellar: :any, arm64_monterey: "47bf26dfc54078e6b02add5c53ecc876c04a97ac6d5f18c0c49f04edbe1b6da3"
sha256 cellar: :any, sonoma: "c977e5b362a5602513c93ebab36007828bf45a1174e76e855423a0de3cf48389"
sha256 cellar: :any, ventura: "c977e5b362a5602513c93ebab36007828bf45a1174e76e855423a0de3cf48389"
sha256 cellar: :any, monterey: "c977e5b362a5602513c93ebab36007828bf45a1174e76e855423a0de3cf48389"
sha256 cellar: :any_skip_relocation, x86_64_linux: "fa2321bc39872469ccea2b2b0194bc1ccbc43ffe2dc29e78ed012276f40ecb6e"
rebuild 1
sha256 cellar: :any, arm64_sonoma: "8ef9cd555e0e56ea0ba20d71959207930f5ac98d52abc8edac974637bd7933e6"
sha256 cellar: :any, arm64_ventura: "8ef9cd555e0e56ea0ba20d71959207930f5ac98d52abc8edac974637bd7933e6"
sha256 cellar: :any, arm64_monterey: "8ef9cd555e0e56ea0ba20d71959207930f5ac98d52abc8edac974637bd7933e6"
sha256 cellar: :any, sonoma: "daaee64ba1d51295ecf68dcaf51266e31ad13ad80890b2ac546e7bd814753954"
sha256 cellar: :any, ventura: "daaee64ba1d51295ecf68dcaf51266e31ad13ad80890b2ac546e7bd814753954"
sha256 cellar: :any, monterey: "daaee64ba1d51295ecf68dcaf51266e31ad13ad80890b2ac546e7bd814753954"
sha256 cellar: :any_skip_relocation, x86_64_linux: "b7d1ad126628564dbfe06a6c7ca0e5489b4315dbb879b0477af6b3a6400040b2"
end

depends_on "node"

def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
system "npm", "install", *std_npm_args
bin.install_symlink Dir["#{libexec}/bin/*"]

# Replace universal binaries with native slices
Expand Down
Loading