Rick Staa
98f9045f98
fix: improve error caching behavoir ( #2211 )
...
This commit ensures that the GraphQL Pat error is not cached in any
browser. See
https://github.com/anuraghazra/github-readme-stats/issues/1471#issuecomment-1282630614 .
2022-10-18 18:07:38 +02:00
rickstaa
f0f92c2635
test: add cache on error test
2022-10-10 12:48:26 +02:00
Matteo Pierro
af97e5765b
fix: fetch all repos for for the stats card ( #2100 )
...
* fetch all stars
* stop fetching when there are repos with zero stars
* remove not needed parameters from the query
* add docstring
* removed not needed mock
* style: update formatting
Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-10-04 13:10:50 +02:00
rickstaa
8886b93a7e
refactor: clean up imports
2022-09-24 14:10:06 +02:00
rickstaa
41d6760abd
fix: fix es6 import file extension
2022-09-24 13:20:52 +02:00
rsk2
107f7ca52c
Feature/grs 1955 change commonjs imports ( #1995 )
...
* 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>
2022-09-24 10:20:54 +02:00
Anurag Hazra
9d2bfd9d8f
fix: temporarily increase the cache hours ( #1771 )
2022-05-19 00:48:26 +05:30
Anurag Hazra
d049f0688d
fix: hotfix for graphql api error ( #1409 )
2021-10-23 13:50:33 +05:30
Bas950
8aea1e3c35
feat: added repo card hide border option ( #488 )
...
* 🚀 Prettier config
* 🚀 hide_border for Repo Card
* fix: wrong total commits (#490 )
* chore: run prettier on all files
* chore: lol lets add the trailing commas
Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
2020-09-24 21:38:14 +05:30
Anurag Hazra
ec246d27ab
fix: increase cache
2020-08-13 19:26:42 +05:30
Anurag Hazra
67b434dc79
chore(*): reorganized all files and folders ( #283 )
2020-08-02 13:07:26 +05:30
anuraghazra
6d5a828542
chore: added secondary warning message in renderError
2020-07-25 13:29:32 +05:30
Fábio Rosado
4c0518616f
feat: Add count_private flag to count private contributions ( #148 )
...
* Add private contributions count
* Remove unused var and add tests
* Update readme
* fix: tests & minor code formating
* docs: updated docs
Co-authored-by: anuraghazra <hazru.anurag@gmail.com>
2020-07-24 19:34:38 +05:30
Anurag Hazra
aa44bd7615
fix: hide parameter array implementation ( #162 )
...
* fix: hide paramter array implementation
* chore: parseArray str check
* docs: updated readme
* chore: add codecov threshold
* docs: update docs
2020-07-23 21:01:23 +05:30
anuraghazra
fdf445d734
feat: added ability to set custom cache
2020-07-20 21:43:51 +05:30
anuraghazra
db49ca7b71
feat: added rankings
2020-07-13 19:41:47 +05:30
anuraghazra
40e0937100
tests: added integration tests for the api endpoints
2020-07-12 20:08:01 +05:30