Skip to content

Commit d2e00f5

Browse files
greenkeeper[bot]thymikee
authored andcommitted
Update dependencies to enable Greenkeeper 🌴 (#14)
Let’s get started with automated dependency management for react-native-testing-library 💪 🔒 Greenkeeper has found a `yarn.lock` file in this repository. Greenkeeper supports lockfile updates for public packages. If you use private packages in your repository, please use [greenkeeper-lockfile](https://github.com/greenkeeperio/greenkeeper-lockfile) to make sure these can get updated as well. This pull request **updates all your dependencies to their latest version**. Having them all up to date really is the best starting point for keeping up with new releases. Greenkeeper will look out for further dependency updates and make sure to handle them in isolation and in real-time, but only after **you merge this pull request**. **Important: Greenkeeper will only start watching this repository’s dependency updates after you merge this initial pull request**. --- <details> <summary>🏷 How to check the status of this repository</summary> Greenkeeper adds a badge to your README which indicates the status of this repository. This is what your badge looks like right now 👉 ![Greenkeeper badge](https://badges.greenkeeper.io/callstack/react-native-testing-library.svg) </details> <details> <summary>🙈 How to ignore certain dependencies</summary> You may have good reasons for not wanting to update to a certain dependency right now. In this case, you can [change the dependency’s version string in the `package.json` file back to whatever you prefer](https://github.com/callstack/react-native-testing-library/edit/greenkeeper/initial/package.json). To make sure Greenkeeper doesn’t nag you again on the next update, add a `greenkeeper.ignore` field to your `package.json`, containing a list of dependencies you don’t want to update. ```js // package.json { … "greenkeeper": { "ignore": [ "package-names", "you-want-me-to-ignore" ] } } ``` </details> <details> <summary>👩‍💻 How to update this pull request</summary> ```bash # Change into your repository’s directory git fetch --all git checkout greenkeeper/initial npm install-test # Adapt your code until everything works again git commit -m 'chore: adapt code to updated dependencies' git push https://github.com/callstack/react-native-testing-library.git greenkeeper/initial ``` </details> <details> <summary>✨ How do dependency updates work with Greenkeeper?</summary> After you merge this pull request, **Greenkeeper will create a new branch whenever a dependency is updated**, with the new version applied. The branch creation should trigger your testing services and check whether your code still works with the new dependency version. Depending on the the results of these tests Greenkeeper will try to open meaningful and helpful pull requests and issues, so your dependencies remain working and up-to-date. ```diff - "underscore": "^1.6.0" + "underscore": "^1.7.0" ``` The above example shows an in-range update. `1.7.0` is included in the old `^1.6.0` range, because of the [caret `^` character ](https://docs.npmjs.com/misc/semver#ranges). When the test services report success Greenkeeper will silently delete the branch again, because no action needs to be taken – everything is fine. However, should the tests fail, Greenkeeper will create an issue to inform you about the problem immediately. This way, you’ll never be surprised by a dependency breaking your code. As long as everything still works, Greenkeeper will stay out of your way, and as soon as something goes wrong, you’ll be the first to know. ```diff - "lodash": "^3.0.0" + "lodash": "^4.0.0" ``` In this example, the new version `4.0.0` is _not_ included in the old `^3.0.0` range. For version updates like these – let’s call them “out of range” updates – you’ll receive a pull request. This means that **you no longer need to check for new versions manually** – Greenkeeper will keep you up to date automatically. These pull requests not only serve as reminders to update: If you have solid tests and good coverage, and the pull requests passes those tests, you can very likely just merge it and release a new version of your software straight away :shipit: To get a better idea of which ranges apply to which releases, check out the extremely useful [semver calculator](https://semver.npmjs.com/) provided by npm. </details> <details> <summary>FAQ and help</summary> There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new). </details> --- Good luck with your project and see you soon ✨ Your [Greenkeeper](https://greenkeeper.io) bot 🌴
1 parent c6c4036 commit d2e00f5

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Simple React Native testing utilities helping you write better tests with less e
77
[![MIT License][license-badge]][license]
88
[![PRs Welcome][prs-welcome-badge]][prs-welcome]
99
[![Chat][chat-badge]][chat]
10+
[![Greenkeeper badge](https://badges.greenkeeper.io/callstack/react-native-testing-library.svg)](https://greenkeeper.io/)
1011

1112
_Appreciation notice: This project is heavily inspired by [react-testing-library](https://github.com/kentcdodds/react-testing-library). Go check it out and use it to test your web React apps._
1213

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"babel-core": "7.0.0-bridge.0",
1515
"babel-jest": "^23.6.0",
1616
"eslint": "^5.6.1",
17-
"flow-bin": "^0.81.0",
17+
"flow-bin": "^0.82.0",
1818
"jest": "^23.6.0",
19-
"metro-react-native-babel-preset": "^0.47.1",
19+
"metro-react-native-babel-preset": "^0.48.0",
2020
"pretty-format": "^23.6.0",
2121
"react": "^16.5.2",
2222
"react-test-renderer": "^16.5.2"

yarn.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2119,10 +2119,10 @@ flat-cache@^1.2.1:
21192119
graceful-fs "^4.1.2"
21202120
write "^0.2.1"
21212121

2122-
flow-bin@^0.81.0:
2123-
version "0.81.0"
2124-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.81.0.tgz#7f0a733dce1dad3cb1447c692639292dc3d60bf5"
2125-
integrity sha512-5e8oL3/5rm3G0Eet3yDCne2R/TLo5Fkn+Z5MtHd4wtz+1miLC35Sgo8XvnbTmiZ9epdTZ1q6GLmJWYh7tUlfGg==
2122+
flow-bin@^0.82.0:
2123+
version "0.82.0"
2124+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.82.0.tgz#fbec84c0d6cab7877565eca8214d655f3aefb8db"
2125+
integrity sha512-D7ViTCVJSVv19CB6dFWS9k2iKQlavtkRXn9el0ofVTTpGuybe+EPE8DZwdyohzEt6wRhHV8gwkteWvxdcVuOzg==
21262126

21272127
for-in@^1.0.1, for-in@^1.0.2:
21282128
version "1.0.2"
@@ -3420,17 +3420,17 @@ merge@^1.2.0:
34203420
resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.0.tgz#7531e39d4949c281a66b8c5a6e0265e8b05894da"
34213421
integrity sha1-dTHjnUlJwoGma4xabgJl6LBYlNo=
34223422

3423-
metro-babel7-plugin-react-transform@0.47.1:
3424-
version "0.47.1"
3425-
resolved "https://registry.yarnpkg.com/metro-babel7-plugin-react-transform/-/metro-babel7-plugin-react-transform-0.47.1.tgz#83cc3fa73bc42f8ab054235c1d538baed36660a1"
3426-
integrity sha512-b7drnNbVww/AastsGlVBy3o5HJUGgjEMB1UrXHYh8Me5dVqirH5uEdy0d3cQAnMaq4lv5PBmcaoX/FP0bdLI5A==
3423+
metro-babel7-plugin-react-transform@0.48.0:
3424+
version "0.48.0"
3425+
resolved "https://registry.yarnpkg.com/metro-babel7-plugin-react-transform/-/metro-babel7-plugin-react-transform-0.48.0.tgz#3aabfbd695833bd3aad0713668e89ad91627f207"
3426+
integrity sha512-0z0fj9lj2F1F3/yLdSdsCR2r2wBbvjJdHtUW+5eb4kr0B6ZDq9aBuaple2u7/srghRsqG89kfTZHgRgOQ15oIw==
34273427
dependencies:
34283428
"@babel/helper-module-imports" "^7.0.0"
34293429

3430-
metro-react-native-babel-preset@^0.47.1:
3431-
version "0.47.1"
3432-
resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.47.1.tgz#b74ecdafbcbac23b90d07a5bc552c22960e1ad29"
3433-
integrity sha512-p5qrbcECeZ/PYQm3Sv7cxMtVdUz4TZrhjjGFkAdmSWlhveztALYzk0lNn6fL3DCRcFRiO0NvS90JO5XXOJFk3w==
3430+
metro-react-native-babel-preset@^0.48.0:
3431+
version "0.48.0"
3432+
resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.48.0.tgz#edb9d88d8e0a2e47865a08be0ba81b5fe31e8b8e"
3433+
integrity sha512-HjHWmbpvistlC/UuaTKh+AkVmNxw5pqUhb/RSL7isxLrOgxFCG063P0aHl+GwT8EFA4ZnHL9YCqceop1Ewfq9w==
34343434
dependencies:
34353435
"@babel/plugin-proposal-class-properties" "^7.0.0"
34363436
"@babel/plugin-proposal-export-default-from" "^7.0.0"
@@ -3465,7 +3465,7 @@ metro-react-native-babel-preset@^0.47.1:
34653465
"@babel/plugin-transform-typescript" "^7.0.0"
34663466
"@babel/plugin-transform-unicode-regex" "^7.0.0"
34673467
"@babel/template" "^7.0.0"
3468-
metro-babel7-plugin-react-transform "0.47.1"
3468+
metro-babel7-plugin-react-transform "0.48.0"
34693469
react-transform-hmr "^1.0.4"
34703470

34713471
micromatch@^2.3.11:

0 commit comments

Comments
 (0)