influxdb/ui
Chris Goller b1ad6443e5 Fix several kapacitor validation failures 2017-11-07 16:02:02 -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 Use a new interaction pattern and new styles for file upload 2017-08-17 17:00:22 -07:00
spec Fix tests 2017-10-26 14:35:03 -07:00
src Fix several kapacitor validation failures 2017-11-07 16:02:02 -06:00
stories Small styles changes. 2017-03-03 15:25:12 -07:00
tests Add more integration test instrumentation for Query Builder test. Increase screen test resolution. 2017-08-09 18:03:32 -07:00
webpack Add hot module reload to dev builds (make run-hmr) 2017-11-04 14:07:39 -05: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 Ignore ref binds 2017-08-17 09:33:36 -07:00
.gitignore Add tern-project to gitignore 2017-10-24 13:00:40 -07:00
.npmrc Bring over enterprise ui and configuration 2016-09-19 13:45:05 -07:00
README.md Improvements to npm scripts 2017-08-11 01:53:37 +00:00
karma.conf.js Change some remaining npm mentions to yarn 2017-08-10 16:51:39 -07:00
nightwatch.json Add more integration test instrumentation for Query Builder test. Increase screen test resolution. 2017-08-09 18:03:32 -07:00
package.json Add hot module reload to dev builds (make run-hmr) 2017-11-04 14:07:39 -05: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 Add cleanup step to js dev builds to remove unused files 2017-11-03 19:33:16 -05: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.