mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2024-12-27 06:25:47 +08:00
60fae292a3
* feat: enable multi-page stars' fetching for private vercel instances This commit enables multi-page stars' support from fetching on private Vercel instances. This feature can be disabled on the public Vercel instance by adding the `FETCH_SINGLE_PAGE_STARS=true` as an env variable in the public Vercel instance. This variable will not be present when people deploy their own Vercel instance, causing the code to fetch multiple star pages. * fix: improve stats multi-page fetching behavoir This commit makes sure that the GraphQL api is only called one time per 100 repositories. The old method added one unnecesairy GraphQL call. * docs: update documentation * style: improve code syntax Co-authored-by: Matteo Pierro <pierromatteo@gmail.com> * lol happy new year * docs: remove rate limit documentation for now Remove the `FETCH_SINGLE_PAGE_STARS` from documentation for now since it might confuse people. * fix: fix error in automatic merge * feat: make sure env variable is read Co-authored-by: Matteo Pierro <pierromatteo@gmail.com> Co-authored-by: Anurag <hazru.anurag@gmail.com> |
||
---|---|---|
.. | ||
__snapshots__ | ||
e2e | ||
api.test.js | ||
calculateRank.test.js | ||
card.test.js | ||
fetchRepo.test.js | ||
fetchStats.test.js | ||
fetchTopLanguages.test.js | ||
fetchWakatime.test.js | ||
flexLayout.test.js | ||
pin.test.js | ||
renderRepoCard.test.js | ||
renderStatsCard.test.js | ||
renderTopLanguages.test.js | ||
renderWakatimeCard.test.js | ||
retryer.test.js | ||
top-langs.test.js | ||
utils.test.js |