Skip to content

Commit c59e99e

Browse files
committed
codecov
1 parent f646710 commit c59e99e

File tree

4 files changed

+53
-2
lines changed

4 files changed

+53
-2
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,22 @@
77
<a href="https://circleci.com/gh/theKashey/react-memoize/tree/master">
88
<img src="https://img.shields.io/circleci/project/github/theKashey/react-memoize/master.svg?style=flat-square)" alt="Build status">
99
</a>
10+
11+
<a href="https://codecov.io/github/thekashey/react-memoize">
12+
<img src="https://img.shields.io/codecov/c/github/thekashey/react-memoize.svg?style=flat-square" />
13+
</a>
14+
15+
<a href="https://www.npmjs.com/package/react-memoize">
16+
<img src="https://img.shields.io/npm/v/react-memoize.svg?style=flat-square" />
17+
</a>
18+
1019
<br/>
1120
<br/>
1221
<br/>
1322
</div>
1423

1524

16-
7kb library to change the world. It is not fast, but it is MUCH faster that VDOM tree comparison you will face in case of render trashing.
25+
7kb library to change the world. It is not fast, but it is MUCH react-memoizer that VDOM tree comparison you will face in case of render trashing.
1726
Uses [memoize-state](https://github.com/theKashey/memoize-state) underneath, providing the same magic for `get` as [immer](https://github.com/mweststrate/immer) provided to `set`.
1827

1928
__Just write code as you want. It it will be properly memoized__.

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ test:
1010
- npm run size
1111

1212
override:
13-
- npm run test
13+
- npm run test --coverage && codecov

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"babel-preset-env": "1.6.0",
4949
"babel-preset-react": "^6.24.1",
5050
"chai": "^4.1.2",
51+
"codecov": "^3.0.2",
5152
"create-react-context": "^0.2.1",
5253
"enzyme": "^3.3.0",
5354
"enzyme-adapter-react-16": "^1.1.1",

yarn.lock

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,10 @@ argparse@^1.0.7:
367367
dependencies:
368368
sprintf-js "~1.0.2"
369369

370+
argv@0.0.2:
371+
version "0.0.2"
372+
resolved "https://registry.yarnpkg.com/argv/-/argv-0.0.2.tgz#ecbd16f8949b157183711b1bda334f37840185ab"
373+
370374
aria-query@^0.7.0:
371375
version "0.7.1"
372376
resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-0.7.1.tgz#26cbb5aff64144b0a825be1846e0b16cfa00b11e"
@@ -2029,6 +2033,14 @@ code-point-at@^1.0.0:
20292033
version "1.1.0"
20302034
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
20312035

2036+
codecov@^3.0.2:
2037+
version "3.0.2"
2038+
resolved "https://registry.yarnpkg.com/codecov/-/codecov-3.0.2.tgz#aea43843a5cd2fb6b7e488b2eff25d367ab70b12"
2039+
dependencies:
2040+
argv "0.0.2"
2041+
request "^2.81.0"
2042+
urlgrey "0.4.4"
2043+
20322044
color-convert@^1.3.0, color-convert@^1.9.0:
20332045
version "1.9.1"
20342046
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed"
@@ -6715,6 +6727,31 @@ request@2.81.0:
67156727
tunnel-agent "^0.6.0"
67166728
uuid "^3.0.0"
67176729

6730+
request@^2.81.0:
6731+
version "2.87.0"
6732+
resolved "https://registry.yarnpkg.com/request/-/request-2.87.0.tgz#32f00235cd08d482b4d0d68db93a829c0ed5756e"
6733+
dependencies:
6734+
aws-sign2 "~0.7.0"
6735+
aws4 "^1.6.0"
6736+
caseless "~0.12.0"
6737+
combined-stream "~1.0.5"
6738+
extend "~3.0.1"
6739+
forever-agent "~0.6.1"
6740+
form-data "~2.3.1"
6741+
har-validator "~5.0.3"
6742+
http-signature "~1.2.0"
6743+
is-typedarray "~1.0.0"
6744+
isstream "~0.1.2"
6745+
json-stringify-safe "~5.0.1"
6746+
mime-types "~2.1.17"
6747+
oauth-sign "~0.8.2"
6748+
performance-now "^2.1.0"
6749+
qs "~6.5.1"
6750+
safe-buffer "^5.1.1"
6751+
tough-cookie "~2.3.3"
6752+
tunnel-agent "^0.6.0"
6753+
uuid "^3.1.0"
6754+
67186755
request@^2.83.0:
67196756
version "2.83.0"
67206757
resolved "https://registry.yarnpkg.com/request/-/request-2.83.0.tgz#ca0b65da02ed62935887808e6f510381034e3356"
@@ -7570,6 +7607,10 @@ url@^0.11.0:
75707607
punycode "1.3.2"
75717608
querystring "0.2.0"
75727609

7610+
urlgrey@0.4.4:
7611+
version "0.4.4"
7612+
resolved "https://registry.yarnpkg.com/urlgrey/-/urlgrey-0.4.4.tgz#892fe95960805e85519f1cd4389f2cb4cbb7652f"
7613+
75737614
user-home@^1.1.1:
75747615
version "1.1.1"
75757616
resolved "https://registry.yarnpkg.com/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190"

0 commit comments

Comments
 (0)