@financial-times/di2-whitesource
The actual whitesource NPM library has some opportunities for improvement. We've wrapped it up here to realise those opportunities and stop that extra code leaking into all our projects.
Last updated 2 years ago by mattandrews .
Original npm · Tarball · package.json
$ cnpm install @financial-times/di2-whitesource 
SYNC missed versions from official npm registry.

di2-whitesource

The actual whitesource NPM library has some opportunities for improvement. We've wrapped it up here to realise those opportunities and stop that extra code leaking into all our projects.

How to use actually?

npm install --save-dev @financial-times/di2-whitesource

Then in your Makefile deploy-prod task add whitesource --prod, and whitesource to your deploy-latest task.

(Note: it's recommended to add the whitesource / whitesource --prod tasks before the deploy has happened so that bad code never hits production.)

It is also recommended to add the following line to your .gitignore file:-

WhiteSource-log-files

API

The following command runs whitesource with the given product name:-

whitesource "My Really Cool Product"

The following command runs whitesource with the given product name and adds -prod as a suffix to the project name:-

whitesource "My Really Cool Product" --prod

Add the following option to get whitesource to also check development dependencies (default is just to check production dependencies)

--include-dev-deps

Won't I need some kind of API key?

Yes, you will. It's in LastPass and it's called WHITESOURCE_API_KEY.

Current Tags

  • 2.0.1                                ...           latest (2 years ago)

10 Versions

  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.4.0                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago

Copyright 2014 - 2016 © taobao.org |