Commit graph

166 commits

Author SHA1 Message Date
Jake Bolam
12df8685c2
infra: add .codecov.yml 2019-01-21 21:00:16 -05:00
Jake Bolam
21b694aee4
fix: add in contributorsPerLine on init (#149) 2019-01-18 13:47:56 -05:00
Jake Bolam
881a69995f
infra: bump cache to get latest deps (#151) 2019-01-18 13:36:37 -05:00
Jake Bolam
2295ae3011
infra: fix lint (#150) 2019-01-18 13:32:13 -05:00
Maximilian Berkmann
720f110298
chore: added commitizen (#143)
* chore(package): added commitizen

I added `git-cz` (commitizen) with the angular adapter (which seems to work)

* docs(readme): added cz badge

Added the badge to indicate the commitizen-friendliness of this repo.

* revert: removed the category changes from another PR

It removes the addition of a maintenance category to keep them separated.
2019-01-17 11:05:09 +00:00
greenkeeper[bot]
a6ae9beac8 infra: update dependencies to enable Greenkeeper 🌴 (#147)
* chore(package): update dependencies

* docs(readme): add Greenkeeper badge

* Update README.md

* Add @babel/runtime dep

* Fix typo
2019-01-17 16:54:41 +08:00
Jeff Wen
9bfdd723a1
fix: require path error (#148) 2019-01-17 14:28:13 +08:00
Maximilian Berkmann
292d4004ee
feat(contribution-type): added maintenance type (#142)
* feat(contribution-type): added maintenance type

fixes #111

* docs(categories): added maintenance category

* refactor: changed the maintenance symbol

* refactor: alphabetical listing fix

I moved the `maintenance` blocks/lines to the correct locations
2019-01-16 11:14:59 +00:00
Jake Bolam
7687e7d2f0
fix: use correct path for initBadge/initList node apis (#145)
* feat: add init content api for node

* feat: add init content api for node

* fix: use correct path for initBadge/initList node apis
2019-01-15 23:51:11 +08:00
Jake Bolam
f551d8b87e
feat: add init content api for node api (#144)
* feat: add init content api for node

* feat: add init content api for node
2019-01-15 22:52:32 +08:00
Jake Bolam
bd8be137af
docs: grammar 2019-01-15 15:32:40 +08:00
Jake Bolam
6c2798e273
docs: say hello to @all-contributors 🤖 (#141) 2019-01-15 13:39:01 +08:00
allcontributors[bot]
2a71d46798 docs: add tbenning as a contributor (#140)
* docs: update README.md

* docs: update .all-contributorsrc
2019-01-15 00:37:17 +08:00
Maximilian Berkmann
87ce8bb8a7 feat(format-contributor): added alt attributes (#138)
* feat(format-contributor): added `alt` attributes

I added `alt` attributes to `img` tags which specifies the name of the
contributor in them (for accessibility purposes).

* docs: added @Berkmann18

I added myself (I forgot to do that) for code (cf. my previous commit),
test and doc.
2019-01-15 00:23:02 +08:00
Jake Bolam
8aa15c9ed8
feat: add node api for AllContributors GitHub bot (#135) 2019-01-09 22:37:49 +08:00
Jake Bolam
0f1bc8fa75
don't use travis ci script (#134) 2019-01-07 16:10:17 +08:00
Jake Bolam
8eafcf977f
fix: switch over to new org all-contributors (#133)
* fix: switch over to new org all-contributors

* ensure runs validate

* use generate
2019-01-07 16:03:17 +08:00
Jake Bolam
85a9e3a26b
fix: switch over to new org all-contributors (#132) 2019-01-07 15:55:57 +08:00
Jake Bolam
5a9c8b7557
docs: switch to all contributors org (#131)
* docs: switch org

* wip
2019-01-07 14:42:13 +08:00
Jake Bolam
071e0f4484
docs: switch org (#130) 2019-01-07 14:38:29 +08:00
Jake Bolam
a98285f313
docs: remove unmaintained status 2019-01-06 10:04:35 +08:00
Kent C. Dodds
2a414e24e1
docs: add unmaintained status 2019-01-04 09:08:50 -07:00
Jake Bolam
af9b1e473f docs: use correct userTesting key (#128) 2019-01-01 21:56:45 -07:00
Jake Bolam
89bac0f144 feat: add new types (#127)
<!--
Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated!

Please make sure that you are familiar with and follow the Code of Conduct for
this project (found in the CODE_OF_CONDUCT.md file).

Also, please make sure you're familiar with and follow the instructions in the
contributing guidelines (found in the CONTRIBUTING.md file).

If you're new to contributing to open source projects, you might find this free
video course helpful: http://kcd.im/pull-request

Please fill out the information below to expedite the review and (hopefully)
merge of your pull request!
-->

<!-- What changes are being made? (What feature/bug is being fixed here?) -->
**What**:
Add Security contribution type, as mentioned in https://github.com/kentcdodds/all-contributors/issues/106 and implemented in https://github.com/kentcdodds/all-contributors/pull/107

Also added user-testing as introduced as part of https://github.com/kentcdodds/all-contributors/pull/97/files

<!-- Why are these changes necessary? -->
**Why**:
All contributors!

<!-- How were these changes implemented? -->
**How**:
Me

<!-- Have you done all of these things?  -->
**Checklist**:
<!-- add "N/A" to the end of each line that's irrelevant to your changes -->
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
- [x] Documentation
- [ ] Tests - N/A
- [x] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
- [x] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions -->

<!-- feel free to add additional comments -->
2019-01-01 21:48:31 -07:00
Jake Bolam
2ade2d7fd1 ci: fix build runner, ensure jest exits when finished (#125)
* ci: fix build runner, ensure jest exits when async handles open

* contributors add infra
2018-12-28 23:57:08 -07:00
Jake Bolam
194d00014c feat: way to avoid github API limit (add tests + docs) (#123)
* feat: way to avoid github API limit

* Update github.js

* prettier

* housekeeping

* all contributors

* readme

* add to contributors

* Update README.md
2018-12-28 08:35:53 -07:00
Jake Bolam
d10370c7b0 infra: better error handling of invalid config file (#124)
<!--
Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated!

Please make sure that you are familiar with and follow the Code of Conduct for
this project (found in the CODE_OF_CONDUCT.md file).

Also, please make sure you're familiar with and follow the instructions in the
contributing guidelines (found in the CONTRIBUTING.md file).

If you're new to contributing to open source projects, you might find this free
video course helpful: http://kcd.im/pull-request

Please fill out the information below to expedite the review and (hopefully)
merge of your pull request!
-->

<!-- What changes are being made? (What feature/bug is being fixed here?) -->
**What**:
When a config file is loaded, but the contents cannot be parsed to JSON an error will be thrown. Instead of failing silent: e.g.:
<img width="735" alt="screen shot 2018-12-23 at 5 04 17 pm" src="https://user-images.githubusercontent.com/3534236/50382208-026cdb80-06d5-11e9-8f4d-8d97a9a3cbe1.png">


<!-- Why are these changes necessary? -->
**Why**:
Previously some commands would crash randomly. e.g. `add` with `Cannot read property 'then' of null`.
While other commands e.g. `generate` would succeed but would blow away all your contributors (because it didn't find any)

<!-- How were these changes implemented? -->
**How**:
By Me

<!-- Have you done all of these things?  -->
**Checklist**:
<!-- add "N/A" to the end of each line that's irrelevant to your changes -->
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
- [ ] Documentation N/A
- [ ] Tests  N/A
- [x] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
- [ ] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions -->

<!-- feel free to add additional comments -->
2018-12-26 16:19:46 -07:00
Jake Bolam
e18363f081 feat: way to avoid github API limit (#122)
<!--
Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated!

Please make sure that you are familiar with and follow the Code of Conduct for
this project (found in the CODE_OF_CONDUCT.md file).

Also, please make sure you're familiar with and follow the instructions in the
contributing guidelines (found in the CONTRIBUTING.md file).

If you're new to contributing to open source projects, you might find this free
video course helpful: http://kcd.im/pull-request

Please fill out the information below to expedite the review and (hopefully)
merge of your pull request!
-->

<!-- What changes are being made? (What feature/bug is being fixed here?) -->
**What**:
Add a way to avoid GITHUB API LIMIT by supplying an optional GITHUB_AUTH token to increase github rate limiting from 50 requests to 5000 (and limited by user, not IP)

<!-- Why are these changes necessary? -->
**Why**:
To address: #121 

<!-- How were these changes implemented? -->
**How**:
By Me

<!-- Have you done all of these things?  -->
**Checklist**:
<!-- add "N/A" to the end of each line that's irrelevant to your changes -->
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
- [ ] Documentation
- [ ] Tests
- [ ] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
- [ ] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions -->

<!-- feel free to add additional comments -->
2018-12-22 20:24:29 -07:00
Jason Chen
7a0ece7ee6 docs: remove unnecessary space to avoid generation failures (#116)
<!--
Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated!

Please make sure that you are familiar with and follow the Code of Conduct for
this project (found in the CODE_OF_CONDUCT.md file).

Also, please make sure you're familiar with and follow the instructions in the
contributing guidelines (found in the CONTRIBUTING.md file).

If you're new to contributing to open source projects, you might find this free
video course helpful: http://kcd.im/pull-request

Please fill out the information below to expedite the review and (hopefully)
merge of your pull request!
-->

<!-- What changes are being made? (What feature/bug is being fixed here?) -->
**What**: remove unnecessary space

<!-- Why are these changes necessary? -->
**Why**:  generate command will not generate files because of extra space

<!-- How were these changes implemented? -->
**How**: remove space

<!-- Have you done all of these things?  -->
**Checklist**:
<!-- add "N/A" to the end of each line that's irrelevant to your changes -->
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
- [x] Documentation
- [x] Tests
- [ ] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
- [ ] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions -->

<!-- feel free to add additional comments -->
2018-11-06 14:44:53 -07:00
Kirstie Whitaker
00d1e08ec5 docs: add note about using npx cli command (#114)
<!--
Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated!

Please make sure that you are familiar with and follow the Code of Conduct for
this project (found in the CODE_OF_CONDUCT.md file).

Also, please make sure you're familiar with and follow the instructions in the
contributing guidelines (found in the CONTRIBUTING.md file).

If you're new to contributing to open source projects, you might find this free
video course helpful: http://kcd.im/pull-request

Please fill out the information below to expedite the review and (hopefully)
merge of your pull request!
-->

<!-- What changes are being made? (What feature/bug is being fixed here?) -->
**What**: Add a couple of sentences about running the from the command line with `npx` - they're almost verbetim the "heads up" that @kentcdodds suggested in https://github.com/jfmengels/all-contributors-cli/issues/92#issuecomment-391766876..

<!-- Why are these changes necessary? -->
**Why**: I was having difficulty understanding how to run the commands and I found this text in issue #92 super helpful - I figured it would be for others too 😄 

<!-- How were these changes implemented? -->
**How**: Updated text in README

<!-- Have you done all of these things?  -->
**Checklist**:
<!-- add "N/A" to the end of each line that's irrelevant to your changes -->
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
- [x] Documentation
- [ ] Tests -- NA
- [x] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
- [ ] Added myself to contributors table -- ironically I'm not sure how to do this 🤣 <!-- this is optional, see the contributing guidelines for instructions -->

<!-- feel free to add additional comments -->
2018-10-18 09:59:10 -06:00
Xianming Zhong
1f2686baa6 fix: better output format for git command (#113)
<!--
Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated!

Please make sure that you are familiar with and follow the Code of Conduct for
this project (found in the CODE_OF_CONDUCT.md file).

Also, please make sure you're familiar with and follow the instructions in the
contributing guidelines (found in the CONTRIBUTING.md file).

If you're new to contributing to open source projects, you might find this free
video course helpful: http://kcd.im/pull-request

Please fill out the information below to expedite the review and (hopefully)
merge of your pull request!
-->

<!-- What changes are being made? (What feature/bug is being fixed here?) -->
**What**:

Without the space, it looks like a little strange.

<!-- Why are these changes necessary? -->
**Why**:

<!-- How were these changes implemented? -->
**How**:

<!-- Have you done all of these things?  -->
**Checklist**:
<!-- add "N/A" to the end of each line that's irrelevant to your changes -->
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
- [ ] Documentation
- [ ] Tests
- [x] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
- [ ] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions -->

<!-- feel free to add additional comments -->
2018-10-18 09:58:29 -06:00
C.Y.Xu
0d1346d04e feat: support Gitlab self hosted instance (#95)
* feat: support Gitlab self hosted instance (#89)

* docs: fix some doc typo

fixes: #89
2018-08-02 16:51:04 -05:00
Dura
533813b3db docs: Format config docs with examples and defaults to be understood more easily (#107)
User like myself don't understand how to provide custom templates to certain config options.
2018-08-02 16:43:21 -05:00
Spënzor
d2ce3bea26 feat: add clarity to CLI prompt for where repository is hosted (#103)
Users, including myself, have put the wrong link in answer to "Where is the repository hosted?"
2018-07-16 15:37:01 -07:00
Xianming Zhong
62f671dcd0 fix: output error messages if git commands failed (#102) 2018-06-24 19:55:51 -06:00
Xianming Zhong
2a98af341c doc: add comments for placeholders (#101)
* doc: add comments for placeholders

* chore: update contributors with me

* fix: hack to prevent breaking current placeholders
2018-06-22 09:15:26 -06:00
Tyler Reitz
54febd3c45 fix: d4dc4e2-introduced error (#100)
* adds helpful error message when files is overridden or empty

* fix: d4dc4e2-introduced error

The prior commit to this branch d4dc4e2 introduced an error
in the util/config.js file where it checks for the length of
the content.files property, whether that property exists in
the config or not.
2018-06-19 21:21:12 -06:00
Tyler Reitz
3f2ae00cbc feat: adds helpful error message when files is overridden or empty (#96) 2018-06-19 14:10:23 -06:00
Tyler Reitz
2c9f47629b feat: adds ability to remove contribution types when editing existing user (#94)
* adds ability to remove contribution types when editing existing user

* removes .swp file

* refactor: concat types in all cases except when removing
2018-06-19 14:09:05 -06:00
Andrew Lisowski
4f7bbdf56f chore: run prettier on everything #98 (#99)
* run prettier on everything

* add hipstersmoothie as contributor
2018-06-08 17:35:29 -06:00
Md Zubair Ahmed
526d4dbba2 fix: Wrong contribution type being added to .all-contributorsrc (#78)
* initial issue fix

* tests added

* revert unneisary lint change to untouched file

* added myself

* no contribution types when adding a contributor error handled

* revert commit 1bdb51eadf

* reverted readme back to commit# f697c73c48

* further reverted Readme to master

* removed generated index from rm

* removed generated index from rm

* breaking change to cli fixed:

* Update prompt.js

* Update prompt.js

* added code and test in my contribution

* list of invalid contributions added in error message

Closes #71
2018-06-08 13:11:29 -06:00
Md Zubair Ahmed
c4a0484759 fix: error out when projectOwner & projectName is not set in .all-contributorsrc file. (#80)
* error message when no project name and project owner is added in the init command

* moved error message away from init prompt

* 1. placed json parse in try catch
2. added check for owner and name in getcontributionsfromgithub before constructing url

* added check before config file is written

* changes as per https://github.com/jfmengels/all-contributors-cli/pull/80#pullrequestreview-85678121

* uncommented code

* tests added

* Added myself to contributors table

* test inside utils were moved to github in master branch

* changes to validation check, instead of checking for empty string to null obj value

* typo fixed

* unnecisary check.js file removed
2018-05-29 14:26:25 -06:00
Kent C. Dodds
1562a379db
fix(links): add default for links 2018-03-12 10:18:20 -06:00
João Marques
152a1fe30a feat: add support for GitLab repositories (#84) 2018-02-23 15:13:41 +01:00
David Menendez
ab41caa0c7 fix: surface the message when the check api returns an error (#85) 2018-02-23 08:46:07 +01:00
Divjot Singh
687194c5f9 docs: add bogas04 as contributor (#82) 2018-02-12 11:48:44 +01:00
Divjot Singh
991f2c7b85 docs: Update docs to include npx (#81) 2018-02-09 09:11:28 -07:00
Mehdi Achour
32456d2060 doc: display only 6 contributors by line to avoid wrapping 2017-12-25 13:41:22 +01:00
Md Zubair Ahmed
dd4d3f8c2c doc: fix broken TOC and expand examples (#79) 2017-12-25 13:34:13 +01:00
Mehdi Achour
99871508e8 build: disable complexity lint check 2017-12-25 13:27:15 +01:00