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

h*: use std_npm_args #179096

Merged
merged 10 commits into from
Jul 31, 2024
17 changes: 9 additions & 8 deletions Formula/h/hasura-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ class HasuraCli < Formula
end

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "592acd9e75a0807cb0e3accd61e057735b0cd4c222827afd2190014141714d03"
sha256 cellar: :any_skip_relocation, arm64_ventura: "3c19b357ac153527222e5549e8d481a2d523de306adab8131dd15e3e88fdce7a"
sha256 cellar: :any_skip_relocation, arm64_monterey: "832ee4544a7d3fce77de6dd9d447cee3556126d29bb6d9275a0489e0156a3f9b"
sha256 cellar: :any_skip_relocation, sonoma: "0d275433cfe05100bf8cf6fdd98cc72301d1f5e440ba2a0850e2874c2ea8d9e8"
sha256 cellar: :any_skip_relocation, ventura: "ec285264d4564ac31845238e70e110d1e66b536da5f7758844badfc23b76e1fd"
sha256 cellar: :any_skip_relocation, monterey: "66d93c2145bbbfd3562751f81c5a666cd21b00388e8a117e0229a983bd3db8ff"
sha256 cellar: :any_skip_relocation, x86_64_linux: "c9e694bb8d0fc21309bea6ac47cbd90ce7fa7fb23de3250c24fdea718f49d498"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "d86e8d061a314addf8afd0723b1f3e089be3948216ef9a6563cce7b0360bac27"
sha256 cellar: :any_skip_relocation, arm64_ventura: "746dfe36905caad3a6101ac38cc251510e2fe59c17d3dc1432d6fe5c5c7622fb"
sha256 cellar: :any_skip_relocation, arm64_monterey: "ed5c8fd5bd56ed46841ebc0e25e79af48876e30316c6d0cdd06ece5b92ba655f"
sha256 cellar: :any_skip_relocation, sonoma: "999fb29b2ff01854e84af50bc4a2a2a2c80ec1e18257e56755483431f3d70676"
sha256 cellar: :any_skip_relocation, ventura: "f72c9e64aca5043a47bea23b03f743653084ea728cb8649710a2e9b6a21dfe06"
sha256 cellar: :any_skip_relocation, monterey: "3bba3b885ede9948c3d7f493819f769a8c420661c30a7579df23d9b54cf50d3e"
sha256 cellar: :any_skip_relocation, x86_64_linux: "c3d9c249f2f959ab8764d4302be8ed6ae9f189eb57a05b022248f63aa0f188e4"
end

depends_on "go" => :build
Expand All @@ -41,7 +42,7 @@ def install
cd "cli-ext" do
# TODO: Remove `npm update pkg` when https://github.com/hasura/graphql-engine/issues/9440 is resolved.
system "npm", "update", "pkg"
system "npm", "install", *Language::Node.local_npm_install_args
system "npm", "install", *std_npm_args(prefix: false)
system "npm", "run", "prebuild"
system "./node_modules/.bin/pkg", "./build/command.js", "--output", "./bin/cli-ext-hasura", "-t", "host"
end
Expand Down
19 changes: 9 additions & 10 deletions Formula/h/hexo.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Hexo < Formula
desc "Fast, simple & powerful blog framework"
homepage "https://hexo.io/"
Expand All @@ -9,20 +7,21 @@ class Hexo < Formula
head "https://github.com/hexojs/hexo.git", branch: "master"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "8cdc68c835619a51bb1b89cf75a9c2d7ca03e0784008dd5f02999bf4e8f6ebb1"
sha256 cellar: :any_skip_relocation, arm64_ventura: "8cdc68c835619a51bb1b89cf75a9c2d7ca03e0784008dd5f02999bf4e8f6ebb1"
sha256 cellar: :any_skip_relocation, arm64_monterey: "8cdc68c835619a51bb1b89cf75a9c2d7ca03e0784008dd5f02999bf4e8f6ebb1"
sha256 cellar: :any_skip_relocation, sonoma: "e928e99e2d1a58a06a8449d6180dc4838bf0486a9c0b66546c8d75ba5daa08ab"
sha256 cellar: :any_skip_relocation, ventura: "e928e99e2d1a58a06a8449d6180dc4838bf0486a9c0b66546c8d75ba5daa08ab"
sha256 cellar: :any_skip_relocation, monterey: "e928e99e2d1a58a06a8449d6180dc4838bf0486a9c0b66546c8d75ba5daa08ab"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f5d0f8b4bfd2f07eeeff81162960f76f5d87be53b32f668fb7c3aac49e2e1367"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "209a443cc5a02dd08fad22385e10e453b903b22ab90d0c19a825da1bcba3d6be"
sha256 cellar: :any_skip_relocation, arm64_ventura: "209a443cc5a02dd08fad22385e10e453b903b22ab90d0c19a825da1bcba3d6be"
sha256 cellar: :any_skip_relocation, arm64_monterey: "209a443cc5a02dd08fad22385e10e453b903b22ab90d0c19a825da1bcba3d6be"
sha256 cellar: :any_skip_relocation, sonoma: "e44df1e02afe2df6e9957c624aa306392d7ef6e9273a65bad30cce1826644443"
sha256 cellar: :any_skip_relocation, ventura: "e44df1e02afe2df6e9957c624aa306392d7ef6e9273a65bad30cce1826644443"
sha256 cellar: :any_skip_relocation, monterey: "e44df1e02afe2df6e9957c624aa306392d7ef6e9273a65bad30cce1826644443"
sha256 cellar: :any_skip_relocation, x86_64_linux: "803c580e42eadd1f4dd66bcb435bbc117df28b3a1e6a9c0c85551940d9d3c79a"
end

