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

Update yarn link instructions for Yarn v3+ #1405

Merged
merged 1 commit into from
Nov 9, 2023
Merged

Conversation

robertknight
Copy link
Member

@robertknight robertknight commented Nov 9, 2023

The use of yarn link changed after the upgrade to Yarn v3+. It is no longer necessary to run yarn link in the client repository. Instead you can just do yarn link ../path/to/client in the browser extension repository.

yarn unlink still accepts a package name, so yarn unlink hypothesis still works. However the docs mention that you can also specify the path instead: https://yarnpkg.com/cli/unlink (ie. yarn unlink ../client).

Fixes #1404

The use of [`yarn link`](https://yarnpkg.com/cli/link) changed after the upgrade to Yarn v3+. It is no longer necessary to run `yarn link` in the client repository. Instead you can just do `yarn link ../path/to/client` in the browser extension repository.

Fixes
@robertknight robertknight requested a review from acelaya November 9, 2023 11:46
Copy link
Contributor

@acelaya acelaya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@robertknight robertknight merged commit d200a03 into main Nov 9, 2023
2 checks passed
@robertknight robertknight deleted the update-yarn-link-docs branch November 9, 2023 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

readme doc need update the newest command of yarn link
2 participants