Skip to content

Commit

Permalink
Merge branch 'master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
pvinis committed Feb 22, 2020
2 parents 8a4dc9d + 850d595 commit c1ffdde
Show file tree
Hide file tree
Showing 14 changed files with 6,831 additions and 1,006 deletions.
172 changes: 172 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
{
"projectName": "hooks",
"projectOwner": "react-native-community",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"imageSize": 100,
"commit": true,
"commitConvention": "none",
"contributors": [
{
"login": "pvinis",
"name": "Pavlos Vinieratos",
"avatar_url": "https://avatars2.githubusercontent.com/u/100233?v=4",
"profile": "http://pavlos.dev",
"contributions": [
"code",
"design",
"doc",
"infra",
"maintenance",
"test"
]
},
{
"login": "melihberberolu",
"name": "Melih",
"avatar_url": "https://avatars3.githubusercontent.com/u/3721734?v=4",
"profile": "https://github.com/melihberberolu",
"contributions": [
"code",
"doc",
"infra",
"test"
]
},
{
"login": "Naturalclar",
"name": "Jesse Katsumata",
"avatar_url": "https://avatars1.githubusercontent.com/u/6936373?v=4",
"profile": "https://naturalclar.dev",
"contributions": [
"code",
"doc",
"maintenance",
"test"
]
},
{
"login": "webtaculars",
"name": "abhishek gupta",
"avatar_url": "https://avatars0.githubusercontent.com/u/11532969?v=4",
"profile": "https://twitter.com/webtaculars",
"contributions": [
"bug"
]
},
{
"login": "zeljkoX",
"name": "Zeljko",
"avatar_url": "https://avatars3.githubusercontent.com/u/2046481?v=4",
"profile": "http://www.linkedin.com/in/zeljko-markovic-19266344",
"contributions": [
"code"
]
},
{
"login": "LinusU",
"name": "Linus Unnebäck",
"avatar_url": "https://avatars0.githubusercontent.com/u/189580?v=4",
"profile": "http://linus.unnebäck.se/",
"contributions": [
"code"
]
},
{
"login": "tonyxiao",
"name": "Tony Xiao",
"avatar_url": "https://avatars1.githubusercontent.com/u/696842?v=4",
"profile": "http://stackoverflow.com/users/692499/tony",
"contributions": [
"code"
]
},
{
"login": "ronal2do",
"name": "Ronaldo Lima",
"avatar_url": "https://avatars3.githubusercontent.com/u/4389565?v=4",
"profile": "https://github.com/ronal2do",
"contributions": [
"code"
]
},
{
"login": "reime005",
"name": "Marius Reimer",
"avatar_url": "https://avatars3.githubusercontent.com/u/15148377?v=4",
"profile": "https://mariusreimer.com",
"contributions": [
"code"
]
},
{
"login": "pnishith",
"name": "Nishith Patel",
"avatar_url": "https://avatars1.githubusercontent.com/u/24517032?v=4",
"profile": "https://github.com/pnishith",
"contributions": [
"code"
]
},
{
"login": "jozn",
"name": "jozn",
"avatar_url": "https://avatars2.githubusercontent.com/u/3476299?v=4",
"profile": "https://github.com/jozn",
"contributions": [
"doc"
]
},
{
"login": "hipstersmoothie",
"name": "Andrew Lisowski",
"avatar_url": "https://avatars3.githubusercontent.com/u/1192452?v=4",
"profile": "http://hipstersmoothie.com",
"contributions": [
"infra",
"platform",
"tool"
]
},
{
"login": "faahmad",
"name": "faraz ahmad",
"avatar_url": "https://avatars2.githubusercontent.com/u/6789822?v=4",
"profile": "https://linkedin.com/in/farazamiruddin",
"contributions": [
"doc"
]
},
{
"login": "dabit3",
"name": "Nader Dabit",
"avatar_url": "https://avatars1.githubusercontent.com/u/1857282?v=4",
"profile": "http://www.naderdabit.me",
"contributions": [
"ideas"
]
},
{
"login": "DaniAkash",
"name": "Dani Akash",
"avatar_url": "https://avatars3.githubusercontent.com/u/6841445?v=4",
"profile": "http://twitter.com/dani_akash_",
"contributions": [
"code"
]
},
{
"login": "DylanVann",
"name": "Dylan Vann",
"avatar_url": "https://avatars0.githubusercontent.com/u/1537615?v=4",
"profile": "https://dylanvann.com/",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7
}
4 changes: 4 additions & 0 deletions .autorc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"plugins": ["npm", "all-contributors", "first-time-contributor", "released"],
"onlyPublishWithReleaseLabel": true
}
48 changes: 48 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
version: 2.1


orbs:
rn: react-native-community/react-native@3.0.1


jobs:
checkout_code:
executor: rn/linux_js
steps:
- checkout
- persist_to_workspace:
root: .
paths: .
analyze:
executor: rn/linux_js
steps:
- attach_workspace:
at: .
- rn/yarn_install
- run:
name: Lint JS Code (ESLint)
command: yarn lint
- run:
name: Jest
command: yarn test
release:
executor: rn/linux_js
steps:
- attach_workspace:
at: .
- rn/yarn_install
- run:
name: Publish a release to NPM
command: yarn release


workflows:
build-test-release:
jobs:
- checkout_code
- analyze:
requires:
- checkout_code
- release:
requires:
- analyze
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ jsconfig.json
npm-debug.log
node_modules
yarn-error.log

.env
9 changes: 0 additions & 9 deletions .release-it.json

This file was deleted.

89 changes: 89 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# v2.4.3 (Sat Feb 22 2020)

#### 🐛 Bug Fix

- upg [#72](https://github.com/react-native-community/hooks/pull/72) ([@pvinis](https://github.com/pvinis))
- aha [#71](https://github.com/react-native-community/hooks/pull/71) ([@pvinis](https://github.com/pvinis))

#### ⚠️ Pushed to master

- use v prefix :( ([@pvinis](https://github.com/pvinis))
- Merge branch 'master' of github.com:react-native-community/hooks ([@pvinis](https://github.com/pvinis))
- Revert "move config out" ([@pvinis](https://github.com/pvinis))

#### Authors: 1

- Pavlos Vinieratos ([@pvinis](https://github.com/pvinis))

---

# v2.4.2 (Sat Feb 22 2020)

#### 🐛 Bug Fix

- ok [#70](https://github.com/react-native-community/hooks/pull/70) ([@pvinis](https://github.com/pvinis))
- hm [#69](https://github.com/react-native-community/hooks/pull/69) ([@pvinis](https://github.com/pvinis))
- set up auto [#66](https://github.com/react-native-community/hooks/pull/66) ([@hipstersmoothie](https://github.com/hipstersmoothie) [@pvinis](https://github.com/pvinis))
- (fix): Add a prepare script to package.json [#68](https://github.com/react-native-community/hooks/pull/68) ([@Naturalclar](https://github.com/Naturalclar))

#### ⚠️ Pushed to master

- move config out ([@pvinis](https://github.com/pvinis))
- upgrade ([@pvinis](https://github.com/pvinis))
- add renovate ([@pvinis](https://github.com/pvinis))

#### Authors: 3

- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie))
- Jesse Katsumata ([@Naturalclar](https://github.com/Naturalclar))
- Pavlos Vinieratos ([@pvinis](https://github.com/pvinis))

---

# (Fri Feb 21 2020)

:tada: This release contains work from new contributors! :tada:

Thanks for all your work!

:heart: Linus Unnebäck ([@LinusU](https://github.com/LinusU))

:heart: Ronaldo Lima ([@ronal2do](https://github.com/ronal2do))

#### 🚀 Enhancement

- trying out auto [#60](https://github.com/react-native-community/hooks/pull/60) ([@pvinis](https://github.com/pvinis))

#### 🐛 Bug Fix

- Update README.md [#61](https://github.com/react-native-community/hooks/pull/61) ([@pvinis](https://github.com/pvinis))
- Create LICENSE [#57](https://github.com/react-native-community/hooks/pull/57) ([@pvinis](https://github.com/pvinis))
- Make sure initial dimensions are up-to-date [#58](https://github.com/react-native-community/hooks/pull/58) ([@LinusU](https://github.com/LinusU))
- from pr #38 from @arielger ([@pvinis](https://github.com/pvinis))
- Update useBackHandler.js

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))

#### ⚠️ Pushed to master

- bump ([@pvinis](https://github.com/pvinis))
- aha ([@pvinis](https://github.com/pvinis))
- upg ([@pvinis](https://github.com/pvinis))
- test ([@pvinis](https://github.com/pvinis))
- try ([@pvinis](https://github.com/pvinis))
- some baaaasic tests ([@pvinis](https://github.com/pvinis))
- rename repo to be canonical with the rest and fix links ([@pvinis](https://github.com/pvinis))
- 2.0.1 ([@LinusU](https://github.com/LinusU))
- avoid shadowing ([@pvinis](https://github.com/pvinis))
- Merge branch 'ronal2do-patch-1' ([@pvinis](https://github.com/pvinis))
- Merge branch 'patch-1' of https://github.com/ronal2do/react-native-hooks into ronal2do-patch-1 ([@pvinis](https://github.com/pvinis))
- upgrade ([@pvinis](https://github.com/pvinis))

#### Authors: 3

- Linus Unnebäck ([@LinusU](https://github.com/LinusU))
- Pavlos Vinieratos ([@pvinis](https://github.com/pvinis))
- Ronaldo Lima ([@ronal2do](https://github.com/ronal2do))

---

15 changes: 15 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ISC License (ISC)

Copyright (c) 2018 - 2020 React Native Community

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Loading

0 comments on commit c1ffdde

Please sign in to comment.