Commit graph

177 commits

Author SHA1 Message Date
greenkeeper[bot]
d7eb838460 chore(package): update git-cz to version 2.0.0 (#174) 2019-03-17 22:40:37 +08:00
Deepak
3e046b740c fix: add common error handling for missing or wrong username (#171) 2019-03-17 14:30:07 +00:00
greenkeeper[bot]
949d9d2012 chore(package): update kcd-scripts to version 1.0.0 (#172) 2019-03-12 11:35:11 -04:00
Jake Bolam
e0240def24
fix: add additional new line for prettier (#168)
* fix: add additional new line for prettier

* update snpashot

* readme

* at end not start
2019-02-21 21:40:17 -05:00
greenkeeper[bot]
cc3d0d5bf7 infra(package): update yargs to version 13.1.0 (#167) 2019-02-12 09:18:30 +00:00
Jake Bolam
fdd6b74547
fix: npm squish and cell centering (#164)
* fix: npm squish and cell centering

* readme

* wip

* wip

* tests
2019-02-08 08:38:05 -10:00
Jake Bolam
e4b22f8cd7
feat: use allcontributors.org (#160)
* use allcontributors.org

* update snap
2019-02-07 16:39:10 -10:00
Maximilian Berkmann
b0c3376ac4 BREAKING CHANGE: changed generator to an HTML based one (#157)
*BREAKING CHANGE*

* style(generate): changed generator to an HTML based one [WIP]

I added and set the HTML generator for resolving #154 (which works when testing manually but doesn't
when running the cli in dev mode).

fix #154

* refactor(generate): (re)moved files to keep it DRY

* refactor: refactored/updated tests

Update the contributors test (which wasn't already committed somehow) and tweaked the
`format-contribution-type` test.

* docs(readme): removed doctoc

BREAKING CHANGE: (in 2babe26b08) The resulting contributors table is in HTML/CSS instead of being in Markdown.

* refactor(generate): removed the style from the generation

Removed the `<style>` block from the generated HTML code as it's redundant on Github (since it's one
of the non-whitelisted tags). The `README.md` was also updated reflecting the breaking changes.

* refactor(generate): image height and tweaks

Added `height` to images for avatars, quoted some `<table>` attributes and updated `README.md`

* docs: drop TOC
2019-02-06 08:37:09 -10:00
Jake Bolam
9ebc25f66f
docs: switch to multi translated site (#155) 2019-01-30 10:23:41 -05:00
Maximilian Berkmann
48fecd3ca7
feat(contribution-types): added business and content (#156)
I added the missing types for "Business development" and "Content".
2019-01-28 10:23:37 +00:00
Jake Bolam
65eea1b82f
docs: centralize docs on website (#153)
* docs: centralize docs on website

* Update README.md

* Update README.md
2019-01-23 17:05:33 -05:00
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