influxdb/ui
Iris Scholten d87054df74 Update variable and function names to reduce the amount of comment explanation 2018-02-21 10:03:44 -08:00
..
.storybook
assets/images
spec repair failing specs 2018-02-01 17:13:34 -08:00
src Update variable and function names to reduce the amount of comment explanation 2018-02-21 10:03:44 -08:00
stories Rename Endpoints to Handlers 2017-11-21 14:15:30 -08:00
tests
webpack Remove unnecessary return. 2017-12-04 18:13:40 -07:00
.babelrc
.eslintignore
.eslintrc Add experimental string parse failure recovery. 2017-11-28 16:18:06 -07:00
.gitignore Add tern-project to gitignore 2017-10-24 13:00:40 -07:00
.npmrc
README.md
karma.conf.js
nightwatch.json
package.json Update meta nodes to respect insecure skip verify 2018-02-14 13:25:08 -08:00
storybook.js
yarn.lock Bump dygraphs to 2.1.0 2017-12-08 14:33:03 -08: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.