Skip to content

Commit c1ffdde

Browse files
authored
Merge branch 'master' into patch-1
2 parents 8a4dc9d + 850d595 commit c1ffdde

14 files changed

+6831
-1006
lines changed

.all-contributorsrc

Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
{
2+
"projectName": "hooks",
3+
"projectOwner": "react-native-community",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"imageSize": 100,
10+
"commit": true,
11+
"commitConvention": "none",
12+
"contributors": [
13+
{
14+
"login": "pvinis",
15+
"name": "Pavlos Vinieratos",
16+
"avatar_url": "https://avatars2.githubusercontent.com/u/100233?v=4",
17+
"profile": "http://pavlos.dev",
18+
"contributions": [
19+
"code",
20+
"design",
21+
"doc",
22+
"infra",
23+
"maintenance",
24+
"test"
25+
]
26+
},
27+
{
28+
"login": "melihberberolu",
29+
"name": "Melih",
30+
"avatar_url": "https://avatars3.githubusercontent.com/u/3721734?v=4",
31+
"profile": "https://github.com/melihberberolu",
32+
"contributions": [
33+
"code",
34+
"doc",
35+
"infra",
36+
"test"
37+
]
38+
},
39+
{
40+
"login": "Naturalclar",
41+
"name": "Jesse Katsumata",
42+
"avatar_url": "https://avatars1.githubusercontent.com/u/6936373?v=4",
43+
"profile": "https://naturalclar.dev",
44+
"contributions": [
45+
"code",
46+
"doc",
47+
"maintenance",
48+
"test"
49+
]
50+
},
51+
{
52+
"login": "webtaculars",
53+
"name": "abhishek gupta",
54+
"avatar_url": "https://avatars0.githubusercontent.com/u/11532969?v=4",
55+
"profile": "https://twitter.com/webtaculars",
56+
"contributions": [
57+
"bug"
58+
]
59+
},
60+
{
61+
"login": "zeljkoX",
62+
"name": "Zeljko",
63+
"avatar_url": "https://avatars3.githubusercontent.com/u/2046481?v=4",
64+
"profile": "http://www.linkedin.com/in/zeljko-markovic-19266344",
65+
"contributions": [
66+
"code"
67+
]
68+
},
69+
{
70+
"login": "LinusU",
71+
"name": "Linus Unnebäck",
72+
"avatar_url": "https://avatars0.githubusercontent.com/u/189580?v=4",
73+
"profile": "http://linus.unnebäck.se/",
74+
"contributions": [
75+
"code"
76+
]
77+
},
78+
{
79+
"login": "tonyxiao",
80+
"name": "Tony Xiao",
81+
"avatar_url": "https://avatars1.githubusercontent.com/u/696842?v=4",
82+
"profile": "http://stackoverflow.com/users/692499/tony",
83+
"contributions": [
84+
"code"
85+
]
86+
},
87+
{
88+
"login": "ronal2do",
89+
"name": "Ronaldo Lima",
90+
"avatar_url": "https://avatars3.githubusercontent.com/u/4389565?v=4",
91+
"profile": "https://github.com/ronal2do",
92+
"contributions": [
93+
"code"
94+
]
95+
},
96+
{
97+
"login": "reime005",
98+
"name": "Marius Reimer",
99+
"avatar_url": "https://avatars3.githubusercontent.com/u/15148377?v=4",
100+
"profile": "https://mariusreimer.com",
101+
"contributions": [
102+
"code"
103+
]
104+
},
105+
{
106+
"login": "pnishith",
107+
"name": "Nishith Patel",
108+
"avatar_url": "https://avatars1.githubusercontent.com/u/24517032?v=4",
109+
"profile": "https://github.com/pnishith",
110+
"contributions": [
111+
"code"
112+
]
113+
},
114+
{
115+
"login": "jozn",
116+
"name": "jozn",
117+
"avatar_url": "https://avatars2.githubusercontent.com/u/3476299?v=4",
118+
"profile": "https://github.com/jozn",
119+
"contributions": [
120+
"doc"
121+
]
122+
},
123+
{
124+
"login": "hipstersmoothie",
125+
"name": "Andrew Lisowski",
126+
"avatar_url": "https://avatars3.githubusercontent.com/u/1192452?v=4",
127+
"profile": "http://hipstersmoothie.com",
128+
"contributions": [
129+
"infra",
130+
"platform",
131+
"tool"
132+
]
133+
},
134+
{
135+
"login": "faahmad",
136+
"name": "faraz ahmad",
137+
"avatar_url": "https://avatars2.githubusercontent.com/u/6789822?v=4",
138+
"profile": "https://linkedin.com/in/farazamiruddin",
139+
"contributions": [
140+
"doc"
141+
]
142+
},
143+
{
144+
"login": "dabit3",
145+
"name": "Nader Dabit",
146+
"avatar_url": "https://avatars1.githubusercontent.com/u/1857282?v=4",
147+
"profile": "http://www.naderdabit.me",
148+
"contributions": [
149+
"ideas"
150+
]
151+
},
152+
{
153+
"login": "DaniAkash",
154+
"name": "Dani Akash",
155+
"avatar_url": "https://avatars3.githubusercontent.com/u/6841445?v=4",
156+
"profile": "http://twitter.com/dani_akash_",
157+
"contributions": [
158+
"code"
159+
]
160+
},
161+
{
162+
"login": "DylanVann",
163+
"name": "Dylan Vann",
164+
"avatar_url": "https://avatars0.githubusercontent.com/u/1537615?v=4",
165+
"profile": "https://dylanvann.com/",
166+
"contributions": [
167+
"code"
168+
]
169+
}
170+
],
171+
"contributorsPerLine": 7
172+
}

