influxdb/ui
Mark Rushakoff d73d73c0d4 chore: rename imports from platform to influxdb
I did this with a dumb editor macro, so some comments changed too.

Also rename root package from platform to influxdb.

In interest of minimizing risk, anyone importing the root package has
now aliased it to "platform" so that no changes beyond imports were
necessary in those files.

Lastly, replace the old platform module to local path /dev/null so that
nobody can accidentally reintroduce a platform dependency while
migrating platform code to influxdb.
2019-01-09 20:51:47 -08:00
..
assets/images Onboarding responsive styles (#2352) 2019-01-08 14:40:09 -08:00
mocks feat(ui/labels): display labels in task row 2019-01-08 16:07:10 -08:00
src chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -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
package-lock.json Replace node-sass dep with sass 2019-01-08 09:42:32 -08:00
package.json Replace node-sass dep with sass 2019-01-08 09:42:32 -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
yarn.lock Add ability to create notes on a dashboard 2018-11-29 16:41:40 -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.