@@ -26,45 +26,16 @@ series [How to Contribute to an Open Source Project on GitHub][egghead]
26
26
> can make all of your pull request branches based on this `master` branch.
27
27
> Whenever you want to update your version of `master`, do a regular `git pull`.
28
28
29
- ## Add yourself as a contributor
30
-
31
- This project follows the [all contributors][all-contributors] specification. To
32
- add yourself to the table of contributors on the `README.md`, please use the
33
- automated script as part of your PR:
34
-
35
- ```console
36
- npm run add-contributor
37
- ```
38
-
39
- Follow the prompt and commit ` .all-contributorsrc ` and ` README.md ` in the PR. If
40
- you've already added yourself to the list and are making a new type of
41
- contribution, you can run it again and select the added contribution type.
42
-
43
29
## Committing and Pushing changes
44
30
45
31
Please make sure to run the tests before you commit your changes. You can run
46
32
`npm run test:update` which will update any snapshots that need updating. Make
47
33
sure to include those changes (if they exist) in your commit.
48
34
49
- ### opt into git hooks
50
-
51
- There are git hooks set up with this project that are automatically installed
52
- when you install dependencies. They're really handy, but are turned off by
53
- default (so as to not hinder new contributors). You can opt into these by
54
- creating a file called ` .opt-in ` at the root of the project and putting this
55
- inside:
56
-
57
- ```
58
- pre-commit
59
- ```
60
-
61
- ### Add typings
35
+ ### Update Typings
62
36
63
- If your PR introduced some changes in the API, you are more than welcome to
64
- modify the Typescript type definition to reflect those changes. Just modify the
65
- ` /typings/index.d.ts ` file accordingly. If you have never seen Typescript
66
- definitions before, you can read more about it in its
67
- [ documentation pages] ( https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html )
37
+ The TypeScript type definitions are in the
38
+ [DefinitelyTyped repo](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/testing-library__react)
68
39
69
40
## Help needed
70
41
0 commit comments