* 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>
* totalCommits: don't return NaN
* rank: B+ should cover everyone
Empty profile used to show "undefined" as the rank. Now empty profile shows "A+"... is B+ possible?
* Add min width to languages card
* Add test for min width languages card
* feat: increase lang card min width
Co-authored-by: Rick Staa <rick.staa@outlook.com>
* Updated Year
* Update LICENSE / Revert to 2020
The MIT license [year] field should indicate the year the copyright was applied
Co-authored-by: Rick Staa <rick.staa@outlook.com>
Co-authored-by: Rick Staa <rick.staa@outlook.com>
* chore: replace `git.io` links
* Update src/common/utils.js
Co-authored-by: Rick Staa <rick.staa@outlook.com>
Co-authored-by: Rick Staa <rick.staa@outlook.com>
* Update docs to mention maxDuration to 10
I forked the project and tried running it, but got an error saying
The value for maxDuration must be between 1 second and 10 seconds, in order to increase this limit upgrade your plan: https://vercel.com/pricing
- We have to set the maxDuration to 10 for free plans in vercel.json
* docs(contributing.md): improve syntax
Co-authored-by: rickstaa <rick.staa@outlook.com>