Skip to content

Commit 8d61ddf

Browse files
authored
Refactor components and update docs (#15)
* Refactor components using React 16, update storybook, update docs libs * Update docs * Update build config * Update CI config * Clean up dependencies
1 parent 02b864b commit 8d61ddf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+16484
-15227
lines changed

.circleci/config.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- run: echo $CIRCLE_SHA1 > .circle-sha
1616
- run: echo "Install Dependencies"
1717
- run: npm i
18+
- run: npm i -C www
1819
- run: echo "Run Tests"
1920
- run: npm test
2021
- run: if [ $CIRCLE_BRANCH = 'master' ]; then npm run coverage; fi
@@ -38,6 +39,20 @@ jobs:
3839
command: |
3940
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc
4041
npm publish dist
42+
npm run deploy-docs
43+
44+
deploy-docs:
45+
docker:
46+
- image: node:8
47+
48+
steps:
49+
- run: echo $CIRCLE_SHA1 > .circle-sha
50+
- restore_cache:
51+
keys:
52+
- project-{{ checksum ".circle-sha" }}
53+
- run:
54+
command: |
55+
npm run deploy-docs
4156
4257
workflows:
4358
version: 2
@@ -56,3 +71,12 @@ workflows:
5671
ignore: /.*/
5772
tags:
5873
only: /\d+(\.\d+){2}(-(alpha|beta)(\d+)?)?/
74+
75+
- deploy-docs:
76+
requires:
77+
- deploy
78+
filters:
79+
branches:
80+
ignore: /.*/
81+
tags:
82+
only: /\d+(\.\d+){2}/

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## Unreleased
8+
### Updated
9+
- Rewritten with React 16 guidelines (remove deprecated life cycle hooks)
10+
- Update docs configuration and layout
11+
- Update dependencies
812

913
## 0.2.8 - 2018-01-23
1014
### Fixed

0 commit comments

Comments
 (0)