Skip to content

Commit 1e9462e

Browse files
authored
chore: Update typescript version and add all-contributors spec (#18)
1 parent 9a91b0d commit 1e9462e

File tree

4 files changed

+62
-8
lines changed

4 files changed

+62
-8
lines changed

.all-contributorsrc

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"projectName": "codemod-replace-react-fc-typescript",
3+
"projectOwner": "Gonzalo D'Elia",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"imageSize": 100,
10+
"commit": true,
11+
"commitConvention": "angular",
12+
"contributors": [
13+
{
14+
"login": "gndelia",
15+
"name": "Gonzalo D'Elia",
16+
"avatar_url": "https://avatars1.githubusercontent.com/u/352474?v=4",
17+
"profile": "https://github.com/gndelia",
18+
"contributions": [
19+
"code",
20+
"test",
21+
"doc",
22+
"review",
23+
"infra"
24+
]
25+
}
26+
],
27+
"contributorsPerLine": 7,
28+
"skipCi": true
29+
}

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,4 +197,24 @@ However, it won't compile because `children` is not part of your `Props` definit
197197

198198
The value that `React.FC` provides (that accepts anything you would accept in js as children) is `{ children?: ReactNode }`. I'm intentionally not automatically adding it because you can restrict it to what you only want to accept (for instance, just a string, a number, only one component, and so on), and you know better than I do what you need.
199199

200-
Made with ❤ by Gonzalo
200+
201+
## Contributors ✨
202+
203+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
204+
205+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
206+
<!-- prettier-ignore-start -->
207+
<!-- markdownlint-disable -->
208+
209+
<table>
210+
<tr>
211+
<td align="center"><a href="https://github.com/gndelia"><img src="https://avatars1.githubusercontent.com/u/352474?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Gonzalo D'Elia</b></sub></a><br /><a href="https://github.com/gndelia/codemod-replace-react-fc-typescript/commits?author=gndelia" title="Code">💻</a> <a href="https://github.com/gndelia/codemod-replace-react-fc-typescript/commits?author=gndelia" title="Tests">⚠️</a> <a href="https://github.com/gndelia/codemod-replace-react-fc-typescript/commits?author=gndelia" title="Documentation">📖</a> <a href="https://github.com/gndelia/codemod-replace-react-fc-typescript/pulls?q=is%3Apr+reviewed-by%3Agndelia" title="Reviewed Pull Requests">👀</a><a href="#infra-gndelia" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
212+
</tr>
213+
</table>
214+
215+
<!-- markdownlint-restore -->
216+
<!-- prettier-ignore-end -->
217+
218+
<!-- ALL-CONTRIBUTORS-LIST:END -->
219+
220+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

package-lock.json

Lines changed: 11 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@
6464
"jscodeshift": "^0.11.0",
6565
"lint-staged": "^10.2.11",
6666
"prettier": "^2.0.5",
67-
"typescript": "^4.0.5"
67+
"typescript": "^4.3.5"
6868
}
6969
}

0 commit comments

Comments
 (0)