chronograf/ui
Robert Hajek 96366795fa chore: integrate cypress testing 2021-03-17 14:58:04 +01:00
..
assets/images Update logs loading description (#4452) 2018-09-21 15:33:13 -04:00
cypress chore: integrate cypress testing 2021-03-17 14:58:04 +01:00
mocks feat: add flag to disable host list page 2020-02-10 13:50:28 -08:00
src feat: use fluxString when defining flux variable 2021-03-10 09:02:42 +01:00
test feat: use fluxString when defining flux variable 2021-03-10 09:02:42 +01: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 chore: finalize .eslintrc configuration 2021-03-09 06:55:16 +01:00
.gitignore chore: integrate cypress testing 2021-03-17 14:58:04 +01:00
.prettierrc.json chore(prettier): use arrowParens that matches the code 2021-03-08 13:09:02 +01:00
README.md
cypress.json chore: integrate cypress testing 2021-03-17 14:58:04 +01:00
jest.config.js chore: integrate cypress testing 2021-03-17 14:58:04 +01:00
package.json chore: integrate cypress testing 2021-03-17 14:58:04 +01:00
parcel.js Rewrite Worker script paths according to basepath 2018-08-29 09:34:37 -07:00
tsconfig.json chore: integrate cypress testing 2021-03-17 14:58:04 +01:00
tslint.json

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.