depends_on "node"

def install
mkdir_p libexec/"lib"
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 their native slices.
Expand Down
19 changes: 9 additions & 10 deletions Formula/h/hsd.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Hsd < Formula
desc "Handshake Daemon & Full Node"
homepage "https://handshake.org"
Expand All @@ -13,20 +11,21 @@ class Hsd < Formula
end

bottle do
sha256 arm64_sonoma: "61c2aa6a86c332b29b03754702df5e26cb6e263eb6a25df50c19ecf27794643a"
sha256 arm64_ventura: "2f3102a965e2e4ce59a7702309301cf448e89bdea3d370f489b38310aa1298d3"
sha256 arm64_monterey: "42f2b274e0732cdde5412969b9200ffc32b1fd38818ea4c79901ac6b986448ab"
sha256 sonoma: "373070fc85e6e71ba588c7ed147c9ca5dfbfd7d8658687b8ff0b35b8f744bdac"
sha256 ventura: "ee3f6cc11f3a8b7d403a2881c68c2bc25046553f03f85b787115a918351b0cc8"
sha256 monterey: "2e68c505a331dce0c06e9dc3446d4d0586dbaee5caf4e4d9e35a5256654e915d"
sha256 cellar: :any_skip_relocation, x86_64_linux: "c48b88c9874c7717a3ca4ef378bd3a9233d3fe73cacc9ed56befbf8aeb316e17"
rebuild 1
sha256 arm64_sonoma: "aca335ee9c1ce485ff2707794e8266a99364f54126c52aa51a017516416469a5"
sha256 arm64_ventura: "724d34587826a5fbc70b8261c6cd5731615db65885792ee06eabc465de47f641"
sha256 arm64_monterey: "63016ff5b01c5817c264334ae73ec6563bf1407fe2c4d075e42fb9f48e9a4a20"
sha256 sonoma: "d868bb06dfe9b7249563131e6d0aefcb0ca78ec8edfafec38ed34127b740484f"
sha256 ventura: "92e1242289174273f88b61eaf3f27a17aee31498dd8f838fcee9eb76f0ae6195"
sha256 monterey: "e823e72e815659ec79d23f9232697bcb800da16d2634b47010e7e7e303b3d07b"
sha256 cellar: :any_skip_relocation, x86_64_linux: "9b725ebb4a9c05cc211b83a4932c53cd8054140bdbb62071bb7cccd34715be01"
end

depends_on "node"
depends_on "unbound"

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/h/http-server.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class HttpServer < Formula
desc "Simple zero-configuration command-line HTTP server"
homepage "https://github.com/http-party/http-server"
Expand All @@ -9,13 +7,20 @@ class HttpServer < Formula
head "https://github.com/http-party/http-server.git", branch: "master"

