influxdb/ui
Palak Bhojani 3edbbefd85 Comment out the view runs button from Tasks page 2019-02-14 13:52:20 -08:00
..
assets/images Update final onboarding step to offer next step options to the user (#11145) 2019-01-16 12:16:56 -08:00
mocks Rename all occurences of Macro to Variable 2019-02-14 13:21:57 -08:00
src Comment out the view runs button from Tasks page 2019-02-14 13:52:20 -08:00
.browserslistrc chore(ui): move ui from chronograf/ui to ui 2018-10-29 14:00:54 -04:00
Makefile Remove yarn in favor of just npm 2018-11-30 17:02:31 -08:00
README.md Remove yarn in favor of just npm 2018-11-30 17:02:31 -08:00
index.d.ts chore(ui): move ui from chronograf/ui to ui 2018-10-29 14:00:54 -04:00
jestSetup.ts test(ui): component integration testing w/ mock redux store (#11577) 2019-01-25 14:08:57 -08:00
package-lock.json Clockface/package slide toggle (#11900) 2019-02-14 13:45:51 -08:00
package.json Clockface/package slide toggle (#11900) 2019-02-14 13:45:51 -08:00
testSetup.ts chore(ui): move ui from chronograf/ui to ui 2018-10-29 14:00:54 -04:00
tsconfig.json chore(ui): move ui from chronograf/ui to ui 2018-10-29 14:00:54 -04:00
tslint.json Implement new visual query builder designs 2019-01-07 10:58:18 -08:00

README.md

Packages

Adding new packages

To add a new package, run

npm i packageName

Adding devDependency

npm i packageName -D

Updating a package

First, run

npm 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:

npm upgrade packageName

Testing

Tests can be run via command line with npm test, from within the /ui directory. For more detailed reporting, use yarn test -- --reporters=verbose.