This repository has been archived by the owner on Sep 1, 2022. It is now read-only.
Possible integration with nvm? #900
Labels
discussion
Open for discussion
enhancement
New feature or request
released
Pull request has been successfully deployed
Is your feature request related to a problem? Please describe.
yvm shims yarn so executing
yarn
will always use the right yarn version. Since we're already shimming yarn, it'd be nice if there was some optional nvm integration, such that the shim would also ensure yvm is run using the correct node version.Describe the solution you'd like
Have an optional
YVM_NVM_INTEGRATION=1
env flag to use nvm to grab the correct node path that then executes yvm.Describe alternatives you've considered
A separate tool/project, or reliance on various terminal hooks.
Additional Context
If you're using yvm, there's a good chance you're using nvm. yarn is also used as a task runner via the
scripts
property of a package.json, and so you want it to use the correct node version.The text was updated successfully, but these errors were encountered: