chronograf/ui
Iris Scholten 0d0cf95323 refactor cellRenderer and render in TableGraph
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-21 17:49:52 -07:00
..
.storybook
assets/images
mocks Add test for updateKapacitor 2018-03-14 17:23:34 -07:00
src refactor cellRenderer and render in TableGraph 2018-03-21 17:49:52 -07:00
test merge master and fix minor bugs 2018-03-20 18:30:08 -07:00
webpack eslint-loader emits warnings 2018-03-09 15:24:23 -08:00
.babelrc Optimize prod && dev build with threads and babel-preset-env 2018-03-01 11:16:02 -07:00
.eslintignore
.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
README.md
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 Remove unused updeep dependency 2018-03-14 10:31:02 -07:00
tsconfig.json WIP first TypeScript test 2018-03-05 08:46:23 -08:00
yarn.lock Remove unused updeep dependency 2018-03-14 10:31:02 -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.