Skip to content

Set correct node version according to package.json automatically when starting yarn. Works with VSCode node-terminal launch configuration too.

License

Notifications You must be signed in to change notification settings

Vlado-99/yarn-nvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

yarn-nvm

Set correct node version according to package.json automatically when starting yarn. Works with VSCode node-terminal launch configuration too.

Limitations

  • Tested on Kubuntu only.
  • Needs dpkg and apt to check if installed and install needed packages.
  • bash is expected as a shell.

Dependencies

  • curl package is needed for downloading during install.
  • jq package is needed for extracting version from package.json file.

Install

curl https://raw.githubusercontent.com/Vlado-99/yarn-nvm/main/install.sh | bash

About

Set correct node version according to package.json automatically when starting yarn. Works with VSCode node-terminal launch configuration too.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages