influxdb/ui
Luke Morris 8e5845afe3 Merge branch '1.4.2.x' 2018-03-08 19:07:04 -08: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
src Merge branch 'master' into fix/hover-confirm-delete 2018-03-07 12:25:06 -08:00
test fix error in ConfirmButtons.test 2018-03-07 11:09:37 -08:00
webpack Remove gzip compression (already done on server) 2018-03-07 08:32:15 -08:00
.babelrc Optimize prod && dev build with threads and babel-preset-env 2018-03-01 11:16:02 -07:00
.eslintignore Bring over enterprise ui and configuration 2016-09-19 13:45:05 -07:00
.eslintrc Add introductory Dropdown component test 2018-03-01 11:17:35 -07:00
.gitignore Add yarn-error.log to .gitignore 2018-02-28 10:29:42 -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
jest.config.js Add first successful TypeScript test 2018-03-05 08:46:23 -08:00
karma.conf.js Remove unused dependencies 2018-03-01 11:16:02 -07:00
package.json Merge branch '1.4.2.x' 2018-03-08 19:07:04 -08:00
tsconfig.json WIP first TypeScript test 2018-03-05 08:46:23 -08:00
yarn.lock Update thread-loader 2018-03-07 11:05:42 -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.