-
-
Notifications
You must be signed in to change notification settings - Fork 296
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
Add support for yarn-path property #347
Comments
Supporting yarn-path would be great! Today, this will fail for me like:
|
This is actually my bad - I introduced the copying of |
Yarn supports a
yarn-path
option, which allows you to point to a version of yarn within the repo. This makes it easy to ensure everyone working in the repo to be on the same version.If this setting is specified, when
patch-package
copies over the.yarnrc
to the temp folder,yarn
will fail because it doesnt also copy over the yarn version. I think instead of copying the yarnrc, we can instead read, modify, and write the file to point to the correct old path. I will link the PR with this approach below. Let me know what you think!The text was updated successfully, but these errors were encountered: