diff --git a/.all-contributorsrc b/.all-contributorsrc index 64c15da..e86e599 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -1,5 +1,5 @@ { - "projectOwner": "jfmengels", + "projectOwner": "all-contributors", "projectName": "all-contributors-cli", "imageSize": 100, "repoType": "github", diff --git a/README.md b/README.md index 16e369b..5d57482 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ want to maintain the table by hand ## This solution This is a tool to help automate adding contributor acknowledgements according to -the [all-contributors](https://github.com/kentcdodds/all-contributors) +the [all-contributors](https://github.com/all-contributors/all-contributors) specification for your GitHub or GitLab repository. ## Table of Contents @@ -116,7 +116,7 @@ all-contributors add jfmengels code,doc Where `username` is the user's GitHub or Gitlab username, and `contribution` is a `,`-separated list of ways to contribute, from the following list -([see the specs](https://github.com/kentcdodds/all-contributors#emoji-key)): +([see the specs](https://github.com/all-contributors/all-contributors#emoji-key)): - blog: [πŸ“](# 'Blogposts') - bug: [πŸ›](# 'Bug reports') @@ -219,22 +219,22 @@ In some cases you may see the error message 'GitHub API rate limit exceeded for ## Contributors Thanks goes to these wonderful people -([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): +([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)): -| [
Jeroen Engels](https://github.com/jfmengels)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=jfmengels "Code") [πŸ“–](https://github.com/jfmengels/all-contributors-cli/commits?author=jfmengels "Documentation") [⚠️](https://github.com/jfmengels/all-contributors-cli/commits?author=jfmengels "Tests") | [
Kent C. Dodds](http://kentcdodds.com/)
[πŸ“–](https://github.com/jfmengels/all-contributors-cli/commits?author=kentcdodds "Documentation") [πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=kentcdodds "Code") | [
JoΓ£o GuimarΓ£es](https://github.com/jccguimaraes)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=jccguimaraes "Code") | [
Ben Briggs](http://beneb.info)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=ben-eb "Code") | [
Itai Steinherz](https://github.com/itaisteinherz)
[πŸ“–](https://github.com/jfmengels/all-contributors-cli/commits?author=itaisteinherz "Documentation") [πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=itaisteinherz "Code") | [
Alex Jover](https://github.com/alexjoverm)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=alexjoverm "Code") [πŸ“–](https://github.com/jfmengels/all-contributors-cli/commits?author=alexjoverm "Documentation") | +| [
Jeroen Engels](https://github.com/jfmengels)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=jfmengels "Code") [πŸ“–](https://github.com/all-contributors/all-contributors-cli/commits?author=jfmengels "Documentation") [⚠️](https://github.com/all-contributors/all-contributors-cli/commits?author=jfmengels "Tests") | [
Kent C. Dodds](http://kentcdodds.com/)
[πŸ“–](https://github.com/all-contributors/all-contributors-cli/commits?author=kentcdodds "Documentation") [πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=kentcdodds "Code") | [
JoΓ£o GuimarΓ£es](https://github.com/jccguimaraes)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=jccguimaraes "Code") | [
Ben Briggs](http://beneb.info)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=ben-eb "Code") | [
Itai Steinherz](https://github.com/itaisteinherz)
[πŸ“–](https://github.com/all-contributors/all-contributors-cli/commits?author=itaisteinherz "Documentation") [πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=itaisteinherz "Code") | [
Alex Jover](https://github.com/alexjoverm)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=alexjoverm "Code") [πŸ“–](https://github.com/all-contributors/all-contributors-cli/commits?author=alexjoverm "Documentation") | | :---: | :---: | :---: | :---: | :---: | :---: | -| [
Jerod Santo](https://jerodsanto.net)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=jerodsanto "Code") | [
Kevin Jalbert](https://github.com/kevinjalbert)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=kevinjalbert "Code") | [
tunnckoCore](https://i.am.charlike.online)
[πŸ”§](#tool-charlike "Tools") | [
Mehdi Achour](https://machour.idk.tn/)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=machour "Code") | [
Roy Revelt](https://codsen.com)
[πŸ›](https://github.com/jfmengels/all-contributors-cli/issues?q=author%3Arevelt "Bug reports") | [
Chris Vickery](https://github.com/chrisinajar)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=chrisinajar "Code") | -| [
Bryce Reynolds](https://github.com/brycereynolds)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=brycereynolds "Code") | [
James, please](http://www.jmeas.com)
[πŸ€”](#ideas-jmeas "Ideas, Planning, & Feedback") [πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=jmeas "Code") | [
Spyros Ioakeimidis](http://www.spyros.io)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=spirosikmd "Code") | [
Fernando Costa](https://github.com/fadc80)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=fadc80 "Code") | [
snipe](https://snipe.net)
[πŸ“–](https://github.com/jfmengels/all-contributors-cli/commits?author=snipe "Documentation") | [
Gant Laborde](http://gantlaborde.com/)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=GantMan "Code") | -| [
Md Zubair Ahmed](https://in.linkedin.com/in/mzubairahmed)
[πŸ“–](https://github.com/jfmengels/all-contributors-cli/commits?author=M-ZubairAhmed "Documentation") [πŸ›](https://github.com/jfmengels/all-contributors-cli/issues?q=author%3AM-ZubairAhmed "Bug reports") [πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=M-ZubairAhmed "Code") [⚠️](https://github.com/jfmengels/all-contributors-cli/commits?author=M-ZubairAhmed "Tests") | [
Divjot Singh](http://bogas04.github.io)
[πŸ“–](https://github.com/jfmengels/all-contributors-cli/commits?author=bogas04 "Documentation") | [
JoΓ£o Marques](https://github.com/tigermarques)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=tigermarques "Code") [πŸ“–](https://github.com/jfmengels/all-contributors-cli/commits?author=tigermarques "Documentation") [πŸ€”](#ideas-tigermarques "Ideas, Planning, & Feedback") | [
Andrew Lisowski](http://hipstersmoothie.com)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=hipstersmoothie "Code") [πŸ“–](https://github.com/jfmengels/all-contributors-cli/commits?author=hipstersmoothie "Documentation") [⚠️](https://github.com/jfmengels/all-contributors-cli/commits?author=hipstersmoothie "Tests") | [
Xianming Zhong](https://github.com/chinesedfan)
[πŸ“–](https://github.com/jfmengels/all-contributors-cli/commits?author=chinesedfan "Documentation") | [
C.Y.Xu](https://github.com/xuchaoying)
[πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=xuchaoying "Code") | -| [
Dura](https://github.com/chris-dura)
[πŸ“–](https://github.com/jfmengels/all-contributors-cli/commits?author=chris-dura "Documentation") | [
Jake Bolam](https://jakebolam.com)
[πŸš‡](#infra-jakebolam "Infrastructure (Hosting, Build-Tools, etc)") [πŸ’»](https://github.com/jfmengels/all-contributors-cli/commits?author=jakebolam "Code") [πŸ“–](https://github.com/jfmengels/all-contributors-cli/commits?author=jakebolam "Documentation") [⚠️](https://github.com/jfmengels/all-contributors-cli/commits?author=jakebolam "Tests") | +| [
Jerod Santo](https://jerodsanto.net)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=jerodsanto "Code") | [
Kevin Jalbert](https://github.com/kevinjalbert)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=kevinjalbert "Code") | [
tunnckoCore](https://i.am.charlike.online)
[πŸ”§](#tool-charlike "Tools") | [
Mehdi Achour](https://machour.idk.tn/)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=machour "Code") | [
Roy Revelt](https://codsen.com)
[πŸ›](https://github.com/all-contributors/all-contributors-cli/issues?q=author%3Arevelt "Bug reports") | [
Chris Vickery](https://github.com/chrisinajar)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=chrisinajar "Code") | +| [
Bryce Reynolds](https://github.com/brycereynolds)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=brycereynolds "Code") | [
James, please](http://www.jmeas.com)
[πŸ€”](#ideas-jmeas "Ideas, Planning, & Feedback") [πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=jmeas "Code") | [
Spyros Ioakeimidis](http://www.spyros.io)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=spirosikmd "Code") | [
Fernando Costa](https://github.com/fadc80)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=fadc80 "Code") | [
snipe](https://snipe.net)
[πŸ“–](https://github.com/all-contributors/all-contributors-cli/commits?author=snipe "Documentation") | [
Gant Laborde](http://gantlaborde.com/)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=GantMan "Code") | +| [
Md Zubair Ahmed](https://in.linkedin.com/in/mzubairahmed)
[πŸ“–](https://github.com/all-contributors/all-contributors-cli/commits?author=M-ZubairAhmed "Documentation") [πŸ›](https://github.com/all-contributors/all-contributors-cli/issues?q=author%3AM-ZubairAhmed "Bug reports") [πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=M-ZubairAhmed "Code") [⚠️](https://github.com/all-contributors/all-contributors-cli/commits?author=M-ZubairAhmed "Tests") | [
Divjot Singh](http://bogas04.github.io)
[πŸ“–](https://github.com/all-contributors/all-contributors-cli/commits?author=bogas04 "Documentation") | [
JoΓ£o Marques](https://github.com/tigermarques)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=tigermarques "Code") [πŸ“–](https://github.com/all-contributors/all-contributors-cli/commits?author=tigermarques "Documentation") [πŸ€”](#ideas-tigermarques "Ideas, Planning, & Feedback") | [
Andrew Lisowski](http://hipstersmoothie.com)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=hipstersmoothie "Code") [πŸ“–](https://github.com/all-contributors/all-contributors-cli/commits?author=hipstersmoothie "Documentation") [⚠️](https://github.com/all-contributors/all-contributors-cli/commits?author=hipstersmoothie "Tests") | [
Xianming Zhong](https://github.com/chinesedfan)
[πŸ“–](https://github.com/all-contributors/all-contributors-cli/commits?author=chinesedfan "Documentation") | [
C.Y.Xu](https://github.com/xuchaoying)
[πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=xuchaoying "Code") | +| [
Dura](https://github.com/chris-dura)
[πŸ“–](https://github.com/all-contributors/all-contributors-cli/commits?author=chris-dura "Documentation") | [
Jake Bolam](https://jakebolam.com)
[πŸš‡](#infra-jakebolam "Infrastructure (Hosting, Build-Tools, etc)") [πŸ’»](https://github.com/all-contributors/all-contributors-cli/commits?author=jakebolam "Code") [πŸ“–](https://github.com/all-contributors/all-contributors-cli/commits?author=jakebolam "Documentation") [⚠️](https://github.com/all-contributors/all-contributors-cli/commits?author=jakebolam "Tests") | This project follows the -[all-contributors](https://github.com/kentcdodds/all-contributors) +[all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind are welcome! -We are also [looking for maintainers](https://github.com/jfmengels/all-contributors-cli/issues/129) +We are also [looking for maintainers](https://github.com/all-contributors/all-contributors-cli/issues/129) ## LICENSE @@ -242,25 +242,25 @@ MIT [npm]: https://www.npmjs.com/ [node]: https://nodejs.org -[build-badge]: https://img.shields.io/travis/jfmengels/all-contributors-cli.svg?style=flat-square -[build]: https://travis-ci.org/jfmengels/all-contributors-cli -[coverage-badge]: https://img.shields.io/codecov/c/github/jfmengels/all-contributors-cli.svg?style=flat-square -[coverage]: https://codecov.io/github/jfmengels/all-contributors-cli +[build-badge]: https://img.shields.io/travis/all-contributors/all-contributors-cli.svg?style=flat-square +[build]: https://travis-ci.org/all-contributors/all-contributors-cli +[coverage-badge]: https://img.shields.io/codecov/c/github/all-contributors/all-contributors-cli.svg?style=flat-square +[coverage]: https://codecov.io/github/all-contributors/all-contributors-cli [version-badge]: https://img.shields.io/npm/v/all-contributors-cli.svg?style=flat-square [package]: https://www.npmjs.com/package/all-contributors-cli [downloads-badge]: https://img.shields.io/npm/dm/all-contributors-cli.svg?style=flat-square [downloads]: http://www.npmtrends.com/all-contributors-cli [license-badge]: https://img.shields.io/npm/l/all-contributors-cli.svg?style=flat-square -[license]: https://github.com/jfmengels/all-contributors-cli/blob/master/other/LICENSE +[license]: https://github.com/all-contributors/all-contributors-cli/blob/master/other/LICENSE [prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square [prs]: http://makeapullrequest.com [coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square -[coc]: https://github.com/jfmengels/all-contributors-cli/blob/master/other/CODE_OF_CONDUCT.md -[github-watch-badge]: https://img.shields.io/github/watchers/jfmengels/all-contributors-cli.svg?style=social -[github-watch]: https://github.com/jfmengels/all-contributors-cli/watchers -[github-star-badge]: https://img.shields.io/github/stars/jfmengels/all-contributors-cli.svg?style=social -[github-star]: https://github.com/jfmengels/all-contributors-cli/stargazers -[twitter]: https://twitter.com/intent/tweet?text=Check%20out%20all-contributors-cli!%20https://github.com/jfmengels/all-contributors-cli%20%F0%9F%91%8D -[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/jfmengels/all-contributors-cli.svg?style=social -[emojis]: https://github.com/kentcdodds/all-contributors#emoji-key -[all-contributors]: https://github.com/kentcdodds/all-contributors +[coc]: https://github.com/all-contributors/all-contributors-cli/blob/master/other/CODE_OF_CONDUCT.md +[github-watch-badge]: https://img.shields.io/github/watchers/all-contributors/all-contributors-cli.svg?style=social +[github-watch]: https://github.com/all-contributors/all-contributors-cli/watchers +[github-star-badge]: https://img.shields.io/github/stars/all-contributors/all-contributors-cli.svg?style=social +[github-star]: https://github.com/all-contributors/all-contributors-cli/stargazers +[twitter]: https://twitter.com/intent/tweet?text=Check%20out%20all-contributors-cli!%20https://github.com/all-contributors/all-contributors-cli%20%F0%9F%91%8D +[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/all-contributors/all-contributors-cli.svg?style=social +[emojis]: https://github.com/all-contributors/all-contributors#emoji-key +[all-contributors]: https://github.com/all-contributors/all-contributors diff --git a/package.json b/package.json index f61a4c2..c5d6ac6 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/jfmengels/all-contributors-cli.git" + "url": "https://github.com/all-contributors/all-contributors-cli.git" }, "keywords": [ "all-contributors", @@ -30,9 +30,9 @@ "author": "Jeroen Engels ", "license": "MIT", "bugs": { - "url": "https://github.com/jfmengels/all-contributors-cli/issues" + "url": "https://github.com/all-contributors/all-contributors-cli/issues" }, - "homepage": "https://github.com/jfmengels/all-contributors-cli#readme", + "homepage": "https://github.com/all-contributors/all-contributors-cli#readme", "dependencies": { "async": "^2.0.0-rc.1", "chalk": "^2.3.0", diff --git a/src/generate/__tests__/format-contribution-type.js b/src/generate/__tests__/format-contribution-type.js index d5bbf7e..f19e34f 100644 --- a/src/generate/__tests__/format-contribution-type.js +++ b/src/generate/__tests__/format-contribution-type.js @@ -28,7 +28,7 @@ test('return link to commits', () => { const contributor = contributors.kentcdodds const {options} = fixtures() const expectedLink = - 'https://github.com/jfmengels/all-contributors-cli/commits?author=kentcdodds' + 'https://github.com/all-contributors/all-contributors-cli/commits?author=kentcdodds' expect(formatContributionType(options, contributor, 'code')).toBe( `[πŸ’»](${expectedLink} "Code")`, @@ -45,7 +45,7 @@ test('return link to issues', () => { const contributor = contributors.kentcdodds const {options} = fixtures() const expected = - '[πŸ›](https://github.com/jfmengels/all-contributors-cli/issues?q=author%3Akentcdodds "Bug reports")' + '[πŸ›](https://github.com/all-contributors/all-contributors-cli/issues?q=author%3Akentcdodds "Bug reports")' expect(formatContributionType(options, contributor, 'bug')).toBe(expected) }) diff --git a/src/init/__tests__/__snapshots__/add-contributors-list.js.snap b/src/init/__tests__/__snapshots__/add-contributors-list.js.snap index 65d9ce9..169ace2 100644 --- a/src/init/__tests__/__snapshots__/add-contributors-list.js.snap +++ b/src/init/__tests__/__snapshots__/add-contributors-list.js.snap @@ -4,13 +4,13 @@ exports[`create contributors section if content is empty 1`] = ` " ## Contributors -Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): +Thanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)): -This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!" +This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!" `; exports[`create contributors section if it is absent 1`] = ` @@ -19,13 +19,13 @@ exports[`create contributors section if it is absent 1`] = ` Description ## Contributors -Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): +Thanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)): -This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!" +This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!" `; exports[`insert list under contributors section 1`] = ` diff --git a/src/init/init-content.js b/src/init/init-content.js index 56ea862..4b6d5dd 100644 --- a/src/init/init-content.js +++ b/src/init/init-content.js @@ -4,14 +4,14 @@ const injectContentBetween = require('../util').markdown.injectContentBetween const badgeContent = '[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)' const headerContent = - 'Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):' + 'Thanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):' const listContent = [ '', '', '', ].join('\n') const footerContent = - 'This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!' + 'This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!' function addBadge(lines) { return injectContentBetween(lines, badgeContent, 1, 1)