chronograf/ui
Delmer 636f776643
fix(logs): fix log color utils (#4909)
* fix(logs): fix log color utils
2018-12-27 14:02:20 -05:00
..
assets/images Update logs loading description (#4452) 2018-09-21 15:33:13 -04:00
mocks Treat flux service as a part of source 2018-10-01 12:44:46 -07:00
src fix(logs): fix log color utils (#4909) 2018-12-27 14:02:20 -05:00
test fix(logs): fix log color utils (#4909) 2018-12-27 14:02:20 -05:00
.babelrc Upgrade Parcel, Babel, ESLint, ts-jest, and related 2018-10-05 10:00:33 -07:00
.browserslistrc Upgrade Parcel, Babel, ESLint, ts-jest, and related 2018-10-05 10:00:33 -07:00
.eslintignore
.eslintrc Upgrade Parcel, Babel, ESLint, ts-jest, and related 2018-10-05 10:00:33 -07:00
.gitignore Replace webpack with parcel 2018-07-25 11:16:04 -07:00
README.md
jest.config.js Upgrade Parcel, Babel, ESLint, ts-jest, and related 2018-10-05 10:00:33 -07:00
package.json Update version to 1.7.4 (#4883) 2018-12-12 16:21:04 -05:00
parcel.js Rewrite Worker script paths according to basepath 2018-08-29 09:34:37 -07:00
tsconfig.json Upgrade Parcel, Babel, ESLint, ts-jest, and related 2018-10-05 10:00:33 -07:00
tslint.json Add types and fixed linter errors 2018-04-20 16:20:13 -07:00
yarn.lock Add support for interval template variable in Flux 2018-10-18 13:43:57 -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.