* GRS-1955: Using ES6 import/export in src files
* GRS-1955: Using ES6 import/export in test files
* GRS-1955: Using ES6 import/export in themes index.js
* GRS-1955: Readding blank line at end of top-languages-card.js
* feat: fix test es6 import errors
This commit makes sure jest is set-up to support es6. It also fixes
several test errors and sorts the imports.
* test: update test node version
This commit makes sure node 16 is used in the github actions.
* refactor: run prettier
Co-authored-by: rickstaa <rick.staa@outlook.com>
* Change default stats card width with hide rank
* Add tests for stats card with card_width
* Add card_width Stats Card description to readme
* fix: add icon width to stats-card min width calculation
* fix: fixes rank circle padding problem
This commit fixes a padding problem that was introduced in
f9c0e0bff6. In the new code, the padding
around the rank circle will be 50 when the stats card is bigger than
450. When it is smaller than 450 the left and right padding will shrink
equally.
* style: run prettier
* tests: add extra stats 'card_width' tests
This commit makes sure we also test the stats card width for the case that the 'show_icons'
option is enabled.
* style: run prettier
Co-authored-by: rickstaa <rick.staa@outlook.com>
* Fixed Firefox text overflow / overwriting issue
Tests currently don't work becouse it appears that '@supports' is not supported by cssToObject used within the tests. I currently have no idea how to fix that test but the cards themself appear to not be broken
Fixesanuraghazra/github-readme-stats#664Fixesanuraghazra/github-readme-stats#1134
* Fixed tests by moving to other css-to-object
Moved the `css-to-object` package to @uppercod's version for test fix. This doesn't seem to have the same issues as the older package
* chore: cleanup test
Co-authored-by: Anurag <hazru.anurag@gmail.com>
* fix: remove 's' after apostrophe if name ends with 's'
* fix: respect GITHUB_TOKEN env var before PAT_s
* revert: verbose console log for retries
* Revert "fix: respect GITHUB_TOKEN env var before PAT_s"
This reverts commit 2becbe595c.
* test: added test for title apostrophe
Co-authored-by: anuraghazra <hazru.anurag@gmail.com>
* improve: improved rating algorithm wip
* Fixed typos, punctuation [...]
Corrected many instances of "Github" to "GitHub", fixed the punctuation on some sections, fixed the ~lack of~ uppercase chars in others, tweaked the grammar a bit, and added the Vercel guide to a spoiler-ish section so it's only visible if you click to expand.
<3
* fix: github rate limiter with multiple PATs
* perf: vertically align text left
* refactor: refactored retryer logic & handled invalid tokens
* chore: remove redundant codes
`axios` is Promise based, there is no need to wrap it into a Promise constructor again
* fix: query param booleans
* design: fixed rank alignment
* chore: rebase from master
* fix: fixed repo card breaking in absence of primaryLanguage
* fix: fixed stars count #39 & fixed progressbar percentage
* perf: replace emoji icons with GitHub SVG icons
* chore: added funding link
* refactor: refacted icons to another file
* test: added test for icons
Co-authored-by: anuraghazra <hazru.anurag@gmail.com>
Co-authored-by: Micael Jarniac <micael@jarniac.com>
Co-authored-by: JounQin <admin@1stg.me>