influxdb/ui
Brandon Farmer 98217790b6 Handle cases where no dropdown values are present 2018-04-18 14:04:28 -07:00
..
assets/images
mocks Test HostsPage render all components & hosts 2018-04-17 17:41:41 -07:00
src Handle cases where no dropdown values are present 2018-04-18 14:04:28 -07:00
test Merge pull request #3233 from influxdata/bugfix/hostlist-customdb 2018-04-18 13:04:26 -07:00
webpack Add decorator plugin to production 2018-04-17 11:07:00 -07:00
.babelrc Convert admin components to have proper error handling 2018-04-17 10:53:13 -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
jest.config.js Fix test warning spam 2018-03-29 16:44:24 -07:00
package.json Upgrade to react 16 2018-04-18 00:02:00 -07:00
tsconfig.json Add dnd react types 2018-04-10 18:32:28 -07:00
tslint.json Add text editor to builder 2018-04-16 10:56:53 -07:00
yarn.lock Upgrade to react 16 2018-04-18 00:02:00 -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.