react-native-testing-library
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -13,3 +13,3 @@ # Contributing | ||
> **Working on your first pull request?** You can learn how from this *free* series: [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github). | ||
> **Working on your first pull request?** You can learn how from this _free_ series: [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github). | ||
@@ -24,9 +24,9 @@ 1. Fork the repo and create your branch from `master` (a guide on [how to fork a repository](https://help.github.com/articles/fork-a-repo/)). | ||
* `fix`: bug fixes, e.g. fix incorrect error message. | ||
* `feat`: new features, e.g. add useful API. | ||
* `refactor`: code/structure refactor, e.g. new folder structure. | ||
* `docs`: changes into documentation, e.g. add usage example for `getByText`. | ||
* `test`: adding or updating tests, eg unit, snapshot testing. | ||
* `chore`: tooling changes, e.g. change circle ci config. | ||
* `BREAKING`: for changes that break existing usage, e.g. change API. | ||
- `fix`: bug fixes, e.g. fix incorrect error message. | ||
- `feat`: new features, e.g. add useful API. | ||
- `refactor`: code/structure refactor, e.g. new folder structure. | ||
- `docs`: changes into documentation, e.g. add usage example for `getByText`. | ||
- `test`: adding or updating tests, eg unit, snapshot testing. | ||
- `chore`: tooling changes, e.g. change circle ci config. | ||
- `BREAKING`: for changes that break existing usage, e.g. change API. | ||
@@ -39,5 +39,5 @@ Our pre-commit hooks verify that your commit message matches this format when committing. | ||
* `yarn flow`: run flow on all files. | ||
* `yarn lint`: run eslint and prettier. | ||
* `yarn test`: run tests. | ||
- `yarn flow`: run flow on all files. | ||
- `yarn lint`: run eslint and prettier. | ||
- `yarn test`: run tests. | ||
@@ -48,7 +48,17 @@ ### Sending a pull request | ||
* Prefer small pull requests focused on one change. | ||
* Verify that `flow`, `eslint` and tests are passing. | ||
* Preview the documentation to make sure it looks good. | ||
* Follow the pull request template when opening a pull request. | ||
- Prefer small pull requests focused on one change. | ||
- Verify that `flow`, `eslint` and tests are passing. | ||
- Preview the documentation to make sure it looks good. | ||
- Follow the pull request template when opening a pull request. | ||
### Publishing a release | ||
We use [release-it](https://github.com/webpro/release-it) to automate our release. If you have publish access to the NPM package, run the following from the master branch to publish a new release: | ||
```sh | ||
yarn release | ||
``` | ||
NOTE: You must have a `GITHUB_TOKEN` environment variable available. You can create a GitHub access token with the "repo" access [here](https://github.com/settings/tokens). | ||
## Reporting issues | ||
@@ -55,0 +65,0 @@ |
{ | ||
"name": "react-native-testing-library", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Simple React Native testing utilities helping you write better tests with less effort", | ||
@@ -19,2 +19,5 @@ "main": "src/index.js", | ||
"babel-jest": "^23.6.0", | ||
"chalk": "^2.4.1", | ||
"conventional-changelog-cli": "^2.0.5", | ||
"dedent": "^0.7.0", | ||
"eslint": "^5.6.1", | ||
@@ -24,11 +27,13 @@ "flow-bin": "^0.83.0", | ||
"metro-react-native-babel-preset": "^0.48.0", | ||
"pretty-format": "^23.6.0", | ||
"react": "16.6.0-alpha.8af6728", | ||
"react-native": "^0.57.3", | ||
"react-test-renderer": "16.6.0-alpha.8af6728", | ||
"release-it": "^7.6.2", | ||
"strip-ansi": "^5.0.0", | ||
"typescript": "^3.1.1" | ||
}, | ||
"dependencies": { | ||
"pretty-format": "^23.6.0" | ||
}, | ||
"peerDependencies": { | ||
"pretty-format": ">=20.0.0", | ||
"react": ">=16.0.0", | ||
@@ -41,7 +46,11 @@ "react-test-renderer": ">= 16.0.0" | ||
"typescript-check": "tsc --noEmit --skipLibCheck --jsx react ./typings/__tests__/*", | ||
"lint": "eslint src --cache" | ||
"lint": "eslint src --cache", | ||
"release": "release-it" | ||
}, | ||
"jest": { | ||
"preset": "react-native" | ||
}, | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/" | ||
} | ||
} |
@@ -60,3 +60,3 @@ # react-native-testing-library | ||
This library has a peerDependencies listing for `react-test-renderer`, `pretty-format` and, of course, `react`. Make sure to install them too! | ||
This library has a peerDependencies listing for `react-test-renderer` and, of course, `react`. Make sure to install them too! | ||
@@ -63,0 +63,0 @@ As you may have noticed, it's not tied to React Native at all – you can safely use it in your React components if you feel like not interacting directly with DOM. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77849
24
1531
20
+ Addedpretty-format@^23.6.0
+ Addedansi-regex@3.0.1(transitive)
+ Addedansi-styles@3.2.1(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedpretty-format@23.6.0(transitive)
- Removed@jest/schemas@29.6.3(transitive)
- Removed@sinclair/typebox@0.27.8(transitive)
- Removedansi-styles@5.2.0(transitive)
- Removedpretty-format@29.7.0(transitive)