Skip to content

Commit

Permalink
Merge pull request #179358 from branchvincent/std_npm_args-u
Browse files Browse the repository at this point in the history
u,v,z*: use `std_npm_args`
  • Loading branch information
BrewTestBot committed Aug 2, 2024
2 parents 32f3a49 + 555f76c commit edfd18d
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 75 deletions.
19 changes: 9 additions & 10 deletions Formula/v/vercel-cli.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class VercelCli < Formula
desc "Command-line interface for Vercel"
homepage "https://vercel.com/home"
Expand All @@ -8,21 +6,22 @@ class VercelCli < Formula
license "Apache-2.0"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "a768f00758f1120cb79fc6741f589da3c064a54fcb3352ad12c686bd022b4699"
sha256 cellar: :any_skip_relocation, arm64_ventura: "a768f00758f1120cb79fc6741f589da3c064a54fcb3352ad12c686bd022b4699"
sha256 cellar: :any_skip_relocation, arm64_monterey: "a768f00758f1120cb79fc6741f589da3c064a54fcb3352ad12c686bd022b4699"
sha256 cellar: :any_skip_relocation, sonoma: "44196b37a0b08432a49ca09c322556576c27207b6511abd47d65696038ea077c"
sha256 cellar: :any_skip_relocation, ventura: "44196b37a0b08432a49ca09c322556576c27207b6511abd47d65696038ea077c"
sha256 cellar: :any_skip_relocation, monterey: "44196b37a0b08432a49ca09c322556576c27207b6511abd47d65696038ea077c"
sha256 cellar: :any_skip_relocation, x86_64_linux: "43e5d46519052533fe50b38e133f63e1393c5ee33d5512b4cabe4db36e871ab2"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "2426462a8f53824a133f952b8068e075b3052847d1804fa86d46314f342bdeaf"
sha256 cellar: :any_skip_relocation, arm64_ventura: "2426462a8f53824a133f952b8068e075b3052847d1804fa86d46314f342bdeaf"
sha256 cellar: :any_skip_relocation, arm64_monterey: "2426462a8f53824a133f952b8068e075b3052847d1804fa86d46314f342bdeaf"
sha256 cellar: :any_skip_relocation, sonoma: "0343f517d797dfe316db6972af20f38b3208c17e47f66494a3b5a2615b911a1a"
sha256 cellar: :any_skip_relocation, ventura: "0343f517d797dfe316db6972af20f38b3208c17e47f66494a3b5a2615b911a1a"
sha256 cellar: :any_skip_relocation, monterey: "0343f517d797dfe316db6972af20f38b3208c17e47f66494a3b5a2615b911a1a"
sha256 cellar: :any_skip_relocation, x86_64_linux: "697908a7a866b83719e63238e1323bb01734ecc249431ce76864825f9196a8eb"
end

depends_on "node"

def install
inreplace "dist/index.js", "${await getUpdateCommand()}",
"brew upgrade vercel-cli"
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
system "npm", "install", *std_npm_args
bin.install_symlink Dir["#{libexec}/bin/*"]

# Remove incompatible deasync modules
Expand Down
19 changes: 9 additions & 10 deletions Formula/v/vite.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Vite < Formula
desc "Next generation frontend tooling. It's fast!"
homepage "https://vitejs.dev/"
Expand All @@ -8,19 +6,20 @@ class Vite < Formula
license "MIT"

