Skip to content

Commit

Permalink
Merge pull request #179179 from branchvincent/std_npm_args-n
Browse files Browse the repository at this point in the history
n*: use `std_npm_args`
  • Loading branch information
BrewTestBot committed Aug 1, 2024
2 parents 4dee31d + d29c414 commit e84622f
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 68 deletions.
21 changes: 9 additions & 12 deletions Formula/n/nativefier.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Nativefier < Formula
desc "Wrap web apps natively"
homepage "https://github.com/nativefier/nativefier"
Expand All @@ -8,23 +6,22 @@ class Nativefier < Formula
license "MIT"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "3e752430f545faa200121374e77a086329a1d9bd6c00e90f77f72e6cce8553ed"
sha256 cellar: :any_skip_relocation, arm64_ventura: "d43221afa1e9e1cf3cf8e09ae10f485602f7be6951e2e8f2a92a8cbdfc3325fc"
sha256 cellar: :any_skip_relocation, arm64_monterey: "d43221afa1e9e1cf3cf8e09ae10f485602f7be6951e2e8f2a92a8cbdfc3325fc"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "d43221afa1e9e1cf3cf8e09ae10f485602f7be6951e2e8f2a92a8cbdfc3325fc"
sha256 cellar: :any_skip_relocation, sonoma: "455b791378f61bb5670bcec324beb48a61e0b2d86189849bdca6d7a927dad5e9"
sha256 cellar: :any_skip_relocation, ventura: "81d8ff02c4ab134272fb633f797551e98c1e6bce213fff65b52a178017f7b64d"
sha256 cellar: :any_skip_relocation, monterey: "81d8ff02c4ab134272fb633f797551e98c1e6bce213fff65b52a178017f7b64d"
sha256 cellar: :any_skip_relocation, big_sur: "81d8ff02c4ab134272fb633f797551e98c1e6bce213fff65b52a178017f7b64d"
sha256 cellar: :any_skip_relocation, x86_64_linux: "d43221afa1e9e1cf3cf8e09ae10f485602f7be6951e2e8f2a92a8cbdfc3325fc"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "c8b34ad78186093473325fd42ce2ba129f7a112a7b1d1b978bcc016a643ae1d1"
sha256 cellar: :any_skip_relocation, arm64_ventura: "c8b34ad78186093473325fd42ce2ba129f7a112a7b1d1b978bcc016a643ae1d1"
sha256 cellar: :any_skip_relocation, arm64_monterey: "c8b34ad78186093473325fd42ce2ba129f7a112a7b1d1b978bcc016a643ae1d1"
sha256 cellar: :any_skip_relocation, sonoma: "4148739ce73c42af24207638a6ebf6a7d1821421b8566218e865509f1891b09e"
sha256 cellar: :any_skip_relocation, ventura: "4148739ce73c42af24207638a6ebf6a7d1821421b8566218e865509f1891b09e"
sha256 cellar: :any_skip_relocation, monterey: "4148739ce73c42af24207638a6ebf6a7d1821421b8566218e865509f1891b09e"
sha256 cellar: :any_skip_relocation, x86_64_linux: "1f12e3086887b5424fc4a6b718a323f2bc207069ebb4a9419f35680e8ef82fdd"
end

deprecate! date: "2024-01-06", because: :repo_archived

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
20 changes: 9 additions & 11 deletions Formula/n/ncc.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Ncc < Formula
desc "Compile a Node.js project into a single file"
homepage "https://github.com/vercel/ncc"
Expand All @@ -8,20 +6,20 @@ class Ncc < Formula
license "MIT"

bottle do
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "780d77d96277011284e25bf72dae772f0334b4fa205b6fb03d6b240db0450889"
sha256 cellar: :any_skip_relocation, arm64_ventura: "780d77d96277011284e25bf72dae772f0334b4fa205b6fb03d6b240db0450889"
sha256 cellar: :any_skip_relocation, arm64_monterey: "780d77d96277011284e25bf72dae772f0334b4fa205b6fb03d6b240db0450889"
sha256 cellar: :any_skip_relocation, sonoma: "780d77d96277011284e25bf72dae772f0334b4fa205b6fb03d6b240db0450889"
sha256 cellar: :any_skip_relocation, ventura: "780d77d96277011284e25bf72dae772f0334b4fa205b6fb03d6b240db0450889"
sha256 cellar: :any_skip_relocation, monterey: "780d77d96277011284e25bf72dae772f0334b4fa205b6fb03d6b240db0450889"
sha256 cellar: :any_skip_relocation, x86_64_linux: "9d55b94e1f441d7dc759cdec53b73749b4c8a1909857f1e65c3d4869e21e6153"
rebuild 2
sha256 cellar: :any_skip_relocation, arm64_sonoma: "507cc4d97e59cb966e9a1da8af31b4041afea40cefef244c707bee8a65e92e1a"
sha256 cellar: :any_skip_relocation, arm64_ventura: "507cc4d97e59cb966e9a1da8af31b4041afea40cefef244c707bee8a65e92e1a"
sha256 cellar: :any_skip_relocation, arm64_monterey: "507cc4d97e59cb966e9a1da8af31b4041afea40cefef244c707bee8a65e92e1a"
sha256 cellar: :any_skip_relocation, sonoma: "507cc4d97e59cb966e9a1da8af31b4041afea40cefef244c707bee8a65e92e1a"
sha256 cellar: :any_skip_relocation, ventura: "507cc4d97e59cb966e9a1da8af31b4041afea40cefef244c707bee8a65e92e1a"
sha256 cellar: :any_skip_relocation, monterey: "507cc4d97e59cb966e9a1da8af31b4041afea40cefef244c707bee8a65e92e1a"
sha256 cellar: :any_skip_relocation, x86_64_linux: "204def702229d225311c36b5a60152f49d181e968921274198fb331ba0589610"
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
21 changes: 10 additions & 11 deletions Formula/n/neonctl.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Neonctl < Formula
desc "Neon CLI tool"
homepage "https://neon.tech/docs/reference/neon-cli"
Expand All @@ -8,23 +6,24 @@ class Neonctl < Formula
license "Apache-2.0"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "4ade773541114966df2bbcb824cd10e1ddba5902b1e5aadab4b14235aad527e9"
sha256 cellar: :any_skip_relocation, arm64_ventura: "4ade773541114966df2bbcb824cd10e1ddba5902b1e5aadab4b14235aad527e9"
sha256 cellar: :any_skip_relocation, arm64_monterey: "4ade773541114966df2bbcb824cd10e1ddba5902b1e5aadab4b14235aad527e9"
sha256 cellar: :any_skip_relocation, sonoma: "2d629de88a372c380fe396db76dc4f8a9f05cee9c2a48d777439da43c67b0ed4"
sha256 cellar: :any_skip_relocation, ventura: "2d629de88a372c380fe396db76dc4f8a9f05cee9c2a48d777439da43c67b0ed4"
sha256 cellar: :any_skip_relocation, monterey: "0731b3cd65cddcb2fc9e2efcba71eb2a7f13d3ec1ded7740cce272b4ba67bc03"
sha256 cellar: :any_skip_relocation, x86_64_linux: "2a84f881dba5272c6038d9f76d9d23e02a36465ac543ca94f61d074c94c70845"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "14e00ca310d9ce5d9af4655d52f1cd6f2b76d5c4cfb7dd1f4b09890cb9a69c9f"
sha256 cellar: :any_skip_relocation, arm64_ventura: "14e00ca310d9ce5d9af4655d52f1cd6f2b76d5c4cfb7dd1f4b09890cb9a69c9f"
sha256 cellar: :any_skip_relocation, arm64_monterey: "14e00ca310d9ce5d9af4655d52f1cd6f2b76d5c4cfb7dd1f4b09890cb9a69c9f"
sha256 cellar: :any_skip_relocation, sonoma: "d8d10a4b9ed381e27f9e5ae2e43f0a3e37919a1d3c30ee7120f86280253e26cb"
sha256 cellar: :any_skip_relocation, ventura: "d8d10a4b9ed381e27f9e5ae2e43f0a3e37919a1d3c30ee7120f86280253e26cb"
sha256 cellar: :any_skip_relocation, monterey: "d8d10a4b9ed381e27f9e5ae2e43f0a3e37919a1d3c30ee7120f86280253e26cb"
sha256 cellar: :any_skip_relocation, x86_64_linux: "46dddaac5189ff40536df188b076cce12133633499cd766a3368ac547bdeb7da"
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/*"]

%w[neonctl neon].each do |cmd|
generate_completions_from_executable(bin/cmd, "completion")
generate_completions_from_executable(bin/cmd, "completion", base_name: cmd, shells: [:bash, :zsh])
end
end

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

class Netlistsvg < Formula
desc "Draws an SVG schematic from a yosys JSON netlist"
homepage "https://github.com/nturley/netlistsvg"
Expand All @@ -8,14 +6,21 @@ class Netlistsvg < Formula
license "MIT"

bottle do
sha256 cellar: :any_skip_relocation, all: "0db6e0d42e5a96a82499730ce2be1ae11af72f23b0d16e536eabf2e30c7d8983"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "8631b57e56cacc86f90f5ffec484dbda8fc3e8ed679bdb5549d62f4e8fc87519"
sha256 cellar: :any_skip_relocation, arm64_ventura: "8631b57e56cacc86f90f5ffec484dbda8fc3e8ed679bdb5549d62f4e8fc87519"
sha256 cellar: :any_skip_relocation, arm64_monterey: "8631b57e56cacc86f90f5ffec484dbda8fc3e8ed679bdb5549d62f4e8fc87519"
sha256 cellar: :any_skip_relocation, sonoma: "8631b57e56cacc86f90f5ffec484dbda8fc3e8ed679bdb5549d62f4e8fc87519"
sha256 cellar: :any_skip_relocation, ventura: "8631b57e56cacc86f90f5ffec484dbda8fc3e8ed679bdb5549d62f4e8fc87519"
sha256 cellar: :any_skip_relocation, monterey: "8631b57e56cacc86f90f5ffec484dbda8fc3e8ed679bdb5549d62f4e8fc87519"
sha256 cellar: :any_skip_relocation, x86_64_linux: "375b90caacd7736ea74c7f6ebfc1b0fd5b4c8bde7a75be4e12e965b0221d4f1e"
end

depends_on "yosys" => :test
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/n/newman.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Newman < Formula
desc "Command-line collection runner for Postman"
homepage "https://www.getpostman.com"
Expand All @@ -8,19 +6,20 @@ class Newman < Formula
license "Apache-2.0"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "ecc6f8a704e46ca38d99f0d8d980f910dd6ad9f3d8c0b9e23b3abf29b452e1dd"
sha256 cellar: :any_skip_relocation, arm64_ventura: "ecc6f8a704e46ca38d99f0d8d980f910dd6ad9f3d8c0b9e23b3abf29b452e1dd"
sha256 cellar: :any_skip_relocation, arm64_monterey: "ecc6f8a704e46ca38d99f0d8d980f910dd6ad9f3d8c0b9e23b3abf29b452e1dd"
sha256 cellar: :any_skip_relocation, sonoma: "1fa16f67b6cce040a5048f7247833b663d31da026eb327c702e795324bc610be"
sha256 cellar: :any_skip_relocation, ventura: "1fa16f67b6cce040a5048f7247833b663d31da026eb327c702e795324bc610be"
sha256 cellar: :any_skip_relocation, monterey: "1fa16f67b6cce040a5048f7247833b663d31da026eb327c702e795324bc610be"
sha256 cellar: :any_skip_relocation, x86_64_linux: "667de2f36c865416e3a585c619fbb2274588fff370e644e4748bfd97b24ada73"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "083286f30003f41082fc28c1f840034fdbc439832df691616a74487b4ed115a8"
sha256 cellar: :any_skip_relocation, arm64_ventura: "083286f30003f41082fc28c1f840034fdbc439832df691616a74487b4ed115a8"
sha256 cellar: :any_skip_relocation, arm64_monterey: "083286f30003f41082fc28c1f840034fdbc439832df691616a74487b4ed115a8"
sha256 cellar: :any_skip_relocation, sonoma: "13f079c8ef75010ed011f0b421bfa8e499c70486d16fcde45546a3a1bdfd9f96"
sha256 cellar: :any_skip_relocation, ventura: "13f079c8ef75010ed011f0b421bfa8e499c70486d16fcde45546a3a1bdfd9f96"
sha256 cellar: :any_skip_relocation, monterey: "13f079c8ef75010ed011f0b421bfa8e499c70486d16fcde45546a3a1bdfd9f96"
sha256 cellar: :any_skip_relocation, x86_64_linux: "7910178703776eabc29ef96cc2dd24a85f42803e0ce6cece7f54ee982d29e3b0"
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/n/node-sass.rb
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
class NodeSass < Formula
require "language/node"

desc "JavaScript implementation of a Sass compiler"
homepage "https://github.com/sass/dart-sass"
url "https://registry.npmjs.org/sass/-/sass-1.77.8.tgz"
sha256 "27d467af0797116c5ecf21503bcfb4bed270724306846ea4fde360281f87af7b"
license "MIT"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "97bdb41539a99d3fb8304c78fcbfb8f2dc267fd0557d2864838c012f668a73d9"
sha256 cellar: :any_skip_relocation, arm64_ventura: "97bdb41539a99d3fb8304c78fcbfb8f2dc267fd0557d2864838c012f668a73d9"
sha256 cellar: :any_skip_relocation, arm64_monterey: "97bdb41539a99d3fb8304c78fcbfb8f2dc267fd0557d2864838c012f668a73d9"
sha256 cellar: :any_skip_relocation, sonoma: "97bdb41539a99d3fb8304c78fcbfb8f2dc267fd0557d2864838c012f668a73d9"
sha256 cellar: :any_skip_relocation, ventura: "97bdb41539a99d3fb8304c78fcbfb8f2dc267fd0557d2864838c012f668a73d9"
sha256 cellar: :any_skip_relocation, monterey: "97bdb41539a99d3fb8304c78fcbfb8f2dc267fd0557d2864838c012f668a73d9"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f819ee7c06a42dc1a525c6815c8434083b0fee5b626b7502173dbd7b0e0e17c7"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "280da51d69a7d433152ff206a85ff2829aaf77ddbd2f505f06e69436746eceee"
sha256 cellar: :any_skip_relocation, arm64_ventura: "280da51d69a7d433152ff206a85ff2829aaf77ddbd2f505f06e69436746eceee"
sha256 cellar: :any_skip_relocation, arm64_monterey: "280da51d69a7d433152ff206a85ff2829aaf77ddbd2f505f06e69436746eceee"
sha256 cellar: :any_skip_relocation, sonoma: "280da51d69a7d433152ff206a85ff2829aaf77ddbd2f505f06e69436746eceee"
sha256 cellar: :any_skip_relocation, ventura: "280da51d69a7d433152ff206a85ff2829aaf77ddbd2f505f06e69436746eceee"
sha256 cellar: :any_skip_relocation, monterey: "280da51d69a7d433152ff206a85ff2829aaf77ddbd2f505f06e69436746eceee"
sha256 cellar: :any_skip_relocation, x86_64_linux: "fe1232a504ef5c1f1603c4d1aff16fdf1770cdd432d1a65b0ffab8baf2cb55ea"
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/n/npm-check-updates.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class NpmCheckUpdates < Formula
desc "Find newer versions of dependencies than what your package.json allows"
homepage "https://github.com/raineorshine/npm-check-updates"
Expand All @@ -8,19 +6,20 @@ class NpmCheckUpdates < Formula
license "Apache-2.0"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sonoma: "ec7ac0020a9eea33120a7296b6dda7589c4375cdbd5d140069e72d98b02ae300"
sha256 cellar: :any_skip_relocation, arm64_ventura: "ec7ac0020a9eea33120a7296b6dda7589c4375cdbd5d140069e72d98b02ae300"
sha256 cellar: :any_skip_relocation, arm64_monterey: "ec7ac0020a9eea33120a7296b6dda7589c4375cdbd5d140069e72d98b02ae300"
sha256 cellar: :any_skip_relocation, sonoma: "8488a6ccc485be2af85dfcfb09848c59ace446e4d5b70413904d620bd5effbbe"
sha256 cellar: :any_skip_relocation, ventura: "8488a6ccc485be2af85dfcfb09848c59ace446e4d5b70413904d620bd5effbbe"
sha256 cellar: :any_skip_relocation, monterey: "8488a6ccc485be2af85dfcfb09848c59ace446e4d5b70413904d620bd5effbbe"
sha256 cellar: :any_skip_relocation, x86_64_linux: "b573f7c80dbd03ff313a996d4e1cdc2caee9283828f342a3587fc7fe7324f409"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_sonoma: "5ba1d6d3d33b75f59c891adaca70f31f61976fc3528b17e1bc18b699ce058930"
sha256 cellar: :any_skip_relocation, arm64_ventura: "5ba1d6d3d33b75f59c891adaca70f31f61976fc3528b17e1bc18b699ce058930"
sha256 cellar: :any_skip_relocation, arm64_monterey: "5ba1d6d3d33b75f59c891adaca70f31f61976fc3528b17e1bc18b699ce058930"
sha256 cellar: :any_skip_relocation, sonoma: "21fa8b29f3157b6fc360947d4c7e3c33691cb5d602423ec2fdd18c4851c7b67c"
sha256 cellar: :any_skip_relocation, ventura: "21fa8b29f3157b6fc360947d4c7e3c33691cb5d602423ec2fdd18c4851c7b67c"
sha256 cellar: :any_skip_relocation, monterey: "21fa8b29f3157b6fc360947d4c7e3c33691cb5d602423ec2fdd18c4851c7b67c"
sha256 cellar: :any_skip_relocation, x86_64_linux: "008b77d2deac7f4ebedf7b76b2c83e7db29334c077de0fae4ab64811aa7ee2f3"
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 e84622f

Please sign in to comment.