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

q,r*: use std_npm_args #179239

Merged
merged 14 commits into from
Aug 1, 2024
4 changes: 1 addition & 3 deletions Formula/q/quicktype.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Quicktype < Formula
desc "Generate types and converters from JSON, Schema, and GraphQL"
homepage "https://github.com/glideapps/quicktype"
Expand All @@ -21,7 +19,7 @@ class Quicktype < Formula
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
4 changes: 1 addition & 3 deletions Formula/r/react-native-cli.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class ReactNativeCli < Formula
desc "Tools for creating native apps for Android and iOS"
homepage "https://facebook.github.io/react-native/"
Expand All @@ -21,7 +19,7 @@ class ReactNativeCli < Formula
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
4 changes: 1 addition & 3 deletions Formula/r/release-it.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class ReleaseIt < Formula
desc "Generic CLI tool to automate versioning and package publishing related tasks"
homepage "https://github.com/release-it/release-it"
Expand All @@ -20,7 +18,7 @@ class ReleaseIt < Formula
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
4 changes: 1 addition & 3 deletions Formula/r/renovate.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Renovate < Formula
desc "Automated dependency updates. Flexible so you don't need to be"
homepage "https://github.com/renovatebot/renovate"
Expand Down Expand Up @@ -33,7 +31,7 @@ class Renovate < Formula
uses_from_macos "git", since: :monterey

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
4 changes: 1 addition & 3 deletions Formula/r/retire.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Retire < Formula
desc "Scanner detecting the use of JavaScript libraries with known vulnerabilities"
homepage "https://retirejs.github.io/retire.js/"
Expand All @@ -21,7 +19,7 @@ class Retire < Formula
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
4 changes: 1 addition & 3 deletions Formula/r/roblox-ts.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class RobloxTs < Formula
desc "TypeScript-to-Luau Compiler for Roblox"
homepage "https://roblox-ts.com/"
Expand All @@ -20,7 +18,7 @@ class RobloxTs < Formula
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
4 changes: 1 addition & 3 deletions Formula/r/rollup.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Rollup < Formula
desc "Next-generation ES module bundler"
homepage "https://rollupjs.org/"
Expand All @@ -20,7 +18,7 @@ class Rollup < Formula
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/*"]

deuniversalize_machos
Expand Down
Loading