chronograf/ui
Christopher Henn 78e5ff6516
Avoid displaying out of date body when script errors
2018-10-04 14:04:15 -07: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 Avoid displaying out of date body when script errors 2018-10-04 14:04:15 -07:00
test Require explicit submit action in Flux builder 2018-10-04 13:42:09 -07:00
.babelrc Replace webpack with parcel 2018-07-25 11:16:04 -07:00
.eslintignore Bring over enterprise ui and configuration 2016-09-19 13:45:05 -07:00
.eslintrc Update .eslintrc to comply with prettier 2018-03-21 13:44:15 -07:00
.gitignore Replace webpack with parcel 2018-07-25 11:16:04 -07:00
.npmrc Bring over enterprise ui and configuration 2016-09-19 13:45:05 -07:00
README.md Improvements to npm scripts 2017-08-11 01:53:37 +00:00
jest.config.js Make tests okay with CSS imports 2018-07-09 15:59:20 -07:00
package.json Move TimeMachine state to new state container 2018-09-27 13:12:19 -07:00
parcel.js Rewrite Worker script paths according to basepath 2018-08-29 09:34:37 -07:00
tsconfig.json Initial implementation of background workers 2018-08-17 16:30:57 -07:00
tslint.json Add types and fixed linter errors 2018-04-20 16:20:13 -07:00
yarn.lock Fix issue with unwanted template var replacement 2018-10-01 17:39:18 -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.