* feat: add CACHE_SECONDS environment variable
This commit adds the CACHE_SECONDS environment variable. This variable
can be used to circumvent our cache clamping values for self hosted
Vercel instances.
* refactor: apply formatter
* fix: Make WakaTime card compatible with new API
This commit makes sure that the WakaTime card works with the new
WakaTime API. See https://github.com/anuraghazra/github-readme-stats/issues/2698
for more information.
* fix: fix chinese simplified translations
* fix: improve WakaTime range order
* test: fix WakaTime tests
* refactor: remove WakaTime range loop
* refactor: remove redundant WakaTime call
* test: fix e2e tests
Co-authored-by: Hakula Chen <i@hakula.xyz>
---------
Co-authored-by: Hakula Chen <i@hakula.xyz>
* 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>
* feat: added option to hide languages
* feat: recalculate percentages for hidden languages
* refactor: reverted langs_count and did some formatting
* doc: added hide to readme
* feat: make languages var mutable and improve filter logic
Co-authored-by: Adrian Kunz <clashsoft@hotmail.com>
* refactor: improve code and added tests
Co-authored-by: Adrian Kunz <clashsoft@hotmail.com>
Co-authored-by: Anurag <hazru.anurag@gmail.com>
* chore: allow to customize wakatime data range
* docs: document wakatime range parameter
docs: add wakatime section to german readme
Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
* Custom stats title (anuraghazra#229)
* Add custom title test
* remove unused code
* Update readme.md to include the `custom_title` option
* Update readme_es.md to include `custom_title` option
Co-Authored-By: José Javier Rodríguez Zas <jjavierdguezas@gmail.com>
* Merge branch 'master' of https://github.com/anuraghazra/github-readme-stats.git into custom-title
* feat: added customTitle option in Card
Co-authored-by: José Javier Rodríguez Zas <jjavierdguezas@gmail.com>
Co-authored-by: Anurag <hazru.anurag@gmail.com>