Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix suggested command after unlinking a package #6931

Merged
merged 5 commits into from Jan 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -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` recommends to run as a followup (now `yarn install --force`)

[#6931](https://github.com/yarnpkg/yarn/pull/6931) - [**Justin Sacbibit**](https://github.com/justinsacbibit)

- Changes the location where the `--require ./.pnp.js` flag gets added into `NODE_OPTIONS`: now at the front

[#6942](https://github.com/yarnpkg/yarn/pull/6942) - [**John-David Dalton**](https://twitter.com/jdalton)
Expand Down
2 changes: 1 addition & 1 deletion src/reporters/lang/en.js
Expand Up @@ -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 --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.',
Expand Down