bottle do
sha256 cellar: :any, arm64_sonoma: "a3420355f2c4b2794f5f0302d24e9bb8eb6ef180936c2c6c9eaea5239a75e4fb"
sha256 cellar: :any, arm64_ventura: "a3420355f2c4b2794f5f0302d24e9bb8eb6ef180936c2c6c9eaea5239a75e4fb"
sha256 cellar: :any, arm64_monterey: "a3420355f2c4b2794f5f0302d24e9bb8eb6ef180936c2c6c9eaea5239a75e4fb"
sha256 cellar: :any, sonoma: "7f867e3bfc0d1119a3b39e3a6a03e7214f4218c89609c0d04cc0196fe2d153fa"
sha256 cellar: :any, ventura: "7f867e3bfc0d1119a3b39e3a6a03e7214f4218c89609c0d04cc0196fe2d153fa"
sha256 cellar: :any, monterey: "7f867e3bfc0d1119a3b39e3a6a03e7214f4218c89609c0d04cc0196fe2d153fa"
sha256 cellar: :any_skip_relocation, x86_64_linux: "7a534bd3322649959cda696743cdb842e11dc15b57fa09cc42baf2eaec76ad47"
rebuild 1
sha256 cellar: :any, arm64_sonoma: "c2d7e75fb269ed66c854862f5bed0090cb24f7298cd59e4316c0e06c9ca9a552"
sha256 cellar: :any, arm64_ventura: "c2d7e75fb269ed66c854862f5bed0090cb24f7298cd59e4316c0e06c9ca9a552"
sha256 cellar: :any, arm64_monterey: "c2d7e75fb269ed66c854862f5bed0090cb24f7298cd59e4316c0e06c9ca9a552"
sha256 cellar: :any, sonoma: "b64f5beb389ef7d332e2838a8fea319b387f478890e1ba7908eda471efaa35ac"
sha256 cellar: :any, ventura: "b64f5beb389ef7d332e2838a8fea319b387f478890e1ba7908eda471efaa35ac"
sha256 cellar: :any, monterey: "b64f5beb389ef7d332e2838a8fea319b387f478890e1ba7908eda471efaa35ac"
sha256 cellar: :any_skip_relocation, x86_64_linux: "1fdb5ca2b4c5df772ccd91c3bb9fdfef8f64faffb45f0c7bd7c354ae33a68e95"
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
22 changes: 10 additions & 12 deletions Formula/v/vsce.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Vsce < Formula
desc "Tool for packaging, publishing and managing VS Code extensions"
homepage "https://code.visualstudio.com/api/working-with-extensions/publishing-extension#vsce"
Expand All @@ -14,25 +12,25 @@ class Vsce < Formula
end

bottle do
sha256 arm64_sonoma: "e2aa2ae7394da50aff107c46c1d1c33f7828bdf2c0d73880e035ad94029df4f2"
sha256 arm64_ventura: "7f4a3b3b9f799b1a9c9512d7ef494b9824addf2a905eddd82e64bf9d63144442"
sha256 arm64_monterey: "bdf14a9463ff09ed539eb806fa32ea0f696211393b63b0e863c5fd84b3b7c9c4"
sha256 arm64_big_sur: "a2f3f741154cf72545c2040069ef9b46bd0bbf1dc5fb2a44d7e316b46459b75b"
sha256 sonoma: "70915ce3da8641c5ec0d195a5ef1073859f7f6141610939be450a5fba087b634"
sha256 ventura: "8a63015f35cb184f30152a9c6436a49cbbea4d69360862dadd7727e6cc78f8ea"
sha256 monterey: "58550e96cc292bebc2f160606a487dfe586f7a1f1b420ecdd9f834cd9a6f647f"
sha256 big_sur: "d663fa67753a57eb4a82253bffcc7ae2563a0b8721e3ead316554ac7c305e830"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f848e56aeabd87e89ccd59771bfc6a7e5fb165d3b942b1cd75fc59d3ed040727"
rebuild 1
sha256 arm64_sonoma: "48d0726cf723c7bc8a7cc6dc70ac7264acd991fb754d3f532221b30f46f69b06"
sha256 arm64_ventura: "0c6eb6b03b64e309d96faf44d2472a96d7fbcd3f6159530f46dd735b30ebd8a4"
sha256 arm64_monterey: "3095ea99be11fdcba4cd2e1c5e347c6a11b68e32c401fd0e361262e0328b00ac"
sha256 sonoma: "afe4a6cf108c2aee2a672a8dff18b1161ca6c66da40a95527f366233000020fd"
sha256 ventura: "aad312e494c4dab3ec434fc833fe4d3390a0e2419b2ab4f9336cb43aafc1d318"
sha256 monterey: "d6d5b20923a47882415980fd659a0c3b5313811fa747fba41ed47acc2ab91dda"
sha256 cellar: :any_skip_relocation, x86_64_linux: "67ee6be7fadd75c972f68455ac4c3c75a9fa7f8de4ac1205dbb80df6d9889e66"
end

