influxdb/ui
ebb-tide d055b3391b Rename default time format 2018-04-23 23:09:36 -07:00
..
assets/images Use a new interaction pattern and new styles for file upload 2017-08-17 17:00:22 -07:00
mocks Merge pull request #3238 from influxdata/ifql/from 2018-04-19 10:56:25 -07:00
src Rename default time format 2018-04-23 23:09:36 -07:00
test Rename default time format 2018-04-23 23:09:36 -07:00
webpack WIP Update delete for FuncNodes 2018-04-18 16:00:55 -07:00
.babelrc Convert admin components to have proper error handling 2018-04-17 10:53:13 -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 Improvements to npm scripts 2017-08-11 01:53:37 +00:00
jest.config.js Allow babel-jest to load dygraphs module 2018-04-20 20:02:30 -07:00
package.json Fix errors and warnings 2018-04-23 19:45:50 -07:00
tsconfig.json Add dnd react types 2018-04-10 18:32:28 -07:00
tslint.json Add types and fixed linter errors 2018-04-20 16:20:13 -07:00
yarn.lock Fix errors and warnings 2018-04-23 19:45:50 -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.