Commit ec7b52e7 authored by Ed Reel's avatar Ed Reel Committed by Chris Thurber

Update yarn from 1.19.1 to 1.21.0 (#3679)

parent 5346fc59
...@@ -3,9 +3,9 @@ require 'package' ...@@ -3,9 +3,9 @@ require 'package'
class Yarn < Package class Yarn < Package
description 'Yarn is a new package manager for JavaScript and an alternative to npm.' description 'Yarn is a new package manager for JavaScript and an alternative to npm.'
homepage 'https://yarnpkg.com/en/' homepage 'https://yarnpkg.com/en/'
version '1.19.1' version '1.21.0'
source_url 'https://github.com/yarnpkg/yarn/releases/download/v1.19.1/yarn-v1.19.1.tar.gz' source_url 'https://github.com/yarnpkg/yarn/releases/download/v1.21.0/yarn-v1.21.0.tar.gz'
source_sha256 '34293da6266f2aae9690d59c2d764056053ff7eebc56b80b8df05010c3da9343' source_sha256 'dd17d4e5bc560aa28140038a31fa50603ef76b710fee44e5ec5efbea7ad24c61'
binary_url ({ binary_url ({
}) })
...@@ -16,8 +16,8 @@ class Yarn < Package ...@@ -16,8 +16,8 @@ class Yarn < Package
depends_on 'nodebrew' unless "#{node_version}" != "" depends_on 'nodebrew' unless "#{node_version}" != ""
def self.install def self.install
system "mkdir -p #{CREW_DEST_PREFIX}" FileUtils.mkdir_p "#{CREW_DEST_PREFIX}"
system "cp -r lib/ #{CREW_DEST_PREFIX}" FileUtils.cp_r 'lib/', "#{CREW_DEST_PREFIX}"
system "cp -r bin/ #{CREW_DEST_PREFIX}" FileUtils.cp_r 'bin/', "#{CREW_DEST_PREFIX}"
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment