* feat: added default options to readme
* Update readme.md
Co-authored-by: Rick Staa <rick.staa@outlook.com>
* fix: added default values for stats card
* style: some small readme changes
Co-authored-by: Rick Staa <rick.staa@outlook.com>
This commit adds the `stale-theme-pr-closer` closer action. This action
is used to close theme pull requests with an `invalid` label that has
been stale for a given number of `STALE_DAYS`.
This commit makes sure that:
- The theme-preview action can test multiple themes.
- Fails if something goes wrong.
- Requests changes if the theme does not adhere to the guidelines.
- Approves the PR if the theme adheres to the guidelines.
* ci: add e2e vercel test action
This commit adds several end-to-end tests that can be used
to test whether the Vercel Preview deployment successfully
returns the cards.
* test: add additional e2e card tests
* test: improve e2e card tests
This commit makes sure that the tests also check whether a valid cards
are returned from the preview deployment.
* 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>