.autorc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"plugins": ["npm", "all-contributors", "first-time-contributor", "released"],
3+
"onlyPublishWithReleaseLabel": true
4+
}

.circleci/config.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
version: 2.1
2+
3+
4+
orbs:
5+
rn: react-native-community/[email protected]
6+
7+
8+
jobs:
9+
checkout_code:
10+
executor: rn/linux_js
11+
steps:
12+
- checkout
13+
- persist_to_workspace:
14+
root: .
15+
paths: .
16+
analyze:
17+
executor: rn/linux_js
18+
steps:
19+
- attach_workspace:
20+
at: .
21+
- rn/yarn_install
22+
- run:
23+
name: Lint JS Code (ESLint)
24+
command: yarn lint
25+
- run:
26+
name: Jest
27+
command: yarn test
28+
release:
29+
executor: rn/linux_js
30+
steps:
31+
- attach_workspace:
32+
at: .
33+
- rn/yarn_install
34+
- run:
35+
name: Publish a release to NPM
36+
command: yarn release
37+
38+
39+
workflows:
40+
build-test-release:
41+
jobs:
42+
- checkout_code
43+
- analyze:
44+
requires:
45+
- checkout_code
46+
- release:
47+
requires:
48+
- analyze

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ jsconfig.json
1414
npm-debug.log
1515
node_modules
1616
yarn-error.log
17+
18+
.env

