update / updater-contributors

Update the contributors array in package.json with the contributors returned by the GitHub API.
MIT License
3 stars 0 forks source link

AUTHORS file #2

Open jonschlinkert opened 8 years ago

jonschlinkert commented 8 years ago

per this issue https://github.com/update/update/issues/9, from @jamen.

We can add a task that generates the AUTHORS file using the array of authors returned from the GitHub API, and/or directly from package.json authors.

jonschlinkert commented 8 years ago

fwiw, when I created this my thinking was that the main goal of the updater should be to update an object (like authors in package.json) with the latest list of contributors. Then we should be able to do just about anything else with that data, using templates or whatever.

doowb commented 8 years ago

We might be able to split the formatters out of github-contributors to be able to format any array of "people". Then an updater can get the authors object from package.json and format it into the authors file.

jonschlinkert commented 8 years ago

good idea, feel free to abstract that code out and create format-people or whatever. then just swap it out in github-contributors