Skip to content

Commit

Permalink
Upgrade yarn.lock and the tools that check the yarn version (PR #1918)
Browse files Browse the repository at this point in the history
Fixes #1343.
  • Loading branch information
caiovosilva authored and canaltinova committed Apr 3, 2019
1 parent 61b54bf commit 63a6714
Show file tree
Hide file tree
Showing 3 changed files with 828 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .yarnrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
unsafe-disable-integrity-migration "true"
unsafe-disable-integrity-migration "false"
4 changes: 2 additions & 2 deletions bin/pre-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function checkYarn(agents /*: AgentsVersion */) {

if (agents.yarn) {
const version = agents.yarn;
if (versionCompare(version, '1.0') < 0) {
if (versionCompare(version, '1.10') < 0) {
displayYarnVersionExplanation();
displayInstallationInformation();
return false;
Expand Down Expand Up @@ -116,7 +116,7 @@ function parseExpectedNodeVersion() {
}

function displayYarnVersionExplanation() {
console.error(`This project supports only Yarn version 1.0 or newer.`);
console.error(`This project supports only Yarn version 1.10 or newer.`);
}

function displayInstallationInformation() {
Expand Down
Loading

0 comments on commit 63a6714

Please sign in to comment.