Sha256: 810ab3b7756fb479b51d6114eabba2bf60688ef095c340a96e24c3ffc60d63f2
Contents?: true
Size: 746 Bytes
Versions: 32
Compression:
Stored size: 746 Bytes
Contents
class YarnAT{{ yarn_setup_version | regex_replace('\\D', '') }} < Formula desc "JavaScript package manager" homepage "https://yarnpkg.com/" url "https://github.com/yarnpkg/yarn/releases/download/v{{ yarn_setup_version }}/yarn-v{{ yarn_setup_version }}.tar.gz" head "https://github.com/yarnpkg/yarn.git" bottle :unneeded depends_on "node" def install libexec.install Dir["*"] bin.install_symlink "#{libexec}/bin/yarn.js" => "yarn" bin.install_symlink "#{libexec}/bin/yarn.js" => "yarnpkg" inreplace "#{libexec}/package.json", '"installationMethod": "tar"', '"installationMethod": "homebrew"' end test do (testpath/"package.json").write('{"name": "test"}') system bin/"yarn", "add", "jquery" end end
Version data entries
32 entries across 32 versions & 1 rubygems