From 371101c8cf863319ceeef275e82eb25429966eb0 Mon Sep 17 00:00:00 2001 From: Justin Sacbibit Date: Wed, 16 Jan 2019 09:43:15 -0800 Subject: [PATCH 1/4] Fix suggested command after unlinking a package Fixes #937, #1957 --- src/reporters/lang/en.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reporters/lang/en.js b/src/reporters/lang/en.js index 361171e4ca..c1aeefce80 100644 --- a/src/reporters/lang/en.js +++ b/src/reporters/lang/en.js @@ -179,7 +179,7 @@ const messages = { 'You can now run `yarn unlink $0` in the projects where you no longer want to use this package.', linkUsing: 'Using linked package for $0.', linkDisusing: 'Removed linked package $0.', - linkDisusingMessage: 'You will need to run `yarn` to re-install the package that was linked.', + linkDisusingMessage: 'You will need to run `yarn install --check-files` to re-install the package that was linked.', linkTargetMissing: 'The target of linked package $0 is missing. Removing link.', createInvalidBin: 'Invalid bin entry found in package $0.', From bd435f13c8d9a535de2a657d2bfe8e98116f3c9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Nison?= Date: Wed, 23 Jan 2019 12:16:31 +0000 Subject: [PATCH 2/4] Update en.js --- src/reporters/lang/en.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reporters/lang/en.js b/src/reporters/lang/en.js index c1aeefce80..fdd512fdd6 100644 --- a/src/reporters/lang/en.js +++ b/src/reporters/lang/en.js @@ -179,7 +179,7 @@ const messages = { 'You can now run `yarn unlink $0` in the projects where you no longer want to use this package.', linkUsing: 'Using linked package for $0.', linkDisusing: 'Removed linked package $0.', - linkDisusingMessage: 'You will need to run `yarn install --check-files` to re-install the package that was linked.', + linkDisusingMessage: 'You will need to run `yarn install --force` to re-install the package that was linked.', linkTargetMissing: 'The target of linked package $0 is missing. Removing link.', createInvalidBin: 'Invalid bin entry found in package $0.', From 6481e01d1d21003028971177b0a760bd6e03d441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Nison?= Date: Wed, 23 Jan 2019 12:18:11 +0000 Subject: [PATCH 3/4] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c941e3ef8f..e49edd6804 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,10 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa [#6882](https://github.com/yarnpkg/yarn/pull/6882) - [**Zoran Regvart**](https://github.com/zregvart) +- Fixes the command that `yarn unlink` recommend to run as a followup (now `yarn install --force`) + + [#6931](https://github.com/yarnpkg/yarn/pull/6931) - [**Justin Sacbibit**](https://github.com/justinsacbibit) + ## 1.13.0 - Implements a new `package.json` field: `peerDependenciesMeta` From 924d2973f2229e3575f129b45ece4a9f1f530525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Nison?= Date: Wed, 23 Jan 2019 12:18:30 +0000 Subject: [PATCH 4/4] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e49edd6804..139b0e39aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,7 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa [#6882](https://github.com/yarnpkg/yarn/pull/6882) - [**Zoran Regvart**](https://github.com/zregvart) -- Fixes the command that `yarn unlink` recommend to run as a followup (now `yarn install --force`) +- Fixes the command that `yarn unlink` recommends to run as a followup (now `yarn install --force`) [#6931](https://github.com/yarnpkg/yarn/pull/6931) - [**Justin Sacbibit**](https://github.com/justinsacbibit)