depends_on "node"

on_linux do
depends_on "pkg-config" => :build
depends_on "libsecret"
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

Expand Down
19 changes: 9 additions & 10 deletions Formula/v/vscode-langservers-extracted.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class VscodeLangserversExtracted < Formula
desc "Language servers for HTML, CSS, JavaScript, and JSON extracted from vscode"
homepage "https://github.com/hrsh7th/vscode-langservers-extracted"
Expand All @@ -8,19 +6,20 @@ class VscodeLangserversExtracted < Formula
license "MIT"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "0a7c513b71c7e19d575bffabe3720d26972fd30dd498f3cb39e167d5085d882c"
sha256 cellar: :any_skip_relocation, arm64_ventura: "1ae76e977c580714608211f6d1ec941e090e29796d6e8bb0f43be1fd4547283f"
sha256 cellar: :any_skip_relocation, arm64_monterey: "c94084b34360c77bbd5e723dc98deae0cfc7de7eb87cc7e7f90f649f1cce8032"
sha256 cellar: :any_skip_relocation, sonoma: "7bb7bd4273920acc2433277b4b22c55db6fbce9dc3bb7a3d516db7b50f8c6df8"
sha256 cellar: :any_skip_relocation, ventura: "8f2efb458646504a94be80cb5e2b280f67c611f5cc0bce246bd70211865e9239"
sha256 cellar: :any_skip_relocation, monterey: "d9849d01ed540ae75f1362c54c965804ff4fc3be7d74a0585117b965e99ab6a7"
sha256 cellar: :any_skip_relocation, x86_64_linux: "1a17a73ee7294466810e80001c5a728788413915fa97801e3cb5af47dbd2703e"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "cc7c65e7fc3a6b6e3b8faa96ad591fa53674e1a37af47ed2f720a03b53e5ce95"
sha256 cellar: :any_skip_relocation, arm64_ventura: "cc7c65e7fc3a6b6e3b8faa96ad591fa53674e1a37af47ed2f720a03b53e5ce95"
sha256 cellar: :any_skip_relocation, arm64_monterey: "cc7c65e7fc3a6b6e3b8faa96ad591fa53674e1a37af47ed2f720a03b53e5ce95"
sha256 cellar: :any_skip_relocation, sonoma: "cc7c65e7fc3a6b6e3b8faa96ad591fa53674e1a37af47ed2f720a03b53e5ce95"
sha256 cellar: :any_skip_relocation, ventura: "cc7c65e7fc3a6b6e3b8faa96ad591fa53674e1a37af47ed2f720a03b53e5ce95"
sha256 cellar: :any_skip_relocation, monterey: "cc7c65e7fc3a6b6e3b8faa96ad591fa53674e1a37af47ed2f720a03b53e5ce95"
sha256 cellar: :any_skip_relocation, x86_64_linux: "4c4fb83e422027cda9f1cbcd7f731e108298912148d65d5ecbaf29a8725558d3"
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
22 changes: 9 additions & 13 deletions Formula/v/vue-cli.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class VueCli < Formula
desc "Standard Tooling for Vue.js Development"
homepage "https://cli.vuejs.org/"
Expand All @@ -8,16 +6,14 @@ class VueCli < Formula
license "MIT"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "60789f77d6fca847d594f2b3251826a0a68d2ff9f79605281cfd92d96e95857d"
sha256 cellar: :any_skip_relocation, arm64_ventura: "1f3ffde156f1616113d4f4f4f899964e96ba0787a4fe21b50f73f973d416fbe5"
sha256 cellar: :any_skip_relocation, arm64_monterey: "44b550780fa0274fd769599d39e267e47f1ae8e3508ca935afd739c389d75a17"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "44b550780fa0274fd769599d39e267e47f1ae8e3508ca935afd739c389d75a17"
sha256 cellar: :any_skip_relocation, sonoma: "b05cfaa37a0c8108d0be5d37d0dfc2ce19744a67c59a9abe104451bbf93df0ee"
sha256 cellar: :any_skip_relocation, ventura: "4c98f36032ccb36802e6bc8e6baea973d45e73d44630b49e3f1d0c40d938792d"
sha256 cellar: :any_skip_relocation, monterey: "6daa1544d8d602d0291c7206aa8833bc62a9b2f0c5a2b5c016d5cae3ce2bb1c5"
sha256 cellar: :any_skip_relocation, big_sur: "6daa1544d8d602d0291c7206aa8833bc62a9b2f0c5a2b5c016d5cae3ce2bb1c5"
sha256 cellar: :any_skip_relocation, catalina: "6daa1544d8d602d0291c7206aa8833bc62a9b2f0c5a2b5c016d5cae3ce2bb1c5"
sha256 cellar: :any_skip_relocation, x86_64_linux: "918bbe94743ae4eb7124cdfb5f9d42017602e19fbdf899b88795c6e367a6dc5c"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "c106882fcbc2627f6939d21aa711c75b8781a49a846b0a2c64a3a48d230f1bd6"
sha256 cellar: :any_skip_relocation, arm64_ventura: "c106882fcbc2627f6939d21aa711c75b8781a49a846b0a2c64a3a48d230f1bd6"
sha256 cellar: :any_skip_relocation, arm64_monterey: "c106882fcbc2627f6939d21aa711c75b8781a49a846b0a2c64a3a48d230f1bd6"
sha256 cellar: :any_skip_relocation, sonoma: "566e867488804efc1ff36499d3abaf6d5d20bae6173f8577f54f8d50b120b6e2"
sha256 cellar: :any_skip_relocation, ventura: "566e867488804efc1ff36499d3abaf6d5d20bae6173f8577f54f8d50b120b6e2"
sha256 cellar: :any_skip_relocation, monterey: "566e867488804efc1ff36499d3abaf6d5d20bae6173f8577f54f8d50b120b6e2"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f068d7c069a1dae0ecbba18a4537d4816d55d6357ff9feb4806923ee486e92e9"
end

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

