chronograf/ui
Andrew Watkins 34151c4100 Delete DropdownMenu.js 2018-03-26 14:42:56 -07:00
..
.storybook
assets/images Use a new interaction pattern and new styles for file upload 2017-08-17 17:00:22 -07:00
mocks Add test for updateKapacitor 2018-03-14 17:23:34 -07:00
src Delete DropdownMenu.js 2018-03-26 14:42:56 -07:00
test Merge pull request #3006 from influxdata/bugfix/task_enabled_correct_check 2018-03-23 10:48:41 -07:00
webpack Add config filepath to ts-loader in prod build 2018-03-22 14:52:22 -07:00
.babelrc Optimize prod && dev build with threads and babel-preset-env 2018-03-01 11:16:02 -07:00
.eslintignore
.eslintrc Update .eslintrc to comply with prettier 2018-03-21 13:44:15 -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
jest.config.js Add tslint to test runner / watcher 2018-03-21 16:12:42 -07:00
karma.conf.js Remove unused dependencies 2018-03-01 11:16:02 -07:00
package.json Add jslinting to Makefile 2018-03-23 11:08:06 -07:00
tsconfig.json WIP Introduction of tslint 2018-03-21 16:12:42 -07:00
tslint.json Fix typo for ordered imports 2018-03-22 14:47:57 -07:00
yarn.lock Add tslint to test runner / watcher 2018-03-21 16:12:42 -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.