influxdb/ui
Jared Scheib 10c084fca8 Remove obsolete comment 2018-06-07 15:29:04 -07:00
..
assets/images
mocks Introduce getting actual data 2018-05-21 10:45:27 -07:00
src Remove obsolete comment 2018-06-07 15:29:04 -07:00
test Set Dashboard time range from query string middleware 2018-05-31 16:45:40 -07:00
webpack Fix source maps to exactly reflect code instead of es5 transpilation 2018-06-06 14:15:59 -07:00
.babelrc
.eslintignore
.eslintrc
.gitignore
.npmrc
README.md
jest.config.js
package.json Add IFQL script response parser 2018-05-23 11:30:52 -07:00
tsconfig.json
tslint.json
yarn.lock Add IFQL script response parser 2018-05-23 11:30:52 -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.