Download this extension from the VS Marketplace or get the CI build.
Makes it easy to restore npm packages using Yarn from within Visual Studio
See the change log for changes and road map.
You need to install Yarn in order for this extension to work.
Right-click package.json in any web project to see the command for restoring using Yarn.
Automatically run yarn install
when saving package.json by enabling it in the Tools -> Options dialog.
Remember to disable the built-in npm restore
when you do this (see below).
This feature is restricted to work on Visual Studio 2017 only because Visual Studio 2015 doesn't have the option to disable automatic npm install
.
By default Visual Studio will call npm install
when package.json is saved and also when a project containing a package.json file is being opened.
To turn off the automatic calls to npm install
, disable them in the Tools -> Options dialog.
Check out the contribution guidelines if you want to contribute to this project.
For cloning and building this project yourself, make sure to install the Extensibility Tools extension for Visual Studio which enables some features used by this project.