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

e,f*: use std_npm_args #179047

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

class Eleventy < Formula
desc "Simpler static site generator"
homepage "https://www.11ty.dev"
Expand All @@ -23,7 +21,7 @@ class Eleventy < 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
end
Expand Down
4 changes: 1 addition & 3 deletions Formula/e/eslint.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Eslint < Formula
desc "AST-based pattern checker for JavaScript"
homepage "https://eslint.org"
Expand All @@ -20,7 +18,7 @@ class Eslint < 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/f/fanyi.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class Fanyi < Formula
desc "Chinese and English translate tool in your command-line"
homepage "https://github.com/afc163/fanyi"
Expand All @@ -26,7 +24,7 @@ class Fanyi < 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/*"]

term_size_vendor_dir = libexec/"lib/node_modules"/name/"node_modules/term-size/vendor"
Expand Down
4 changes: 1 addition & 3 deletions Formula/f/fauna-shell.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class FaunaShell < Formula
desc "Interactive shell for FaunaDB"
homepage "https://fauna.com/"
Expand All @@ -20,7 +18,7 @@ class FaunaShell < 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/f/fern-api.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class FernApi < Formula
desc "Stripe-level SDKs and Docs for your API"
homepage "https://buildwithfern.com/"
Expand All @@ -20,7 +18,7 @@ class FernApi < 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/f/firebase-cli.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "language/node"

class FirebaseCli < Formula
desc "Firebase command-line tools"
homepage "https://firebase.google.com/docs/cli/"
Expand All @@ -23,7 +21,7 @@ class FirebaseCli < Formula
uses_from_macos "expect" => :test

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

class Flamebearer < Formula
desc "Blazing fast flame graph tool for V8 and Node"
homepage "https://github.com/mapbox/flamebearer"
Expand All @@ -24,7 +22,7 @@ class Flamebearer < 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
Loading