Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
feat: Test coverage (#32)
Browse files Browse the repository at this point in the history
* feat: Test coverage

* update icons version
  • Loading branch information
wangkailang authored Jul 23, 2019
1 parent fbc1cd3 commit 7ec6810
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 13 deletions.
9 changes: 9 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
codecov:
branch: master

coverage:
status:
project:
default:
# Fail the status if coverage drops by >= 0.1%
threshold: 0.1
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
# 0.1.0 (2019-06-20)
## 0.0.1-beta.1 (2019-07-23)


### Features

* Add color docs ([f195192](https://github.com/xsky-fe/wizard-ui/commit/f195192))
* Add icon ([16e949d](https://github.com/xsky-fe/wizard-ui/commit/16e949d))
* Add introduction docs ([9a3c2cf](https://github.com/xsky-fe/wizard-ui/commit/9a3c2cf))
* Add issue link ([307b03d](https://github.com/xsky-fe/wizard-ui/commit/307b03d))
* Add react docgen ([4b34a3a](https://github.com/xsky-fe/wizard-ui/commit/4b34a3a))
* Add test coverage ([3c95220](https://github.com/xsky-fe/wizard-ui/commit/3c95220))
* Add unit test ([d3a2fc1](https://github.com/xsky-fe/wizard-ui/commit/d3a2fc1))
* Build components ([#30](https://github.com/xsky-fe/wizard-ui/issues/30)) ([57013c4](https://github.com/xsky-fe/wizard-ui/commit/57013c4))
* Component playground ([0798a7d](https://github.com/xsky-fe/wizard-ui/commit/0798a7d))
* Docs deploy ([ba89a89](https://github.com/xsky-fe/wizard-ui/commit/ba89a89))
* Docs with gatsby ([39695b3](https://github.com/xsky-fe/wizard-ui/commit/39695b3))
* Grid docs with custom bootstrap sass ([315e87e](https://github.com/xsky-fe/wizard-ui/commit/315e87e))
* Pagination and Navigation ([c59e0c6](https://github.com/xsky-fe/wizard-ui/commit/c59e0c6))
* Steps ([50ba611](https://github.com/xsky-fe/wizard-ui/commit/50ba611))
* SubMenu and DropdownButton ([627d4eb](https://github.com/xsky-fe/wizard-ui/commit/627d4eb))
* Tabs ([060a8dd](https://github.com/xsky-fe/wizard-ui/commit/060a8dd))
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ if you not use [create-react-app](https://github.com/facebook/create-react-app),
{
test: /\.scss$/,
use: [
'style-loader', // 将 JS 字符串生成为 style 节点
'css-loader', // 将 CSS 转化成 CommonJS 模块
'sass-loader' // 将 Sass 编译成 CSS,默认使用 Node Sass
'style-loader',
'css-loader',
'sass-loader'
]
},
// choosed
{
test: /\.css$/,
use: [
'style-loader', // 将 JS 字符串生成为 style 节点
'css-loader', // 将 CSS 转化成 CommonJS 模块
'style-loader',
'css-loader',
]
}
```
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"react-live": "^2.1.1",
"react-router": "3.2.0",
"ts-node": "^8.2.0",
"wizard-icons": "git+https://github.com/xsky-fe/icons.git"
"wizard-icons": "0.0.1-beta.0"
},
"devDependencies": {
"babel-loader": "8.0.5",
Expand Down
22 changes: 17 additions & 5 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4530,7 +4530,7 @@ executable@^4.1.0:
dependencies:
pify "^2.2.0"

exenv@^1.2.1:
exenv@^1.2.0, exenv@^1.2.1:
version "1.2.2"
resolved "https://registry.yarnpkg.com/exenv/-/exenv-1.2.2.tgz#2ae78e85d9894158670b03d47bec1f03bd91bb9d"
integrity sha1-KueOhdmJQVhnCwPUe+wfA72Ru50=
Expand Down Expand Up @@ -10232,7 +10232,7 @@ react-is@^16.3.2, react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1:
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16"
integrity sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA==

react-lifecycles-compat@^3.0.4:
react-lifecycles-compat@^3.0.0, react-lifecycles-compat@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362"
integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==
Expand All @@ -10251,6 +10251,16 @@ react-live@^2.1.1:
react-simple-code-editor "^0.9.0"
unescape "^0.2.0"

react-modal@^3.9.1:
version "3.9.1"
resolved "https://registry.yarnpkg.com/react-modal/-/react-modal-3.9.1.tgz#82ce53d110eea0d8f028f3315ef336d0baffa9b9"
integrity sha512-k+TUkhGWpIVHLsEyjNmlyOYL0Uz03fNZvlkhCImd1h+6fhNgTi6H6jexVXPVhD2LMMDzJyfugxMN+APN/em+eQ==
dependencies:
exenv "^1.2.0"
prop-types "^15.5.10"
react-lifecycles-compat "^3.0.0"
warning "^4.0.3"

react-overlays@^0.7.0:
version "0.7.4"
resolved "https://registry.yarnpkg.com/react-overlays/-/react-overlays-0.7.4.tgz#ef2ec652c3444ab8aa014262b18f662068e56d5c"
Expand Down Expand Up @@ -12962,16 +12972,18 @@ with-open-file@^0.1.6:
p-try "^2.1.0"
pify "^4.0.1"

"wizard-icons@git+https://github.com/xsky-fe/icons.git":
version "1.0.0"
resolved "git+https://github.com/xsky-fe/icons.git#f2ee33a4539bc5776831cf3a1cff1d86261a5d3f"
wizard-icons@0.0.1-beta.0:
version "0.0.1-beta.0"
resolved "https://registry.yarnpkg.com/wizard-icons/-/wizard-icons-0.0.1-beta.0.tgz#aa8d43899c409a6eec89a92dd79e657a56dfa0d1"
integrity sha512-goA0q5lJqu7pQYsrVAXh7pIXM5lT23wqtx/oWP2WVGVIACMQOGSgU2jXK0N8MAoKENCbVDHZOgslMt7DnAWbJQ==
dependencies:
"@types/lodash" "^4.14.136"
"@types/node" "^12.6.2"
"@types/styled-components" "^4.1.17"
lodash "^4.17.14"
react "^16.8.6"
react-dom "^16.8.6"
react-modal "^3.9.1"
styled-components "^4.3.2"

wordwrap@~1.0.0:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"react-ios-switch": "^0.1.19",
"react-scripts": "3.0.1",
"typescript": "3.4.5",
"wizard-icons": "git+https://github.com/xsky-fe/icons.git"
"wizard-icons": "0.0.1-beta.0"
},
"scripts": {
"test": "react-scripts test --env=jsdom",
Expand Down

0 comments on commit 7ec6810

Please sign in to comment.