1.39.0 • Published 5 days ago

@tidepool/viz v1.39.0

Weekly downloads
5
License
BSD-2-Clause
Repository
github
Last release
5 days ago

Build Status

@tidepool/viz

Tidepool data visualization for diabetes device data.

This README is focused on just the nuts & bolts of getting the code in this repository ready to develop locally in blip or with React Storybook. For more detailed information about the code in this repository, please see the developer guide.

Table of contents


Getting started

After cloning this repository to your local machine, first make sure that you have at least node 6.x and npm 4.x installed. If you have a different major version of node installed, consider using nvm to manage and switch between multiple node (& npm) installations. If you have npm 3.x installed (as it is by default with node 6.x), then you can update to the latest npm 4.x with npm install -g npm@4.

It's not an absolute requirement, but it is preferable to have Yarn installed, as it provides dependency management features above and beyond what npm provides. Just follow Yarn's installation instructions (hint: for Mac users with Homebrew installed, it's just brew install yarn).

Once your environment is setup with node 6.x and npm 3.x install the dependencies with Yarn:

$ yarn install

Or with npm if you're choosing not to use Yarn:

$ npm install

Development

Running locally with blip

To work on code in this repository within blip, first do the following from your local blip repository (assuming blip/ and viz/ are sister directories):

$ npm link ../viz/

In this repository, start the build in watch mode:

$ npm start

Finally, back in your local blip repository, follow the instructions for starting blip locally.

Running locally in React Storybook

If you're working at the component or view level outside of blip, you can work on component and view rendering code with React Storybook.

If you're working on the diabetes data model rendering components, run:

$ npm run typestories

If you're working on any other components or views, run:

$ npm run stories

For more about the use of React Storybook in this repo, see use of React Storybook.

Running the tests

To run the unit tests in PhantomJS (as they run on Travis CI):

$ npm test

To have the tests run continuously with source and test code changes rebundled as you work:

$ npm run test-watch

To run the unit tests in your local Chrome browser (recommended for Tidepool developers before merging or publishing a release):

$ npm run browser-tests

Running the linter

To run the code linter from the command line:

$ npm run lint

Generally speaking, Tidepool developers configure linting to run continuously in their text editor of choice, and we recommend this approach for development. You can easily find instructions online for running ESLint continuously in all of the popular text editors—SublimeText, Atom, Visual Studio Code, etc.

Production

Publishing examples to GitHub Pages with React Storybook

See the publishing section of the docs on docs.

Building and publishing to npm

When a new feature(s) is/are complete (i.e., branch is synchronized with master, reviewed with a sign-off from another developer), it's time to publish the package to npm! Since this is one of our most recently created repositories, any member of the "developers" team in the @tidepool npm organization will be able to publish the package using his or her npm login. Steps to publishing are as follows:

  1. create a tag on the approved pull request using the mversion tool with the -m option to auto-commit the version bump and tag (e.g., $ mversion patch -m for a patch version bump)
  2. push the new commit and tag to the GitHub remote with $ git push origin <branch-name> and $ git push origin --tags
  3. check that the tag build has passed on TravisCI
  4. $ npm whoami to check if you are logged in as yourself; if you are, skip to 7.
  5. if you are logged in as tidepool-robot, log out with $ npm logout
  6. then log in as yourself with $ npm login
  7. publish the new version with $ npm publish; before the actual publish happens, the yarn install, linter, tests, and packaging webpack build will run since we have set those up through the prepare and prepublishOnly npm hooks in the package.json
  8. merge the approved pull request to master
  9. remember to bump the version appropriately in the package.json for the app (e.g., blip) requiring @tidepool/viz as a dependency!
1.39.0

5 days ago

1.38.0

3 months ago

1.38.0-rc.1

3 months ago

1.37.0-rc.1

6 months ago

1.36.0-rc.1

7 months ago

1.37.0-rc.2

6 months ago

1.35.0

8 months ago

1.37.0-rc.5

5 months ago

1.37.0-rc.3

6 months ago

1.37.0-rc.4

6 months ago

1.36.0

7 months ago

1.37.0

5 months ago

1.35.0-rc.1

9 months ago

1.35.0-rc.2

8 months ago

1.34.0-rc.2

10 months ago

1.34.0

10 months ago

1.34.0-rc.1

11 months ago

1.34.0-mrn.1

12 months ago

1.33.2-sooil-dana.2

12 months ago

1.33.2-rc.1

1 year ago

1.33.0-rc.1

1 year ago

1.33.0-rc.2

1 year ago

1.33.0-rc.3

1 year ago

1.33.0-rc.4

1 year ago

1.33.1

1 year ago

1.33.2

1 year ago

1.33.1-rc.1

1 year ago

1.33.0

1 year ago

1.32.0-rc.1

1 year ago

1.30.0

2 years ago

1.31.0

1 year ago

1.31.0-rc.1

1 year ago

1.32.0

1 year ago

1.29.0

2 years ago

1.30.0-rc.1

2 years ago

1.29.0-rc.1

2 years ago

1.28.0-rc.1

2 years ago

1.28.0

2 years ago

1.27.0-rc.1

2 years ago

1.26.0

2 years ago

1.27.0

2 years ago

1.26.0-rc.1

2 years ago

1.25.0

2 years ago

1.25.0-rc.1

2 years ago

1.25.0-rc.2

2 years ago

1.22.0

2 years ago

1.23.0

2 years ago

1.24.0

2 years ago

1.24.0-rc.1

2 years ago

1.23.0-rc.1

2 years ago

1.22.0-rc.1

2 years ago

1.21.0

3 years ago

1.21.0-rc.1

3 years ago

1.20.0-rc.7

3 years ago

1.20.0-rc.6

3 years ago

1.20.1-rc.1

3 years ago

1.20.1

3 years ago

1.20.0

3 years ago

1.20.0-rc.5

3 years ago

1.20.0-rc.4

3 years ago

1.20.0-rc.3

3 years ago

1.20.0-rc.2

3 years ago

1.19.1

3 years ago

1.20.0-rc.1

3 years ago

1.19.0

3 years ago

1.19.0-rc.7

3 years ago

1.19.0-rc.6

3 years ago

1.19.0-rc.5

3 years ago

1.19.0-rc.4

3 years ago

1.19.0-rc.3

3 years ago

1.19.0-rc.2

3 years ago

1.19.0-rc.1

3 years ago

1.18.0

3 years ago

1.18.0-rc.1

3 years ago

1.17.0

3 years ago

1.17.0-rc.1

3 years ago

1.16.0

3 years ago

1.16.0-rc.1

3 years ago

1.15.0

3 years ago

1.15.0-rc.1

4 years ago

1.14.0

4 years ago

1.13.1

4 years ago

1.14.0-rc.2

4 years ago

1.14.0-rc.1

4 years ago

1.14.0-develop.1

4 years ago

1.13.0

4 years ago

1.13.0-rc.10

4 years ago

1.13.0-rc.9

4 years ago

1.13.0-rc.8

4 years ago

1.13.0-rc.7

4 years ago

1.13.0-rc.6

4 years ago

1.13.0-rc.5

4 years ago

1.13.0-rc.4

4 years ago

1.13.0-rc.3

4 years ago

1.13.0-rc.2

4 years ago

1.13.0-rc.1

4 years ago

1.13.0-develop.2

4 years ago

1.12.1-rc.10

4 years ago

1.12.1-rc.8

4 years ago

1.12.1-rc.9

4 years ago

1.12.1-rc.7

4 years ago

1.12.1-rc.6

4 years ago

1.12.1-rc.5

4 years ago

1.12.1-rc.4

4 years ago

1.12.1-rc.3

4 years ago

1.12.1-rc.1

4 years ago

1.13.0-develop.1

4 years ago

1.12.0

4 years ago

1.12.0-rc.2

4 years ago

1.12.0-rc.1

4 years ago

1.11.5

4 years ago

1.11.5-rc.1

4 years ago

1.11.4

4 years ago

1.11.4-rc.1

4 years ago

1.11.3

4 years ago

1.11.3-rc.1

4 years ago

1.11.2

4 years ago

1.11.1-rc.1

4 years ago

1.11.0

4 years ago

1.11.0-rc.9

4 years ago

1.11.0-rc.8

4 years ago

1.11.0-rc.7

4 years ago

1.11.0-rc.6

4 years ago

1.11.0-rc.5

4 years ago

1.11.0-rc.4

4 years ago

1.10.0

4 years ago

1.11.0-rc.3

4 years ago

1.11.0-rc.2

4 years ago

1.11.0-rc.1

4 years ago

1.10.0-rc.1

4 years ago

1.9.0

4 years ago

1.9.0-rc.2

5 years ago

1.9.0-rc.1

5 years ago

1.8.0

5 years ago

1.8.0-rc.1

5 years ago

1.7.0

5 years ago

1.7.0-rc.1

5 years ago

1.5.0

5 years ago

1.5.0-rc.2

5 years ago

1.4.0

5 years ago

1.4.0-rc.1

5 years ago

1.3.0

5 years ago

1.3.0-rc.2

5 years ago

1.3.0-rc.1

5 years ago

1.2.0

5 years ago

1.2.0-rc.2

5 years ago

1.2.0-rc.1

5 years ago

1.1.0

5 years ago

1.1.0-release.2

5 years ago

1.1.0-release.1

5 years ago

1.0.0

5 years ago

1.0.0-release.6

5 years ago

1.0.0-release.5

5 years ago

1.0.0-release.4

5 years ago

1.0.0-release.3

5 years ago

1.0.0-release.2

5 years ago

1.0.0-release.1

5 years ago

0.13.0

5 years ago

0.13.0-release.1

5 years ago

0.12.0

5 years ago

0.12.0-rc.1

5 years ago

0.11.10

6 years ago

0.11.9

6 years ago

0.11.8

6 years ago

0.11.7

6 years ago

0.11.6

6 years ago

0.11.6-casper.2

6 years ago

0.11.6-i18n.1

6 years ago

0.11.6-casper.1

6 years ago

0.11.5

6 years ago

0.11.4

6 years ago

0.11.3

6 years ago

0.11.3-i18n.1

6 years ago

0.11.2

6 years ago

0.11.1

6 years ago

1.11.1

6 years ago

0.11.1-casper.1

6 years ago

0.11.0

6 years ago

0.10.2

6 years ago

0.10.1

6 years ago

0.10.0

6 years ago

0.9.9

6 years ago

0.9.8

6 years ago

0.9.7

6 years ago

0.9.6

6 years ago

0.9.5

6 years ago

0.9.4

6 years ago

0.9.3

6 years ago

0.9.2

7 years ago

0.9.1

7 years ago

0.9.0

7 years ago

0.8.9

7 years ago

0.8.8

7 years ago

0.8.7

7 years ago

0.8.6

7 years ago

0.8.4

7 years ago

0.8.3

7 years ago

0.8.2

7 years ago

0.8.2-alpha.5

7 years ago

0.8.2-alpha.3

7 years ago

0.8.2-alpha.1

7 years ago

0.8.2-alpha

7 years ago

0.8.1

7 years ago

0.7.20

7 years ago

0.7.18

7 years ago

0.7.16

7 years ago

0.7.14

7 years ago

0.8.0-alpha

7 years ago

0.7.13

7 years ago

0.7.12

7 years ago

0.6.0-alpha

7 years ago

0.7.11

7 years ago

0.7.10

7 years ago

0.7.9

7 years ago

0.7.8

7 years ago

0.7.7

7 years ago

0.7.6

7 years ago

0.7.5

7 years ago

0.5.8

7 years ago

0.5.7

7 years ago

0.7.4

7 years ago

0.7.3

7 years ago

0.7.2-alpha

7 years ago

0.7.1-alpha

7 years ago

0.7.0

7 years ago

0.6.1-beta

7 years ago

0.6.0-beta

7 years ago

0.5.6

7 years ago

0.5.5

7 years ago

0.5.4

7 years ago

0.5.3

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.7

7 years ago

0.4.6-alpha

7 years ago

0.4.5-alpha

7 years ago

0.4.4-alpha

7 years ago

0.3.4

7 years ago

0.4.3-alpha

7 years ago

0.4.2-alpha

7 years ago

0.4.1-alpha

7 years ago

0.3.3

7 years ago

0.2.21

7 years ago

0.3.2

7 years ago

0.4.0-alpha

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.20

7 years ago

0.2.19

7 years ago

0.2.18

7 years ago

0.3.2-alpha

7 years ago

0.2.18-alpha

7 years ago

0.2.17

7 years ago

0.2.16

7 years ago

0.3.1-alpha

7 years ago

0.2.15

7 years ago

0.3.0-alpha

8 years ago

0.2.14

8 years ago

0.2.13

8 years ago

0.2.12-alpha

8 years ago

0.2.11-alpha

8 years ago

0.2.10-alpha

8 years ago

0.2.9

8 years ago

0.2.8-alpha

8 years ago

0.2.7-alpha

8 years ago

0.2.6-alpha

8 years ago

0.1.2

8 years ago

0.2.5-alpha

8 years ago

0.2.4-alpha

8 years ago

0.2.3-alpha

8 years ago

0.1.1

8 years ago

0.2.2-alpha

8 years ago

0.2.1-alpha

8 years ago

0.2.0-alpha

8 years ago

0.1.0

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago