influxdb/ui
Iris Scholten 1b08132941 Update calculateColumnWidth to take into account 1 visible column and lock first is true 2018-04-09 15:42:14 -07:00
..
assets/images
mocks Add test resources 2018-04-06 17:56:02 -07:00
src Update calculateColumnWidth to take into account 1 visible column and lock first is true 2018-04-09 15:42:14 -07:00
test Fix tests after removing datalabels and making instance methods private 2018-04-09 15:20:07 -07:00
webpack Fix typing errors 2018-03-29 16:06:10 -07:00
.babelrc Optimize prod && dev build with threads and babel-preset-env 2018-03-01 11:16:02 -07:00
.eslintignore
.eslintrc Update .eslintrc to comply with prettier 2018-03-21 13:44:15 -07:00
.gitignore Add yarn-error.log to .gitignore 2018-02-28 10:29:42 -07:00
.npmrc
README.md
jest.config.js Fix test warning spam 2018-03-29 16:44:24 -07:00
package.json Convert TickscriptEditor to TypesScript and add initial test 2018-04-06 17:56:02 -07:00
tsconfig.json Convert TickscriptEditor to TypesScript and add initial test 2018-04-06 17:56:02 -07:00
tslint.json Fix typo for ordered imports 2018-03-22 14:47:57 -07:00
yarn.lock Convert TickscriptEditor to TypesScript and add initial test 2018-04-06 17:56:02 -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.