<commit_before>require "language/node"

class GatsbyCli < Formula
  desc "Gatsby command-line interface"
  homepage "https://www.gatsbyjs.org/docs/gatsby-cli/"
  url "https://registry.npmjs.org/gatsby-cli/-/gatsby-cli-2.7.24.tgz"
  sha256 "4eee3cb7d873f8357adfc22683b0710bfdbce04219132f92e9d13f84c781100f"

  bottle do
    cellar :any_skip_relocation
    sha256 "0495012154194570dd4df8bb4f3722d4330bd6d358bc335d652df17207457bf5" => :mojave
    sha256 "95011d33f7e064f54424db8f385aa9d175f8329bd8695f132aa6abcfc72ff821" => :high_sierra
    sha256 "44ce943620beaa2ef94f694a5f4f0fc2dd0e67ee8034186a50729ad53defa353" => :sierra
  end

  depends_on "node"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
  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 2.7.26<commit_after>require "language/node"

class GatsbyCli < Formula
  desc "Gatsby command-line interface"
  homepage "https://www.gatsbyjs.org/docs/gatsby-cli/"
  url "https://registry.npmjs.org/gatsby-cli/-/gatsby-cli-2.7.26.tgz"
  sha256 "74ed325c9189184e65019fdf195347c7191e113559558ae9c7ea09e3f64d2355"

  bottle do
    cellar :any_skip_relocation
    sha256 "0495012154194570dd4df8bb4f3722d4330bd6d358bc335d652df17207457bf5" => :mojave
    sha256 "95011d33f7e064f54424db8f385aa9d175f8329bd8695f132aa6abcfc72ff821" => :high_sierra
    sha256 "44ce943620beaa2ef94f694a5f4f0fc2dd0e67ee8034186a50729ad53defa353" => :sierra
  end

  depends_on "node"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
  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.11407766990291263, 'fraction_numerical': 0.18106796116504853, 'mean_word_length': 5.264437689969605, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '5791695', 'n_tokens_mistral': 1073, 'n_tokens_neox': 860, 'n_words': 113}