influxdb/ui
Andrew Watkins 5726e05ac2 Update UglifyJsPlugin 2018-03-01 11:16:02 -07:00
..
.storybook
assets/images Use a new interaction pattern and new styles for file upload 2017-08-17 17:00:22 -07:00
spec getAnnotations => visibleAnnotations 2018-02-26 19:23:40 -08:00
src Introduce DllPlugin 2018-03-01 11:16:02 -07:00
webpack Update UglifyJsPlugin 2018-03-01 11:16:02 -07:00
.babelrc Add 2016 babel-preset 2018-03-01 11:15:33 -07:00
.eslintignore
.eslintrc Add eslint-config-prettier and fix prettier spam 2018-03-01 11:12:14 -07:00
.gitignore Add yarn-error.log to .gitignore 2018-02-28 10:29:42 -07:00
.npmrc
README.md Improvements to npm scripts 2017-08-11 01:53:37 +00:00
karma.conf.js Fix karma loader errors 2018-03-01 11:12:49 -07:00
package.json Update UglifyJsPlugin 2018-03-01 11:16:02 -07:00
tsconfig.json Update tsconfig exclude 2018-03-01 11:16:02 -07:00
yarn.lock Update UglifyJsPlugin 2018-03-01 11:16:02 -07:00

README.md

Packages

We are using yarn 0.19.1.

Run yarn run to see a list of available tasks.

Adding new packages

To add a new package, run

yarn add packageName

Adding devDependency

yarn add --dev packageName

Updating a package

First, run

yarn outdated

... to determine which packages may need upgrading.

We really should not upgrade all packages at once, but, one at a time and make darn sure to test.

To upgrade a single package named packageName:

yarn upgrade packageName

Testing

Tests can be run via command line with yarn test, from within the /ui directory. For more detailed reporting, use yarn test -- --reporters=verbose.