<commit_before>require "language/node"

class GatsbyCli < Formula
  desc "Gatsby command-line interface"
  homepage "https://www.gatsbyjs.org/docs/gatsby-cli/"
  # gatsby-cli should only be updated every 10 releases on multiples of 10
  url "https://registry.npmjs.org/gatsby-cli/-/gatsby-cli-3.5.0.tgz"
  sha256 "cfe6244201614d4af56a2f6edb1daf99685239916259226f7b8b51964c3d5ced"
  license "MIT"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "f9c792952373ba94ba3c2fa5eafa4ab9eb375f7e61143949528d1ce9feb9afaa"
    sha256 cellar: :any_skip_relocation, big_sur:       "cb269a97f6935b34a48432e5217cb4f86b035438f8872b31de5f593d03231199"
    sha256 cellar: :any_skip_relocation, catalina:      "cb269a97f6935b34a48432e5217cb4f86b035438f8872b31de5f593d03231199"
    sha256 cellar: :any_skip_relocation, mojave:        "cb269a97f6935b34a48432e5217cb4f86b035438f8872b31de5f593d03231199"
  end

  depends_on "node"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]

    # Avoid references to Homebrew shims
    rm_f "#{libexec}/lib/node_modules/gatsby-cli/node_modules/websocket/builderror.log"
  end

  test do
    system bin/"gatsby", "new", "hello-world", "https://github.com/gatsbyjs/gatsby-starter-hello-world"
    assert_predicate testpath/"hello-world/package.json", :exist?, "package.json was not cloned"
  end
end
<commit_msg>gatsby-cli 3.6.0<commit_after>require "language/node"

class GatsbyCli < Formula
  desc "Gatsby command-line interface"
  homepage "https://www.gatsbyjs.org/docs/gatsby-cli/"
  # gatsby-cli should only be updated every 10 releases on multiples of 10
  url "https://registry.npmjs.org/gatsby-cli/-/gatsby-cli-3.6.0.tgz"
  sha256 "09077c63e2c299df457f404f858659ac523a3a53eeec74a3404e1b725a822af5"
  license "MIT"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_big_sur: "f9c792952373ba94ba3c2fa5eafa4ab9eb375f7e61143949528d1ce9feb9afaa"
    sha256 cellar: :any_skip_relocation, big_sur:       "cb269a97f6935b34a48432e5217cb4f86b035438f8872b31de5f593d03231199"
    sha256 cellar: :any_skip_relocation, catalina:      "cb269a97f6935b34a48432e5217cb4f86b035438f8872b31de5f593d03231199"
    sha256 cellar: :any_skip_relocation, mojave:        "cb269a97f6935b34a48432e5217cb4f86b035438f8872b31de5f593d03231199"
  end

  depends_on "node"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]

    # Avoid references to Homebrew shims
    rm_f "#{libexec}/lib/node_modules/gatsby-cli/node_modules/websocket/builderror.log"
  end

  test do
    system bin/"gatsby", "new", "hello-world", "https://github.com/gatsbyjs/gatsby-starter-hello-world"
    assert_predicate testpath/"hello-world/package.json", :exist?, "package.json was not cloned"
  end
end

{'fraction_non_alphanumeric': 0.09982608695652175, 'fraction_numerical': 0.16973913043478261, 'mean_word_length': 5.158458244111349, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5963507', 'n_tokens_mistral': 1458, 'n_tokens_neox': 1163, 'n_words': 173}