* feat: added a JSON handler/fixer [wip]
Added a module that will check JSON files and give a good level of details for errors while
attempting to fix it
re https://github.com/all-contributors/all-contributors-bot/issues/102
* refactor: consolidated the fix handler
Made the fixer a bit more concise and added the fields to allow for an auto-update of the config
file (if it was changed)
* chore(package): use another `jsonlint`
* refactor(config-file): use `json-fixer`
* chore(package): bump `json-fixer` to 1.3
* chore(package): bumped `json-fixer`
* feat(init): creates the contributor file if not found
If not found, the specified contributor file (defaulting to `README.md`) will be created prior to
injections in it.
re https://github.com/all-contributors/all-contributors-bot/issues/105
* refactor(init): renamed a module and its export
Renamed `check-file` to `file-exist` and its exported function to `ensureFileExists`
* test(init): added contributors file test
Added two test cases for the contributors file existence check
*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
* 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.
* 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
* 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.