/YarnInstaller

A Visual Studio extension

Primary LanguageC#OtherNOASSERTION

Yarn Installer

Build status

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.

Prerequisite

You need to install Yarn in order for this extension to work.

Restore packages using Yarn

Right-click package.json in any web project to see the command for restoring using Yarn.

Context menu

Restore on saving package.json (VS2017 only)

Automatically run yarn install when saving package.json by enabling it in the Tools -> Options dialog.

Web Options

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.

Disable npm restore (VS2017 only)

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.

Options

Contribute

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.

License

Apache 2.0