Skip to content

Commit fdbc250

Browse files
committed
feat(contributions): 💥 add all contributors cli scripts
1 parent 93d7ce9 commit fdbc250

File tree

4 files changed

+82
-3
lines changed

4 files changed

+82
-3
lines changed

.all-contributorsrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"projectName": "react-components-template",
3+
"projectOwner": "[email protected]",
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+
"contributorsPerLine": 7
14+
}

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,20 @@ React Typescript Project Boilerplate
5858
pre-commit hook to run lintes & formatters
5959
- Husky lints the commit message with
6060
[Commitlint](https://github.com/conventional-changelog/commitlint)
61+
62+
## Contributors ✨
63+
64+
Thanks goes to these wonderful people
65+
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
66+
67+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
68+
<!-- prettier-ignore-start -->
69+
<!-- markdownlint-disable -->
70+
<!-- markdownlint-restore -->
71+
<!-- prettier-ignore-end -->
72+
73+
<!-- ALL-CONTRIBUTORS-LIST:END -->
74+
75+
This project follows the
76+
[all-contributors](https://github.com/all-contributors/all-contributors)
77+
specification. Contributions of any kind welcome!

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
"build:cjs": "cross-env BABEL_ENV=cjs babel src --extensions .ts,.tsx -d dist/cjs --source-maps",
2828
"build:esm": "cross-env BABEL_ENV=esm babel src --extensions .ts,.tsx -d dist/esm --source-maps",
2929
"commit": "gacp",
30+
"contributors:add": "all-contributors add",
31+
"contributors:generate": "all-contributors generate",
3032
"eject": "react-scripts eject",
3133
"format": "prettier --write \"./**/*.{js,ts,css,less,json,md,html,yml,yaml,pcss,jsx,tsx}\"",
3234
"format:package": "sort-package-json",
@@ -79,6 +81,7 @@
7981
"@types/testing-library__jest-dom": "^5.9.5",
8082
"@typescript-eslint/eslint-plugin": "^4.9.0",
8183
"@typescript-eslint/parser": "^4.9.0",
84+
"all-contributors-cli": "^6.19.0",
8285
"babel-eslint": "^10.1.0",
8386
"babel-jest": "^26.6.3",
8487
"babel-loader": "^8.2.2",

yarn.lock

Lines changed: 48 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2999,6 +2999,22 @@ ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@^6.12.4, ajv@^6.12.5:
29992999
json-schema-traverse "^0.4.1"
30003000
uri-js "^4.2.2"
30013001

3002+
all-contributors-cli@^6.19.0:
3003+
version "6.19.0"
3004+
resolved "https://registry.yarnpkg.com/all-contributors-cli/-/all-contributors-cli-6.19.0.tgz#7e4550973afede2476b62bd159fee6d72a1ad802"
3005+
integrity sha512-QJN4iLeTeYpTZJES8XFTzQ+itA1qSyBbxLapJLtwrnY+kipyRhCX49fS/s/qftQQym9XLATMZUpUeEeJSox1sw==
3006+
dependencies:
3007+
"@babel/runtime" "^7.7.6"
3008+
async "^3.0.1"
3009+
chalk "^4.0.0"
3010+
didyoumean "^1.2.1"
3011+
inquirer "^7.0.4"
3012+
json-fixer "^1.5.1"
3013+
lodash "^4.11.2"
3014+
node-fetch "^2.6.0"
3015+
pify "^5.0.0"
3016+
yargs "^15.0.1"
3017+
30023018
ansi-align@^3.0.0:
30033019
version "3.0.0"
30043020
resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-3.0.0.tgz#b536b371cf687caaef236c18d3e21fe3797467cb"
@@ -3298,6 +3314,11 @@ [email protected]:
32983314
resolved "https://registry.yarnpkg.com/async/-/async-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d"
32993315
integrity sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=
33003316

3317+
async@^3.0.1:
3318+
version "3.2.0"
3319+
resolved "https://registry.yarnpkg.com/async/-/async-3.2.0.tgz#b3a2685c5ebb641d3de02d161002c60fc9f85720"
3320+
integrity sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==
3321+
33013322
asynckit@^0.4.0:
33023323
version "0.4.0"
33033324
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
@@ -5448,6 +5469,11 @@ detect-port@^1.3.0:
54485469
address "^1.0.1"
54495470
debug "^2.6.0"
54505471

5472+
didyoumean@^1.2.1:
5473+
version "1.2.1"
5474+
resolved "https://registry.yarnpkg.com/didyoumean/-/didyoumean-1.2.1.tgz#e92edfdada6537d484d73c0172fd1eba0c4976ff"
5475+
integrity sha1-6S7f2tplN9SE1zwBcv0eugxJdv8=
5476+
54515477
diff-sequences@^26.6.2:
54525478
version "26.6.2"
54535479
resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.6.2.tgz#48ba99157de1923412eed41db6b6d4aa9ca7c0b1"
@@ -7742,7 +7768,7 @@ [email protected]:
77427768
strip-ansi "^5.1.0"
77437769
through "^2.3.6"
77447770

7745-
inquirer@^7.0.0:
7771+
inquirer@^7.0.0, inquirer@^7.0.4:
77467772
version "7.3.3"
77477773
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.3.3.tgz#04d176b2af04afc157a83fd7c100e98ee0aad003"
77487774
integrity sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==
@@ -8789,6 +8815,15 @@ [email protected]:
87898815
resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898"
87908816
integrity sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=
87918817

8818+
json-fixer@^1.5.1:
8819+
version "1.6.8"
8820+
resolved "https://registry.yarnpkg.com/json-fixer/-/json-fixer-1.6.8.tgz#4a1930af55ca0baa410c3a2cdf2b065ba87121ed"
8821+
integrity sha512-VUI3GPVLpM/nYmM1tSuvd3kh36eWvoNO1SFveVQf5k9QJI3kfaoOPVbN7WbpRfvZqa2BFySyVuqSs57laYfIDQ==
8822+
dependencies:
8823+
"@babel/runtime" "^7.12.5"
8824+
chalk "^4.1.0"
8825+
pegjs "^0.10.0"
8826+
87928827
json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2:
87938828
version "1.0.2"
87948829
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
@@ -9156,7 +9191,7 @@ [email protected]:
91569191
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
91579192
integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=
91589193

9159-
lodash@^4.0.1, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.2.1:
9194+
lodash@^4.0.1, lodash@^4.11.2, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.2.1:
91609195
version "4.17.20"
91619196
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
91629197
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
@@ -10485,6 +10520,11 @@ pbkdf2@^3.0.3:
1048510520
safe-buffer "^5.0.1"
1048610521
sha.js "^2.4.8"
1048710522

10523+
pegjs@^0.10.0:
10524+
version "0.10.0"
10525+
resolved "https://registry.yarnpkg.com/pegjs/-/pegjs-0.10.0.tgz#cf8bafae6eddff4b5a7efb185269eaaf4610ddbd"
10526+
integrity sha1-z4uvrm7d/0tafvsYUmnqr0YQ3b0=
10527+
1048810528
performance-now@^2.1.0:
1048910529
version "2.1.0"
1049010530
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
@@ -10510,6 +10550,11 @@ pify@^4.0.1:
1051010550
resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
1051110551
integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==
1051210552

10553+
pify@^5.0.0:
10554+
version "5.0.0"
10555+
resolved "https://registry.yarnpkg.com/pify/-/pify-5.0.0.tgz#1f5eca3f5e87ebec28cc6d54a0e4aaf00acc127f"
10556+
integrity sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==
10557+
1051310558
pinkie-promise@^2.0.0:
1051410559
version "2.0.1"
1051510560
resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa"
@@ -13784,7 +13829,7 @@ yargs@^13.3.0:
1378413829
y18n "^4.0.0"
1378513830
yargs-parser "^13.1.2"
1378613831

13787-
yargs@^15.1.0, yargs@^15.3.1, yargs@^15.4.1:
13832+
yargs@^15.0.1, yargs@^15.1.0, yargs@^15.3.1, yargs@^15.4.1:
1378813833
version "15.4.1"
1378913834
resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8"
1379013835
integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==

0 commit comments

Comments
 (0)