.release-it.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# v2.4.3 (Sat Feb 22 2020)
2+
3+
#### 🐛 Bug Fix
4+
5+
- upg [#72](https://github.com/react-native-community/hooks/pull/72) ([@pvinis](https://github.com/pvinis))
6+
- aha [#71](https://github.com/react-native-community/hooks/pull/71) ([@pvinis](https://github.com/pvinis))
7+
8+
#### ⚠️ Pushed to master
9+
10+
- use v prefix :( ([@pvinis](https://github.com/pvinis))
11+
- Merge branch 'master' of github.com:react-native-community/hooks ([@pvinis](https://github.com/pvinis))
12+
- Revert "move config out" ([@pvinis](https://github.com/pvinis))
13+
14+
#### Authors: 1
15+
16+
- Pavlos Vinieratos ([@pvinis](https://github.com/pvinis))
17+
18+
---
19+
20+
# v2.4.2 (Sat Feb 22 2020)
21+
22+
#### 🐛 Bug Fix
23+
24+
- ok [#70](https://github.com/react-native-community/hooks/pull/70) ([@pvinis](https://github.com/pvinis))
25+
- hm [#69](https://github.com/react-native-community/hooks/pull/69) ([@pvinis](https://github.com/pvinis))
26+
- set up auto [#66](https://github.com/react-native-community/hooks/pull/66) ([@hipstersmoothie](https://github.com/hipstersmoothie) [@pvinis](https://github.com/pvinis))
27+
- (fix): Add a prepare script to package.json [#68](https://github.com/react-native-community/hooks/pull/68) ([@Naturalclar](https://github.com/Naturalclar))
28+
29+
#### ⚠️ Pushed to master
30+
31+
- move config out ([@pvinis](https://github.com/pvinis))
32+
- upgrade ([@pvinis](https://github.com/pvinis))
33+
- add renovate ([@pvinis](https://github.com/pvinis))
34+
35+
#### Authors: 3
36+
37+
- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie))
38+
- Jesse Katsumata ([@Naturalclar](https://github.com/Naturalclar))
39+
- Pavlos Vinieratos ([@pvinis](https://github.com/pvinis))
40+
41+
---
42+
43+
# (Fri Feb 21 2020)
44+
45+
:tada: This release contains work from new contributors! :tada:
46+
47+
Thanks for all your work!
48+
49+
:heart: Linus Unnebäck ([@LinusU](https://github.com/LinusU))
50+
51+
:heart: Ronaldo Lima ([@ronal2do](https://github.com/ronal2do))
52+
53+
#### 🚀 Enhancement
54+
55+
- trying out auto [#60](https://github.com/react-native-community/hooks/pull/60) ([@pvinis](https://github.com/pvinis))
56+
57+
#### 🐛 Bug Fix
58+
59+
- Update README.md [#61](https://github.com/react-native-community/hooks/pull/61) ([@pvinis](https://github.com/pvinis))
60+
- Create LICENSE [#57](https://github.com/react-native-community/hooks/pull/57) ([@pvinis](https://github.com/pvinis))
61+
- Make sure initial dimensions are up-to-date [#58](https://github.com/react-native-community/hooks/pull/58) ([@LinusU](https://github.com/LinusU))
62+
- from pr #38 from @arielger ([@pvinis](https://github.com/pvinis))
63+
- Update useBackHandler.js
64+
65+
Every time this function was called you will add a new `addEventListener`, now we passed an argument to create a new listener only when receive a new function [#40](https://github.com/react-native-community/hooks/pull/40) ([@ronal2do](https://github.com/ronal2do))
66+
67+
#### ⚠️ Pushed to master
68+
69+
- bump ([@pvinis](https://github.com/pvinis))
70+
- aha ([@pvinis](https://github.com/pvinis))
71+
- upg ([@pvinis](https://github.com/pvinis))
72+
- test ([@pvinis](https://github.com/pvinis))
73+
- try ([@pvinis](https://github.com/pvinis))
74+
- some baaaasic tests ([@pvinis](https://github.com/pvinis))
75+
- rename repo to be canonical with the rest and fix links ([@pvinis](https://github.com/pvinis))
76+
- 2.0.1 ([@LinusU](https://github.com/LinusU))
77+
- avoid shadowing ([@pvinis](https://github.com/pvinis))
78+
- Merge branch 'ronal2do-patch-1' ([@pvinis](https://github.com/pvinis))
79+
- Merge branch 'patch-1' of https://github.com/ronal2do/react-native-hooks into ronal2do-patch-1 ([@pvinis](https://github.com/pvinis))
80+
- upgrade ([@pvinis](https://github.com/pvinis))
81+
82+
#### Authors: 3
83+
84+
- Linus Unnebäck ([@LinusU](https://github.com/LinusU))
85+
- Pavlos Vinieratos ([@pvinis](https://github.com/pvinis))
86+
- Ronaldo Lima ([@ronal2do](https://github.com/ronal2do))
87+
88+
---
89+

LICENSE

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
ISC License (ISC)
2+
3+
Copyright (c) 2018 - 2020 React Native Community
4+
5+
Permission to use, copy, modify, and distribute this software for any
6+
purpose with or without fee is hereby granted, provided that the above
7+
copyright notice and this permission notice appear in all copies.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

0 commit comments

Comments
 (0)