# Remove vendored pre-built binary `terminal-notifier`
Expand Down
19 changes: 9 additions & 10 deletions Formula/z/zrok.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Zrok < Formula
desc "Geo-scale, next-generation sharing platform built on top of OpenZiti"
homepage "https://zrok.io"
Expand All @@ -9,21 +7,22 @@ class Zrok < Formula
head "https://github.com/openziti/zrok.git", branch: "main"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "c43ae0c5d5b3ba50e9fcc2a8841e8bb47fb5f9d3f5d5f122d71df82b8313d5b0"
sha256 cellar: :any_skip_relocation, arm64_ventura: "f19ec6fc4e560ae0581a85f5591066d7e6acc0ac31ccd114e9bdf057e25549e5"
sha256 cellar: :any_skip_relocation, arm64_monterey: "e4bd2a67a441e255a4af0b7b7905299e5944f0c1d5e553911fa3eef05d092670"
sha256 cellar: :any_skip_relocation, sonoma: "29b3c31526c36085d41bbe68f6e304e485ab4cb3363cf5d71703086965479c20"
sha256 cellar: :any_skip_relocation, ventura: "ef73a457a7dcc047d491464c1716a6ff41341925715c2cdb8b830e8c28a48fb1"
sha256 cellar: :any_skip_relocation, monterey: "cc5ddf708c08cf15f4fb5ea26406b6eabddb6dcd274d87923d2fab4163c2dc6b"
sha256 cellar: :any_skip_relocation, x86_64_linux: "9202549c80e7f945bdfc05e14f60482080513cecf68700832f51b694e8a3c958"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "1bac443394ff09290b438089b1bd9a6d4f5950e351bf9332be1e82ed0d1ab9b9"
sha256 cellar: :any_skip_relocation, arm64_ventura: "0ad4e62aac0bdff70057f8bfe06c1315d7df5aa96ff4bf17dbfec9b18d65dc58"
sha256 cellar: :any_skip_relocation, arm64_monterey: "31a1054dc595547c6fb838f2bfdca8fb36abfb15e0a488e2d471d0528c9a034a"
sha256 cellar: :any_skip_relocation, sonoma: "acb78bb6490b99a4b702d3a4f72d274f90694735d8d3b6ca3d8c8ab3b37431a6"
sha256 cellar: :any_skip_relocation, ventura: "9e110467ee5b6875222b99774a1b81f64a2fbdb268da7c1dbab921b4289d5d27"
sha256 cellar: :any_skip_relocation, monterey: "fb0dd05fbd1f1c5b180d9694d24a138f96e7e7dc6ab9761efccf78778d3ad3bf"
sha256 cellar: :any_skip_relocation, x86_64_linux: "e87e3ce53c853899891ee3ad5f31b03af63843dfb9d9226ef51ab835600be30d"
end

depends_on "go" => :build
depends_on "node" => :build

def install
cd buildpath/"ui" do
system "npm", "install", *Language::Node.local_npm_install_args
system "npm", "install", *std_npm_args(prefix: false)
system "npm", "run", "build"
end

Expand Down
19 changes: 9 additions & 10 deletions Formula/z/zx.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Zx < Formula
desc "Tool for writing better scripts"
homepage "https://github.com/google/zx"
Expand All @@ -8,19 +6,20 @@ class Zx < Formula
license "Apache-2.0"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "023910f5fa85df09bc6eab9f318cfbe875bec09957522bf6c9fa3d498adbd630"
sha256 cellar: :any_skip_relocation, arm64_ventura: "023910f5fa85df09bc6eab9f318cfbe875bec09957522bf6c9fa3d498adbd630"
sha256 cellar: :any_skip_relocation, arm64_monterey: "023910f5fa85df09bc6eab9f318cfbe875bec09957522bf6c9fa3d498adbd630"
sha256 cellar: :any_skip_relocation, sonoma: "3900dea2180764d4b5a3dc774cbe2e534b9c4436e189ff29ddd3e5568994e4a7"
sha256 cellar: :any_skip_relocation, ventura: "3900dea2180764d4b5a3dc774cbe2e534b9c4436e189ff29ddd3e5568994e4a7"
sha256 cellar: :any_skip_relocation, monterey: "3900dea2180764d4b5a3dc774cbe2e534b9c4436e189ff29ddd3e5568994e4a7"
sha256 cellar: :any_skip_relocation, x86_64_linux: "62e90addbe8a4bdd52245de2095129bd53c1ca162f1894e8b4c278412f555026"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "4b454c529e1dc9d1dc584f6eb948c8e3a9937735b674e059a501e024bb7a4cef"
sha256 cellar: :any_skip_relocation, arm64_ventura: "4b454c529e1dc9d1dc584f6eb948c8e3a9937735b674e059a501e024bb7a4cef"
sha256 cellar: :any_skip_relocation, arm64_monterey: "4b454c529e1dc9d1dc584f6eb948c8e3a9937735b674e059a501e024bb7a4cef"
sha256 cellar: :any_skip_relocation, sonoma: "581b54bc7ee2b94eedb6129b6e510d5ac8998e551ddc4898af8273870619fe3c"
sha256 cellar: :any_skip_relocation, ventura: "581b54bc7ee2b94eedb6129b6e510d5ac8998e551ddc4898af8273870619fe3c"
sha256 cellar: :any_skip_relocation, monterey: "581b54bc7ee2b94eedb6129b6e510d5ac8998e551ddc4898af8273870619fe3c"
sha256 cellar: :any_skip_relocation, x86_64_linux: "c9b3a8e018f04112082fd0c0440304648cdba4d3f64bfc2cc1a3f5c53fcea71f"
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

0 comments on commit edfd18d

Please sign in to comment.