Commit graph

279 commits

Author SHA1 Message Date
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
Chris Vickery
5f9fa20346 fix: support contributors without github accounts (#77) 2017-12-13 09:34:06 -07:00
Kevin VanGelder
6fa55d5bd5 feat(types): add platform type (#75) 2017-11-25 07:03:18 -07:00
Kent C. Dodds
383b3fd015 fix: cli 2017-11-22 11:48:15 -07:00
Kent C. Dodds
ba248a99d8
feat: add prettier-ignore to output (#74) 2017-11-22 11:24:01 -07:00
Kent C. Dodds
482a8ab956
chore: upgrade and migrate tooling stuff (#73)
* codemod

* move files

* install kcd-scripts and set up some stuff

* make everything work

* update md files

* change a few things
2017-11-22 11:09:06 -07:00
Mehdi Achour
3d998c4c7c doc: credit @GantMan for his contributions 2017-11-10 09:58:54 +01:00
Gant Laborde
a79f9d4ea6 fix: make find/add case insensitive (#64)
Closes #62
2017-11-10 09:55:26 +01:00
Gant Laborde
9f72f9aabc feat: add version option (#66)
Closes #65
2017-11-09 16:33:29 +01:00
Gant Laborde
9f875e9aa8 doc: change suggested scripts names (#63)
* Change script name and add yarn

The script name suggested (`add`) will conflict with users of yarn.

So I modified the suggested name to `append` which is what it does.  And now it can have a yarn example as well.

* remove yarn example

* namespace add
2017-11-08 15:09:22 -07:00
Mehdi Achour
82d1eb7c51 chore: Credit @brycereynolds, @jmeas, @spirosikmd, @fadc80, @snipe 2017-11-08 19:13:25 +01:00
Mehdi Achour
88c7a29681 feat: Add check command that compares GitHub contributors with credited ones (#58)
* feat: Add checking functionnality that compares contributors with GH data

* fix(check): Use the info from config file, paginate GH data

* doc(check): Document the new check command

* fix(eslint): Add missing semicolon

* tests: Add tests for utils.check

* fix: Check for code and test only

* refactor: use includes and correct awaits

* refactor: more includes and template literals
2017-11-08 10:09:20 -07:00
Mehdi Achour
b443c82b07 chore: add @chrisinajar as contributor 2017-11-07 20:02:07 +01:00
Mehdi Achour
5b6358425f
feat: Reselect existing contributions when updating a user 2017-11-07 19:07:29 +01:00
Chris Vickery
cf3ca62b9d Formatting 2017-11-07 09:09:00 -08:00
Chris Vickery
48b0ed4b8e Fix error with add from cli, remove unneeded param 2017-11-07 09:06:54 -08:00
Chris Vickery
f9cdace376 Populate contribution choices with current values 2017-11-06 15:39:41 -08:00
Roy Revelt
11833b0405 chore: add @revelt as contributor (#59) 2017-11-03 12:57:56 -06:00
Mehdi Achour
f0cf739d6c chore: disable auto commiting changes to contributors (#57) 2017-11-03 08:05:36 -06:00
Mehdi Achour
de043e0bbf fix: make selecting at least one contribution type mandatory (#56)
* Add @machour as a contributor

* fix: make selecting at least one contribution type mandatory
2017-11-02 10:53:55 -06:00
Mehdi Achour
07b3a684fc fix: Make all contributors names bold (#55) 2017-11-02 10:52:39 -06:00
Bryce Reynolds
28eb16dea1 fix: throw error when Github returns 200s for specific errors. (#52)
* Added exception handling when github returns 200s that have hit rate-limiting

* Hardened the error check a bit
2017-10-19 12:59:09 -06:00
tunnckoCore
722cc74410 chore: add script for easier access (#51)
* add "all-contributors" script which uses self

Signed-off-by: tunnckoCore <mameto2011@gmail.com>

* Add @charlike as a contributor

* run itself

Signed-off-by: tunnckoCore <mameto2011@gmail.com>
2017-10-02 18:23:23 -06:00
Mehdi Achour
ce909467e6 feat: reorder contributions keys (#50)
* chore: reorder contributions keys

* chore: re-order keys here too
2017-09-25 14:05:48 -06:00
James, please
e5bd3b4c70 feat(types): add new contribution type: Ideas, Planning, & Feedback (#45)
* Add new contribution type: Ideas & Planning

* add feedback to ideas

* Update README.md
2017-08-03 10:36:29 -06:00
Jeroen Engels
ce3cbeff09 docs: add alt text to symbols in the README (#43) 2017-04-15 08:40:06 -06:00
Kevin Jalbert
f99b4701d3 feat: add alt text to emoji (#42)
* Add alt text (description) on all emoji

Using markdown its possible to attach an alt text (really the title
attribute) on a link, where the value of the link is the the emoji. As
for the actual href, using #xxxxx lets you not mess with the navigation
assuming you have unique keys. In my example, I'm simply using the
emoji's key and github user name (i.e., `<emoji-username>`).

All emojis are links even if they don't have any real url attached.

For example, `[👀](#eyes-kevinjalbert "Reviewed Pull Requests")`

* Add kevinjalbert to all-contributorsrc
2017-04-15 16:15:31 +02:00
Jerod Santo
77a014f28e feat: throw a helpful error when unknown contribution type is provided (#41)
* throw a helpful error when unknown contribution type is provided

* Add @jerodsanto as a contributor
2017-04-15 07:10:59 -06:00
Chris Vickery
e1e7ead47a feat: support pipe characters in github names (#39) 2017-04-07 07:52:55 -06:00
Alex Jover
99db1bda78 Feature/add editorconfig (#36)
* Add editorconfig

In order to avoid EOL, indents and all that stuff across IDE's, having an editorconfig solves it

* Fix some changes
2017-03-28 11:03:40 +02:00
snipe
e595bbea5d docs: fix translation string (#38) 2017-03-11 08:35:49 -07:00
Alex Jover
14199292b2 docs(contributors): add alexjoverm as contributor (#37) 2017-02-26 09:47:04 -07:00
Alex Jover
a879de2a7f fix: non-http prepended urls (#35)
* Add editor config

* Fix non-http prepended urls

* Remove editorconfig

* Use startsWith and shorthand operator
2017-02-23 12:02:55 -07:00
Jeroen Engels
1305a7cd92 fix: Bump inquirer to v3 and promisify everything (#34)
BREAKING CHANGE: Drop support for Node < v4. This uses native Promises available from Node v4.

* fix: Bump inquirer to v3.0.1. Fixes #33 to improve Windows support.

* refactor: Promisify everything as inquirer uses Promises from 1.0.0 onwards
2017-02-15 22:25:32 +01:00
Spyros Ioakeimidis
1e73194f54 fix: exit process on success to continue execution of othe scripts (#32) 2017-02-07 12:21:05 +01:00
Itai Steinherz
cc61913aca docs(README): Added some general improvements. (#30) 2017-01-26 13:12:06 -08:00
Itai Steinherz
71f594cf46 docs(readme): update README.md (#29)
Fixed the all-contributors badge style to be the same as the npm badge style.
2017-01-25 11:44:13 -08:00
Kent C. Dodds
4860f385dc feat: semantic-release (#28)
This commit actually adds semantic-release
but I'm using `feat` to push out a new release
to make sure semantic-release works. The
actual change is the new emoji.
2017-01-25 10:37:20 -08:00