chronograf/ui
Pavel Zavora 1c6e055c3d fix(ui): sort namespaces by database and retention policy #5374 2020-08-03 15:38:14 +02:00
..
assets/images Update logs loading description (#4452) 2018-09-21 15:33:13 -04:00
mocks feat: add flag to disable host list page 2020-02-10 13:50:28 -08:00
src fix(ui): sort namespaces by database and retention policy #5374 2020-08-03 15:38:14 +02:00
test fix(worker/timeSeriesToTableGraph): add test 2020-06-25 06:03:15 +02: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 Separate ESLint and Prettier configuration 2019-08-20 14:13:42 -04:00
.gitignore fix: update api to serve dashboard ids as a string 2020-01-31 14:35:39 -07:00
.prettierrc.json Separate ESLint and Prettier configuration 2019-08-20 14:13:42 -04:00
README.md Improvements to npm scripts 2017-08-11 01:53:37 +00:00
jest.config.js fix: log viewer uses a default if the mapped severity doesn't exist 2020-01-09 14:23:59 -08:00
package.json chore: prepare for 1.8.5 release 2020-07-08 11:59:54 +02: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 fix(ui): fixed table bug that was forcing long values to one line 2020-03-22 06:21:45 -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.