NPM support in Upsource 2017.2
Upsource will look into your package.json file(s) and install the required dependencies so that you can get more out of Go to declaration and Find usages actions.
The downloaded dependencies are intelligently cached.
- Make sure Node.js, npm and/or Yarn are installed on the Upsource server.
- Remember: it’s better to have package-lock.json (for npm) and yarn.lock (for Yarn) stored in version control, it makes installation of dependencies much faster.
- In Upsource, go to the Code Intelligence tab in your project’s settings, and click Enable.