bottle do
sha256 cellar: :any_skip_relocation, all: "8e9d67691b2b1afcbff2ecaf2730ad9306e3d04f546d466a963bc8c9d0e0de6f"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "b8798ac5ea1972bc153b971db14968ada2527c73c4ac4c442f3c3e2c2d2b0802"
sha256 cellar: :any_skip_relocation, arm64_ventura: "b8798ac5ea1972bc153b971db14968ada2527c73c4ac4c442f3c3e2c2d2b0802"
sha256 cellar: :any_skip_relocation, arm64_monterey: "b8798ac5ea1972bc153b971db14968ada2527c73c4ac4c442f3c3e2c2d2b0802"
sha256 cellar: :any_skip_relocation, sonoma: "b8798ac5ea1972bc153b971db14968ada2527c73c4ac4c442f3c3e2c2d2b0802"
sha256 cellar: :any_skip_relocation, ventura: "b8798ac5ea1972bc153b971db14968ada2527c73c4ac4c442f3c3e2c2d2b0802"
sha256 cellar: :any_skip_relocation, monterey: "b8798ac5ea1972bc153b971db14968ada2527c73c4ac4c442f3c3e2c2d2b0802"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f9f714a6e9f2aae98529f5cf3c01587a9c3ff867ad8aa8446453a62688ff4bb4"
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
19 changes: 9 additions & 10 deletions Formula/h/httpyac.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Httpyac < Formula
desc "Quickly and easily send REST, SOAP, GraphQL and gRPC requests"
homepage "https://httpyac.github.io/"
Expand All @@ -8,13 +6,14 @@ class Httpyac < Formula
license "MIT"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "e46d3bea588bb7078209fbbb94f88c83c4041d7a7af6f389325201f07e1f57dc"
sha256 cellar: :any_skip_relocation, arm64_ventura: "e46d3bea588bb7078209fbbb94f88c83c4041d7a7af6f389325201f07e1f57dc"
sha256 cellar: :any_skip_relocation, arm64_monterey: "e46d3bea588bb7078209fbbb94f88c83c4041d7a7af6f389325201f07e1f57dc"
sha256 cellar: :any_skip_relocation, sonoma: "21ae5e623fdb380d94554910e60aae595c4a2bc94276355be50d2198ddae919c"
sha256 cellar: :any_skip_relocation, ventura: "21ae5e623fdb380d94554910e60aae595c4a2bc94276355be50d2198ddae919c"
sha256 cellar: :any_skip_relocation, monterey: "21ae5e623fdb380d94554910e60aae595c4a2bc94276355be50d2198ddae919c"
sha256 cellar: :any_skip_relocation, x86_64_linux: "379b95b110ca0ffa349bfe8d0ea9644714a3d1abdfcde9adc4cf4928fee7141d"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "20f4678757bf3a502c0910fab84880187f72c73a00220d5c24c9d406ba7a128e"
sha256 cellar: :any_skip_relocation, arm64_ventura: "20f4678757bf3a502c0910fab84880187f72c73a00220d5c24c9d406ba7a128e"
sha256 cellar: :any_skip_relocation, arm64_monterey: "20f4678757bf3a502c0910fab84880187f72c73a00220d5c24c9d406ba7a128e"
sha256 cellar: :any_skip_relocation, sonoma: "ac605190f0251454a44387b85d3d68c6f3bc34d03ff3ce09afbd9092a72b24c6"
sha256 cellar: :any_skip_relocation, ventura: "ac605190f0251454a44387b85d3d68c6f3bc34d03ff3ce09afbd9092a72b24c6"
sha256 cellar: :any_skip_relocation, monterey: "ac605190f0251454a44387b85d3d68c6f3bc34d03ff3ce09afbd9092a72b24c6"
sha256 cellar: :any_skip_relocation, x86_64_linux: "54f4110665146cf751ec7632a5672efcdeeee84670c12c63f6c424a2dacee413"
end

depends_on "node"
Expand All @@ -24,7 +23,7 @@ class Httpyac < 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/*"]

clipboardy_fallbacks_dir = libexec/"lib/node_modules/#{name}/node_modules/clipboardy/fallbacks"
Expand Down
Loading