Commit graph

66 commits

Author SHA1 Message Date
Xianming Zhong
62f671dcd0 fix: output error messages if git commands failed (#102) 2018-06-24 19:55:51 -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
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