<commit_before>require "language/node"

class Serverless < Formula
  desc "Build applications with serverless architectures"
  homepage "https://www.serverless.com/"
  url "https://github.com/serverless/serverless/archive/v3.11.0.tar.gz"
  sha256 "979ee7b2be1fd1082be62a3dea0fcc70b44b5aa5ed223d8bf7c8bdb555d15117"
  license "MIT"
  head "https://github.com/serverless/serverless.git", branch: "main"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "2c536ff3b91034cdae4d4f264a543f346218a66656f977313deccc292cf057e1"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "2c536ff3b91034cdae4d4f264a543f346218a66656f977313deccc292cf057e1"
    sha256 cellar: :any_skip_relocation, monterey:       "4fd714700bc13a20fafb0b59576dfba5dce7a68972e5af7ca455ae98577b32f5"
    sha256 cellar: :any_skip_relocation, big_sur:        "4fd714700bc13a20fafb0b59576dfba5dce7a68972e5af7ca455ae98577b32f5"
    sha256 cellar: :any_skip_relocation, catalina:       "4fd714700bc13a20fafb0b59576dfba5dce7a68972e5af7ca455ae98577b32f5"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "bd100492c3ab52ba4a8b06548fd04071f2f7b97f00ad5349569f5a1a9fba9b1c"
  end

  depends_on "node"

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

    # Delete incompatible Linux CPython shared library included in dependency package.
    # Raise an error if no longer found so that the unused logic can be removed.
    (libexec/"lib/node_modules/serverless/node_modules/@serverless/dashboard-plugin")<commit_msg>serverless: update 3.11.0 bottle.<commit_after>require "language/node"

class Serverless < Formula
  desc "Build applications with serverless architectures"
  homepage "https://www.serverless.com/"
  url "https://github.com/serverless/serverless/archive/v3.11.0.tar.gz"
  sha256 "979ee7b2be1fd1082be62a3dea0fcc70b44b5aa5ed223d8bf7c8bdb555d15117"
  license "MIT"
  head "https://github.com/serverless/serverless.git", branch: "main"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "0ab796fcf547b3f5cbae405361a9a3a1a2fbc073d352902871faf1fd5b65561a"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "0ab796fcf547b3f5cbae405361a9a3a1a2fbc073d352902871faf1fd5b65561a"
    sha256 cellar: :any_skip_relocation, monterey:       "568d5e20d6f3bd87d6793e7fc9be7850dbe24f5d880802b835b69cb274944c65"
    sha256 cellar: :any_skip_relocation, big_sur:        "568d5e20d6f3bd87d6793e7fc9be7850dbe24f5d880802b835b69cb274944c65"
    sha256 cellar: :any_skip_relocation, catalina:       "568d5e20d6f3bd87d6793e7fc9be7850dbe24f5d880802b835b69cb274944c65"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "99ffc44fb884d2ecb2780f3a46f05e8ff222e6aec0fc4114f4ff7877e1a84fd3"
  end

  depends_on "node"

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

    # Delete incompatible Linux CPython shared library included in dependency package.
    # Raise an error if no longer found so that the unused logic can be removed.
    (libexec/"lib/node_modules/serverless/node_modules/@serverless/dashboard-plugin")
{'fraction_non_alphanumeric': 0.07774294670846395, 'fraction_numerical': 0.19122257053291536, 'mean_word_length': 6.106904231625835, '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': '4513793', 'n_tokens_mistral': 1608, 'n_tokens_neox': 1298, 'n_words': 186}