chronograf/ui
Hunter Trujillo f1f65d0b41 Merge branch 'master' into fix/ie11-support 2017-08-14 12:47:58 -06:00
..
.storybook Add React Storybook, in addition to stories and stubs for ValuesSection. Also… Add a nifty corsless proxy courtesy of yt. 2017-01-04 16:02:11 -08:00
assets/images Remove custom cursors 2017-04-04 17:41:42 -07:00
spec Add logic to handle ranges that are submitted as equal 2017-08-03 14:28:58 -07:00
src Merge branch 'master' into fix/ie11-support 2017-08-14 12:47:58 -06:00
stories Small styles changes. 2017-03-03 15:25:12 -07:00
webpack Use more supported .cur format instead of .png 2017-04-04 12:22:47 -07:00
.babelrc Refactor to use async/await. 2017-01-12 14:59:07 -07:00
.eslintignore Bring over enterprise ui and configuration 2016-09-19 13:45:05 -07:00
.eslintrc Add prettier to an eslint rule. 2017-07-20 11:12:48 -06:00
.gitignore Bring over enterprise ui and configuration 2016-09-19 13:45:05 -07:00
.npmrc Bring over enterprise ui and configuration 2016-09-19 13:45:05 -07:00
README.md Change some remaining npm mentions to yarn 2017-08-07 19:28:23 +00:00
karma.conf.js Change some remaining npm mentions to yarn 2017-08-07 19:28:23 +00:00
package.json Merge pull request #1823 from smith/nls/yarn 2017-08-09 13:26:51 -07:00
storybook.js Storybook fixes. Add stateful class MultiSelectDropdown shared component. Add Select Roles story for that component. 2017-03-01 13:32:54 -07:00
yarn.lock Separate Kapacitor & Data Explorer queryConfig actions & reducers 2017-07-24 21:31:54 -07:00

README.md

Packages

We are using yarn 0.19.1.

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.