Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from anuraghazra:master #125

Merged
merged 696 commits into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
696 commits
Select commit Hold shift + click to select a range
365dfb7
docs(translations): remove broken sponsors links (#3361)
qwerty541 Oct 15, 2023
4e949c2
docs(contributing): remove outdated local dev steps (#3358)
rickstaa Oct 16, 2023
41d19be
Build(deps): Bump rickstaa/empty-issues-closer-action (#3375)
dependabot[bot] Oct 16, 2023
dd528c4
Build(deps): Bump rickstaa/top-issues-action from 1.3.54 to 1.3.56 (#…
dependabot[bot] Oct 16, 2023
c289b10
Build(deps): Bump actions/checkout from 3.5.3 to 4.1.0 (#3377)
dependabot[bot] Oct 16, 2023
bb17789
Build(deps-dev): Bump @testing-library/jest-dom from 6.1.3 to 6.1.4 (…
dependabot[bot] Oct 16, 2023
e7056fb
Build(deps-dev): Bump lint-staged from 14.0.1 to 15.0.1 (#3379)
dependabot[bot] Oct 16, 2023
29c1fef
Build(deps-dev): Bump @babel/traverse from 7.22.8 to 7.23.2 (#3381)
dependabot[bot] Oct 16, 2023
4dc930b
Build(deps-dev): Bump @actions/github from 5.1.1 to 6.0.0 (#3380)
dependabot[bot] Oct 16, 2023
3dab984
docs(contributions): use HTTPS protocol inside license link (#3373)
qwerty541 Oct 17, 2023
b85225b
docs(contributions): improve visability of themes merging policy (#3371)
qwerty541 Oct 17, 2023
bc9076a
docs: use absolute paths for several broken links as temporary soluti…
qwerty541 Oct 18, 2023
885bd1b
docs: add link to translations contribution guidelines (#3390)
qwerty541 Oct 18, 2023
ae35637
docs(contributions): add one theme per pull request rule (#3394)
qwerty541 Oct 19, 2023
33beba5
ci(theme preview): add one theme per pull request rule (#3395)
qwerty541 Oct 21, 2023
3eedfd3
chore(theme): add light and dark catppuccin themes with fix for contr…
cosmojg Oct 22, 2023
cb5ac97
docs: themes addition paused (#3409)
qwerty541 Oct 23, 2023
edeebeb
docs(contributing): themes addition paused (#3408)
qwerty541 Oct 23, 2023
f8aa2db
ci(theme preview): allow gradient themes (#3400)
qwerty541 Oct 23, 2023
3977b90
tests:: allow gradient themes (#3401)
qwerty541 Oct 23, 2023
c795c72
Build(deps): Bump actions/checkout from 4.1.0 to 4.1.1 (#3413)
dependabot[bot] Oct 23, 2023
376aeaa
Build(deps): Bump rickstaa/top-issues-action from 1.3.56 to 1.3.61 (#…
dependabot[bot] Oct 23, 2023
69b1745
Build(deps): Bump bahmutov/npm-install from 1.8.35 to 1.8.36 (#3414)
dependabot[bot] Oct 23, 2023
3d0780b
Build(deps): Bump rickstaa/empty-issues-closer-action (#3417)
dependabot[bot] Oct 23, 2023
453ab19
Build(deps): Bump actions/setup-node from 3.8.1 to 4.0.0 (#3416)
dependabot[bot] Oct 23, 2023
8ee18b8
Build(deps-dev): Bump lint-staged from 15.0.1 to 15.0.2 (#3418)
dependabot[bot] Oct 23, 2023
69cdf00
Build(deps-dev): Bump eslint from 8.51.0 to 8.52.0 (#3419)
dependabot[bot] Oct 23, 2023
23f9cc7
docs(theme): Auto update theme readme (#3407)
qwerty541 Oct 24, 2023
7fe7c63
ci(top issues dashboard): themes addition paused (#3410)
qwerty541 Oct 24, 2023
6bcc98d
fix: fix `WakaTime` brand casing (#3411)
Joehuu Oct 24, 2023
c79fc99
docs(contributing): change protocol from HTTPS to HTTP in local devel…
kafkaidk Oct 26, 2023
8084ba9
i18n: improve Ukrainian translations (#3422)
eternityduck Oct 26, 2023
87a3bf3
ci(theme readme gen): lowercase commit message to match conventional …
qwerty541 Oct 26, 2023
0691084
ci(preview theme): allow gradient colors (2) (#3427)
qwerty541 Oct 26, 2023
db92181
fix(top langs fetcher): fix typo inside error message (#3431)
eternityduck Oct 28, 2023
9c6eb22
feature: render error card in same theme as requested card (resolves …
notpritam Oct 28, 2023
89fc146
refactor: improve blacklisted username error by adding secondary mess…
qwerty541 Oct 30, 2023
5b72dfb
tests(stats card): cover with test changes in #3298 (#3443)
qwerty541 Oct 30, 2023
2feebd0
infra(dependabot): set myself as pull requests reviewer (#3435)
qwerty541 Oct 30, 2023
91a3ac2
Build(deps): Bump rickstaa/empty-issues-closer-action (#3446)
dependabot[bot] Oct 30, 2023
10236d8
Build(deps): Bump ossf/scorecard-action from 2.3.0 to 2.3.1 (#3447)
dependabot[bot] Oct 30, 2023
6cf9bb8
Build(deps): Bump axios from 1.5.1 to 1.6.0 (#3448)
dependabot[bot] Oct 30, 2023
2b90336
Build(deps): Bump rickstaa/top-issues-action from 1.3.61 to 1.3.64 (#…
dependabot[bot] Oct 30, 2023
1886fe0
refactor: update languages JSON (#3450)
github-actions[bot] Oct 31, 2023
2ddcd9c
infra(dependabot): configure commits message to match conventional co…
qwerty541 Oct 31, 2023
ff16984
refactor: fix typos in a comment (#3437)
Wertzui123 Nov 1, 2023
236577f
infra: enable no-class-assign eslint rule (#3451)
qwerty541 Nov 1, 2023
5b3b920
infra: enable no-const-assign eslint rule (#3452)
qwerty541 Nov 1, 2023
90c30f2
infra: enable no-dupe-class-members eslint rule (#3456)
qwerty541 Nov 6, 2023
6d8169f
tests(wakatime-fetcher): fix brand casing (#3455)
qwerty541 Nov 6, 2023
e5b5da8
tests: add basic wakatime endpoint test (#3454)
qwerty541 Nov 6, 2023
79cee30
infra: enable constructor-super eslint rule (#3457)
qwerty541 Nov 7, 2023
bc7ea33
build(deps): Bump rickstaa/empty-issues-closer-action (#3460)
dependabot[bot] Nov 7, 2023
a99abe8
build(deps): Bump rickstaa/top-issues-action from 1.3.64 to 1.3.65 (#…
dependabot[bot] Nov 7, 2023
843b15e
build(deps-dev): Bump eslint from 8.52.0 to 8.53.0 (#3459)
dependabot[bot] Nov 7, 2023
8d7e9df
themes: add ambient_gradient theme for test (#3399)
qwerty541 Nov 7, 2023
dda9647
fix(express deploy): fix situations when env variables doesn't load b…
wolfcomp Nov 7, 2023
aa90efc
docs(theme): auto update theme readme (#3462)
qwerty541 Nov 7, 2023
edf9f74
infra: enable keyword-spacing eslint rule and remove decrecated space…
qwerty541 Nov 10, 2023
5ea6595
infra: enable no-delete-var eslint rule (#3465)
qwerty541 Nov 10, 2023
51eefa2
infra: enable no-caller eslint rule (#3473)
qwerty541 Nov 13, 2023
d654fe5
infra: enable no-alert eslint rule (#3472)
qwerty541 Nov 13, 2023
034ee06
build(deps-dev): Bump lint-staged from 15.0.2 to 15.1.0 (#3477)
dependabot[bot] Nov 13, 2023
36bbea2
build(deps): Bump axios from 1.6.0 to 1.6.1 (#3478)
dependabot[bot] Nov 13, 2023
e04e139
build(deps-dev): Bump prettier from 3.0.3 to 3.1.0 (#3476)
dependabot[bot] Nov 13, 2023
e50a9b4
build(deps): Bump rickstaa/top-issues-action from 1.3.65 to 1.3.69 (#…
dependabot[bot] Nov 13, 2023
4997308
build(deps): Bump rickstaa/empty-issues-closer-action (#3480)
dependabot[bot] Nov 13, 2023
3a15963
ci: add wakatime endpoint test file into pull requests labeler (#3482)
qwerty541 Nov 15, 2023
f26b83d
tests: fix typo inside card class proper height/width test (#3489)
qwerty541 Nov 20, 2023
d4f1a5d
docs: grammar/Clarity Fixes. (#3463)
krple Nov 20, 2023
ddcc30d
feat(repo card): add description lines count query parameter (#3453)
qwerty541 Nov 20, 2023
68c49dd
build(deps): Bump rickstaa/empty-issues-closer-action (#3490)
dependabot[bot] Nov 20, 2023
723cdd7
build(deps): Bump rickstaa/top-issues-action from 1.3.69 to 1.3.71 (#…
dependabot[bot] Nov 20, 2023
ffe2862
build(deps): Bump axios from 1.6.1 to 1.6.2 (#3492)
dependabot[bot] Nov 20, 2023
afcb773
build(deps-dev): Bump eslint from 8.53.0 to 8.54.0 (#3493)
dependabot[bot] Nov 20, 2023
a8663a8
feat(wakatime card): add disable animations query option (#3496)
qwerty541 Nov 23, 2023
b8983dd
feat: show wakatime stats in percentage (resolves #3016) (#3326)
ritik48 Nov 23, 2023
1262002
fix(wakatime card): add percent display format for compact layout (re…
qwerty541 Nov 25, 2023
c6c4a88
docs: improve query options appereance using tables (#3484)
qwerty541 Nov 25, 2023
4793de4
build(deps): Bump rickstaa/top-issues-action from 1.3.71 to 1.3.75 (#…
dependabot[bot] Nov 27, 2023
7595456
build(deps): Bump rickstaa/empty-issues-closer-action (#3507)
dependabot[bot] Nov 27, 2023
0616df3
tests: add gist card performance test (#3372)
qwerty541 Nov 28, 2023
1656ec6
tests: add pin card performance test (#3374)
qwerty541 Nov 28, 2023
80b2d23
build(deps-dev): Bump @adobe/css-tools from 4.3.1 to 4.3.2 (#3516)
dependabot[bot] Dec 1, 2023
1cba9c1
build(deps-dev): Bump eslint from 8.54.0 to 8.55.0 (#3522)
dependabot[bot] Dec 4, 2023
105e136
build(deps-dev): Bump lint-staged from 15.1.0 to 15.2.0 (#3524)
dependabot[bot] Dec 4, 2023
91889a3
build(deps-dev): Bump eslint-config-prettier from 9.0.0 to 9.1.0 (#3523)
dependabot[bot] Dec 4, 2023
4412af8
build(deps-dev): Bump @testing-library/jest-dom from 6.1.4 to 6.1.5 (…
dependabot[bot] Dec 4, 2023
34c67ff
build(deps): Bump rickstaa/top-issues-action from 1.3.75 to 1.3.77 (#…
dependabot[bot] Dec 4, 2023
6633d68
build(deps): Bump rickstaa/empty-issues-closer-action (#3527)
dependabot[bot] Dec 4, 2023
23472f4
build(deps): Bump actions/labeler from 4.3.0 to 5.0.0 (#3526)
dependabot[bot] Dec 4, 2023
c31f3e8
ci: update labeler config to match latest action version (#3533)
qwerty541 Dec 11, 2023
2259870
docs: fix wakatime card api_domain option default value (#3532)
qwerty541 Dec 11, 2023
c402a23
refactor: add missing export for wakatime options type (#3531)
qwerty541 Dec 11, 2023
f831dad
build(deps-dev): Bump prettier from 3.1.0 to 3.1.1 (#3540)
dependabot[bot] Dec 11, 2023
9c1bb80
build(deps): Bump actions/upload-artifact from 3.1.3 to 4.0.0 (#3549)
dependabot[bot] Dec 18, 2023
beb0172
build(deps): Bump rickstaa/top-issues-action from 1.3.77 to 1.3.83 (#…
dependabot[bot] Dec 18, 2023
82699d6
build(deps): Bump rickstaa/empty-issues-closer-action (#3551)
dependabot[bot] Dec 18, 2023
3ea55bb
build(deps): Bump actions/setup-node from 4.0.0 to 4.0.1 (#3552)
dependabot[bot] Dec 18, 2023
e30da92
build(deps-dev): Bump eslint from 8.55.0 to 8.56.0 (#3553)
dependabot[bot] Dec 18, 2023
f44ddde
build(deps): bump rickstaa/top-issues-action from 1.3.83 to 1.3.86 (#…
dependabot[bot] Dec 25, 2023
c1e8037
build(deps): bump rickstaa/empty-issues-closer-action (#3561)
dependabot[bot] Dec 25, 2023
59367dc
refactor(wakatime card): move duplicate value format logic into separ…
qwerty541 Dec 26, 2023
7d4c49b
ci: use same .yml file extension for all workflows for consistency (#…
qwerty541 Dec 26, 2023
4710f24
tests(stats card): fix render translations test (#3580)
qwerty541 Jan 7, 2024
d2dbffe
refactor: update languages JSON (#3567)
github-actions[bot] Jan 7, 2024
53a1e34
build(deps): bump rickstaa/empty-issues-closer-action (#3570)
dependabot[bot] Jan 7, 2024
1852db0
build(deps): bump rickstaa/top-issues-action from 1.3.86 to 1.3.87 (#…
dependabot[bot] Jan 7, 2024
5dd50ee
build(deps-dev): bump @testing-library/jest-dom from 6.1.5 to 6.1.6 (…
dependabot[bot] Jan 7, 2024
69f5826
build(deps): bump axios from 1.6.2 to 1.6.3 (#3573)
dependabot[bot] Jan 7, 2024
258d54d
build(deps-dev): bump jest-bench from 29.4.1 to 29.7.1 (#3574)
dependabot[bot] Jan 7, 2024
9406466
build(deps): bump axios from 1.6.2 to 1.6.5 (#3581)
dependabot[bot] Jan 7, 2024
62662be
build(deps-dev): bump @testing-library/jest-dom from 6.1.6 to 6.2.0 (…
dependabot[bot] Jan 8, 2024
39e8c20
build(deps): bump rickstaa/empty-issues-closer-action (#3583)
dependabot[bot] Jan 8, 2024
d1540ef
build(deps): bump rickstaa/top-issues-action from 1.3.87 to 1.3.91 (#…
dependabot[bot] Jan 8, 2024
9cce439
build(deps-dev): bump @testing-library/dom from 9.3.3 to 9.3.4 (#3587)
dependabot[bot] Jan 15, 2024
14fe8cd
build(deps-dev): bump prettier from 3.1.1 to 3.2.2 (#3588)
dependabot[bot] Jan 15, 2024
3d996b9
build(deps): bump rickstaa/empty-issues-closer-action (#3591)
dependabot[bot] Jan 15, 2024
eb3b4d1
build(deps): bump rickstaa/top-issues-action from 1.3.91 to 1.3.93 (#…
dependabot[bot] Jan 15, 2024
9a11163
build(deps): bump bahmutov/npm-install from 1.8.36 to 1.8.37 (#3592)
dependabot[bot] Jan 15, 2024
fa50161
build(deps): bump actions/upload-artifact from 4.0.0 to 4.1.0 (#3589)
dependabot[bot] Jan 15, 2024
533469d
tests(e2e): update data to fix retrieve stats card test (#3609)
qwerty541 Jan 23, 2024
91db535
fix(stats card): set correct value of commits count in accessability …
qwerty541 Jan 23, 2024
4f567cc
build(deps): bump rickstaa/empty-issues-closer-action (#3603)
dependabot[bot] Jan 24, 2024
734c69a
build(deps): bump rickstaa/top-issues-action from 1.3.93 to 1.3.95 (#…
dependabot[bot] Jan 24, 2024
8b610da
build(deps): bump actions/upload-artifact from 4.1.0 to 4.2.0 (#3604)
dependabot[bot] Jan 24, 2024
b9fa27b
build(deps): bump dotenv from 16.3.1 to 16.3.2 (#3606)
dependabot[bot] Jan 24, 2024
26f6d7f
build(deps-dev): bump prettier from 3.2.2 to 3.2.4 (#3607)
dependabot[bot] Jan 24, 2024
0704b5a
build(deps-dev): bump @testing-library/jest-dom from 6.2.0 to 6.2.1 (…
dependabot[bot] Jan 24, 2024
319e3d4
tests: refactor stats card e2e test to avoid future error due to year…
qwerty541 Jan 25, 2024
547660b
tests(e2e): update data to fix retrieve stats card test (#3626)
qwerty541 Jan 30, 2024
13c25c7
build(deps-dev): bump @testing-library/jest-dom from 6.2.1 to 6.3.0 (…
dependabot[bot] Jan 31, 2024
5a05bd2
build(deps-dev): bump husky from 8.0.3 to 9.0.7 (#3621)
dependabot[bot] Jan 31, 2024
9533319
build(deps): bump axios from 1.6.5 to 1.6.7 (#3622)
dependabot[bot] Jan 31, 2024
91d0ed6
build(deps): bump dotenv from 16.3.2 to 16.4.1 (#3623)
dependabot[bot] Jan 31, 2024
62c7101
ci(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5 (#3624)
dependabot[bot] Jan 31, 2024
3e14baf
ci(deps): bump actions/upload-artifact from 4.2.0 to 4.3.0 (#3625)
dependabot[bot] Jan 31, 2024
1be7d06
build(deps-dev): bump lint-staged from 15.2.0 to 15.2.2 (#3639)
dependabot[bot] Feb 5, 2024
5f411be
tests(e2e): update data to fix retrieve stats card test (#3643)
qwerty541 Feb 6, 2024
3ba7666
build(deps-dev): bump prettier from 3.2.4 to 3.2.5 (#3640)
dependabot[bot] Feb 7, 2024
8ad4eee
build(deps-dev): bump husky from 9.0.7 to 9.0.10 (#3642)
dependabot[bot] Feb 7, 2024
a7159aa
build(deps-dev): bump @testing-library/jest-dom from 6.3.0 to 6.4.2 (…
dependabot[bot] Feb 7, 2024
e71c63d
ci(deps): bump peter-evans/create-pull-request from 5.0.2 to 6.0.0 (#…
dependabot[bot] Feb 8, 2024
2f67ff1
ci(deps): bump bahmutov/npm-install from 1.8.37 to 1.8.38 (#3638)
dependabot[bot] Feb 8, 2024
c213f9e
build(deps): bump dotenv from 16.4.1 to 16.4.2 (#3645)
dependabot[bot] Feb 13, 2024
916c51a
build(deps): bump actions/setup-node from 4.0.1 to 4.0.2 (#3646)
dependabot[bot] Feb 13, 2024
c48c4f5
ci(deps): bump actions/upload-artifact from 4.3.0 to 4.3.1 (#3648)
dependabot[bot] Feb 13, 2024
bf937ab
ci(deps): bump rickstaa/empty-issues-closer-action (#3647)
dependabot[bot] Feb 13, 2024
8c268ee
ci(deps): bump rickstaa/top-issues-action from 1.3.95 to 1.3.97 (#3649)
dependabot[bot] Feb 13, 2024
200b703
build(deps-dev): bump undici from 5.26.3 to 5.28.3 (#3651)
dependabot[bot] Feb 16, 2024
5796024
docs: fix default value of cache_seconds query option in README (#3644)
valbeat Feb 16, 2024
663e4f0
infra(dependabot): change github actions prs commit message prefix (#…
qwerty541 Feb 19, 2024
918d274
ci(deps): bump rickstaa/empty-issues-closer-action from 1.1.71 to 1.1…
dependabot[bot] Feb 19, 2024
1e30934
ci(deps): bump bahmutov/npm-install from 1.8.38 to 1.10.1 (#3658)
dependabot[bot] Feb 19, 2024
364bba7
build(deps): bump dotenv from 16.4.2 to 16.4.4 (#3660)
dependabot[bot] Feb 20, 2024
537862f
build(deps-dev): bump husky from 9.0.10 to 9.0.11 (#3659)
dependabot[bot] Feb 20, 2024
c2647d8
ci(deps): bump rickstaa/top-issues-action from 1.3.97 to 1.3.98 (#3671)
dependabot[bot] Feb 26, 2024
1d27c6b
build(deps-dev): bump eslint from 8.56.0 to 8.57.0 (#3672)
dependabot[bot] Feb 27, 2024
e69427e
build(deps): bump dotenv from 16.4.4 to 16.4.5 (#3673)
dependabot[bot] Feb 27, 2024
4de672c
ci(deps): bump peter-evans/create-pull-request from 6.0.0 to 6.0.1 (#…
dependabot[bot] Mar 4, 2024
9ea7535
ci(deps): bump rickstaa/top-issues-action from 1.3.98 to 1.3.99 (#3685)
dependabot[bot] Mar 4, 2024
8282afb
ci: prevent OSSF analysis workflow from running in forks (#3652)
harryzcy Mar 5, 2024
abf9c66
build(deps): bump follow-redirects from 1.15.4 to 1.15.6 (#3697)
dependabot[bot] Mar 16, 2024
018e7fd
ci(deps): bump actions/checkout from 4.1.1 to 4.1.2 (#3700)
dependabot[bot] Mar 19, 2024
df84138
ci(deps): bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 (#…
dependabot[bot] Mar 19, 2024
4761871
build(deps): bump axios from 1.6.7 to 1.6.8 (#3702)
dependabot[bot] Mar 19, 2024
0a372d2
ci(deps): bump rickstaa/top-issues-action from 1.3.99 to 1.3.100 (#3709)
dependabot[bot] Mar 25, 2024
fd12c01
refactor: update languages JSON (#3711)
github-actions[bot] Mar 31, 2024
a71bb1b
build(deps-dev): bump undici from 5.28.3 to 5.28.4 (#3716)
dependabot[bot] Apr 4, 2024
bd5f268
build(deps-dev): bump @testing-library/dom from 9.3.4 to 10.0.0 (#3719)
dependabot[bot] Apr 8, 2024
c9f850c
ci(deps): bump peter-evans/create-pull-request from 6.0.2 to 6.0.3 (#…
dependabot[bot] Apr 16, 2024
af9b2c8
ci(deps): bump stefanzweifel/git-auto-commit-action from 5.0.0 to 5.0…
dependabot[bot] Apr 16, 2024
e93b5d5
ci(deps): bump actions/checkout from 4.1.2 to 4.1.3 (#3738)
dependabot[bot] Apr 23, 2024
0706c26
ci(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3 (#3737)
dependabot[bot] Apr 23, 2024
ee0b0e9
ci(deps): bump peter-evans/create-pull-request from 6.0.3 to 6.0.4 (#…
dependabot[bot] Apr 23, 2024
0b3e07a
ci(deps): bump actions/checkout from 4.1.3 to 4.1.4 (#3748)
dependabot[bot] Apr 30, 2024
cb4b630
ci(deps): bump peter-evans/create-pull-request from 6.0.4 to 6.0.5 (#…
dependabot[bot] Apr 30, 2024
d739c0a
build(deps-dev): bump @testing-library/dom from 10.0.0 to 10.1.0 (#3746)
dependabot[bot] Apr 30, 2024
9d9ad87
ci(deps): bump actions/checkout from 4.1.4 to 4.1.5 (#3765)
dependabot[bot] May 7, 2024
daa0432
ci(deps): bump bahmutov/npm-install from 1.10.1 to 1.10.2 (#3764)
dependabot[bot] May 7, 2024
124225d
build(deps-dev): bump @testing-library/jest-dom from 6.4.2 to 6.4.5 (…
dependabot[bot] May 7, 2024
e1356e3
ci(deps): bump rickstaa/top-issues-action from 1.3.100 to 1.3.101 (#3…
dependabot[bot] May 17, 2024
0bdc2bf
ci(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#3768)
dependabot[bot] May 17, 2024
e06b0d2
build(deps): bump axios from 1.6.8 to 1.7.1 (#3772)
dependabot[bot] May 21, 2024
7a78036
ci(deps): bump actions/checkout from 4.1.5 to 4.1.6 (#3774)
dependabot[bot] May 21, 2024
2ec2716
build(deps): bump axios from 1.7.1 to 1.7.2 (#3783)
dependabot[bot] May 27, 2024
1a269d6
build(deps-dev): bump lint-staged from 15.2.2 to 15.2.5 (#3782)
dependabot[bot] May 27, 2024
e26c013
build(deps-dev): bump prettier from 3.2.5 to 3.3.0 (#3789)
dependabot[bot] Jun 4, 2024
e48d073
build(deps-dev): bump prettier from 3.3.0 to 3.3.1 (#3804)
dependabot[bot] Jun 11, 2024
127a507
build(deps-dev): bump prettier from 3.3.1 to 3.3.2 (#3812)
dependabot[bot] Jun 18, 2024
6999c86
build(deps-dev): bump lint-staged from 15.2.5 to 15.2.7 (#3813)
dependabot[bot] Jun 18, 2024
66579b1
build(deps-dev): bump @testing-library/jest-dom from 6.4.5 to 6.4.6 (…
dependabot[bot] Jun 18, 2024
bf4fbc2
build(deps-dev): bump ws from 8.9.0 to 8.17.1 (#3816)
dependabot[bot] Jun 19, 2024
26571ca
ci(deps): bump actions/checkout from 4.1.6 to 4.1.7 (#3815)
dependabot[bot] Jun 19, 2024
62cdee3
build(deps-dev): bump @testing-library/dom from 10.1.0 to 10.2.0 (#3822)
dependabot[bot] Jun 25, 2024
b6f5077
ci(deps): bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 (#…
dependabot[bot] Jun 25, 2024
0496044
refactor: update languages JSON (#3832)
github-actions[bot] Jul 4, 2024
6c6888e
tests(e2e): fix stats card data name (#3839)
qwerty541 Jul 6, 2024
20fb82f
ci(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4 (#3841)
dependabot[bot] Jul 9, 2024
dc4717a
build(deps-dev): bump @testing-library/dom from 10.2.0 to 10.3.1 (#3840)
dependabot[bot] Jul 10, 2024
af839e9
ci(deps): bump actions/setup-node from 4.0.2 to 4.0.3 (#3846)
dependabot[bot] Jul 16, 2024
13b3660
build(deps-dev): bump @testing-library/dom from 10.3.1 to 10.3.2 (#3848)
dependabot[bot] Jul 17, 2024
d91f629
build(deps-dev): bump prettier from 3.3.2 to 3.3.3 (#3847)
dependabot[bot] Jul 18, 2024
975d38b
build(deps-dev): bump @testing-library/dom from 10.3.2 to 10.4.0 (#3863)
dependabot[bot] Jul 23, 2024
bf7a3b0
build(deps-dev): bump husky from 9.0.11 to 9.1.1 (#3864)
dependabot[bot] Jul 24, 2024
120f176
ci(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#3879)
dependabot[bot] Jul 30, 2024
8aa4c07
build(deps-dev): bump @testing-library/jest-dom from 6.4.6 to 6.4.8 (…
dependabot[bot] Jul 31, 2024
5325e6a
build(deps-dev): bump husky from 9.1.1 to 9.1.4 (#3876)
dependabot[bot] Aug 1, 2024
16b4382
ci(deps): bump actions/upload-artifact from 4.3.4 to 4.3.5 (#3887)
dependabot[bot] Aug 6, 2024
d52deb0
build(deps-dev): bump lint-staged from 15.2.7 to 15.2.8 (#3884)
dependabot[bot] Aug 7, 2024
911958f
build(deps): bump axios from 1.7.2 to 1.7.3 (#3885)
dependabot[bot] Aug 8, 2024
d0cc449
build(deps-dev): bump axios-mock-adapter from 1.22.0 to 2.0.0 (#3886)
dependabot[bot] Aug 9, 2024
e559268
build(deps-dev): bump eslint from 8.57.0 to 9.8.0 (#3878)
dependabot[bot] Aug 12, 2024
d0c2904
ci(deps): bump actions/upload-artifact from 4.3.5 to 4.3.6 (#3892)
dependabot[bot] Aug 13, 2024
9ce5523
build(deps-dev): bump eslint from 9.8.0 to 9.9.0 (#3891)
dependabot[bot] Aug 14, 2024
5e94451
build(deps): bump axios from 1.7.3 to 1.7.4 (#3896)
dependabot[bot] Aug 15, 2024
08c94ac
build(deps-dev): bump eslint-plugin-jsdoc from 50.0.1 to 50.2.2 (#3902)
dependabot[bot] Aug 20, 2024
30db779
build(deps-dev): bump lint-staged from 15.2.8 to 15.2.9 (#3901)
dependabot[bot] Aug 21, 2024
11219b1
build(deps): bump axios from 1.7.4 to 1.7.5 (#3904)
dependabot[bot] Aug 27, 2024
ce831da
build(deps-dev): bump husky from 9.1.4 to 9.1.5 (#3905)
dependabot[bot] Aug 28, 2024
9a5b007
build(deps-dev): bump eslint from 9.9.0 to 9.9.1 (#3908)
dependabot[bot] Aug 29, 2024
8ecc085
build(deps-dev): bump @testing-library/jest-dom from 6.4.8 to 6.5.0 (…
dependabot[bot] Aug 30, 2024
a8e4458
build(deps-dev): bump @eslint/js from 9.9.0 to 9.9.1 (#3906)
dependabot[bot] Aug 31, 2024
856ea61
refactor: update languages JSON (#3910)
github-actions[bot] Sep 2, 2024
3645362
ci(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0 (#3912)
dependabot[bot] Sep 3, 2024
87dd0fa
build(deps): bump axios from 1.7.5 to 1.7.7 (#3913)
dependabot[bot] Sep 4, 2024
7a1edb2
build(deps-dev): bump lint-staged from 15.2.9 to 15.2.10 (#3914)
dependabot[bot] Sep 5, 2024
4720be4
ci(deps): bump peter-evans/create-pull-request from 6.1.0 to 7.0.1 (#…
dependabot[bot] Sep 10, 2024
e7d0860
build(deps-dev): bump @eslint/js from 9.9.1 to 9.10.0 (#3920)
dependabot[bot] Sep 11, 2024
e331475
build(deps-dev): bump eslint from 9.9.1 to 9.10.0 (#3919)
dependabot[bot] Sep 12, 2024
d87baf5
ci(deps): bump peter-evans/create-pull-request from 7.0.1 to 7.0.3 (#…
dependabot[bot] Sep 17, 2024
43009e2
build(deps-dev): bump husky from 9.1.5 to 9.1.6 (#3932)
dependabot[bot] Sep 18, 2024
ea93552
build(deps-dev): bump eslint-plugin-jsdoc from 50.2.2 to 50.2.3 (#3933)
dependabot[bot] Sep 19, 2024
f86a548
ci(deps): bump actions/setup-node from 4.0.3 to 4.0.4 (#3947)
dependabot[bot] Sep 24, 2024
27ba0bd
ci(deps): bump peter-evans/create-pull-request from 7.0.3 to 7.0.5 (#…
dependabot[bot] Sep 25, 2024
c0a9cc6
build(deps-dev): bump @eslint/js from 9.10.0 to 9.11.0 (#3943)
dependabot[bot] Sep 26, 2024
2dd1ea1
build(deps-dev): bump eslint from 9.10.0 to 9.11.1 (#3951)
dependabot[bot] Sep 27, 2024
57ccffc
build(deps-dev): bump eslint-plugin-jsdoc from 50.2.3 to 50.3.0 (#3953)
dependabot[bot] Sep 28, 2024
92237ca
ci(deps): bump actions/checkout from 4.1.7 to 4.2.0 (#3959)
dependabot[bot] Oct 1, 2024
c2c8254
ci(deps): bump actions/upload-artifact from 4.4.0 to 4.4.1 (#3975)
dependabot[bot] Oct 8, 2024
af2a595
ci(deps): bump bahmutov/npm-install from 1.10.2 to 1.10.3 (#3976)
dependabot[bot] Oct 8, 2024
3b0699a
ci(deps): bump actions/checkout from 4.2.0 to 4.2.1 (#3977)
dependabot[bot] Oct 8, 2024
a148495
build(deps-dev): bump @eslint/js from 9.11.1 to 9.12.0 (#3980)
dependabot[bot] Oct 9, 2024
b59745c
build(deps-dev): bump globals from 15.9.0 to 15.10.0 (#3981)
dependabot[bot] Oct 9, 2024
212eb2c
build(deps-dev): bump eslint from 9.11.1 to 9.12.0 (#3978)
dependabot[bot] Oct 10, 2024
4a795c6
build(deps-dev): bump @actions/core from 1.10.1 to 1.11.1 (#3979)
dependabot[bot] Oct 10, 2024
37bf205
build(deps-dev): bump eslint-plugin-jsdoc from 50.3.0 to 50.3.1 (#3982)
dependabot[bot] Oct 10, 2024
cdc6ad1
feat: cost optimize, increase cache
anuraghazra Oct 11, 2024
53e4041
chore: update
anuraghazra Oct 11, 2024
bebcb26
chore: format
anuraghazra Oct 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
themes: themes/index.js
doc-translation: docs/*
card-i18n: src/translations.js
documentation: readme.md
4 changes: 4 additions & 0 deletions .github/workflows/generate-theme-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: npm

# Fix the unsafe repo error which was introduced by the CVE-2022-24765 git patches.
- name: Fix unsafe repo error
run: git config --global --add safe.directory ${{ github.workspace }}

- name: npm install, generate readme
run: |
npm ci
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ vercel_token
# IDE
.vscode
*.code-workspace

.vercel
15 changes: 15 additions & 0 deletions express.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import statsCard from "./api/index.js";
import repoCard from "./api/pin.js";
import langCard from "./api/top-langs.js";
import wakatimeCard from "./api/wakatime.js";
import express from "express";
import dotenv from "dotenv";

dotenv.config();
const app = express();
app.listen(process.env.port || 9000);

app.get("/", statsCard);
app.get("/pin", repoCard);
app.get("/top-langs", langCard);
app.get("/wakatime", wakatimeCard);
27 changes: 24 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ Visit <https://indiafightscorona.giveindia.org> and make a small donation to hel
- [Repo Card Exclusive Options](#repo-card-exclusive-options)
- [Language Card Exclusive Options](#language-card-exclusive-options)
- [Wakatime Card Exclusive Option](#wakatime-card-exclusive-options)
- [Deploy Yourself](#deploy-on-your-own-vercel-instance)
- [Deploy Yourself](#deploy-on-your-own)
- [On Vercel](#on-vercel)
- [On other platforms](#on-other-platforms)
- [Keep your fork up to date](#keep-your-fork-up-to-date)

# GitHub Stats Card
Expand Down Expand Up @@ -133,7 +135,7 @@ You can add the count of all your private contributions to the total commits cou

### Showing icons

To enable icons, you can pass `show_icons=true` in the query param, like so:
To enable icons, you can pass `&show_icons=true` in the query param, like so:

```md
![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true)
Expand Down Expand Up @@ -509,7 +511,9 @@ By default, GitHub does not lay out the cards side by side. To do that, you can
</a>
```

## Deploy on your own Vercel instance
## Deploy on your own

### On Vercel

#### :film_projector: [Check Out Step By Step Video Tutorial By @codeSTACKr](https://youtu.be/n6d4KHSKqGk?t=107)

Expand Down Expand Up @@ -546,6 +550,23 @@ Since the GitHub API only allows 5k requests per hour, my `https://github-readme

</details>

### On other platforms

> **Warning**
> This way of using GRS is not officially supported and was added to cater to some particular use cases where Vercel could not be used (e.g. #2341). The support for this method, therefore, is limited.

<details>
<summary><b>:hammer_and_wrench: Step-by-step guide for deploying on other platforms</b></summary>

1. Fork or clone this repo as per your needs
2. Add `express` to the dependencies section of `package.json`
https://github.com/anuraghazra/github-readme-stats/blob/ba7c2f8b55eac8452e479c8bd38b044d204d0424/package.json#L54-L61
3. Run `npm i` if needed (initial setup)
4. Run `node express.js` to start the server, or set the entry point to `express.js` in `package.json` if you're deploying on a managed service
https://github.com/anuraghazra/github-readme-stats/blob/ba7c2f8b55eac8452e479c8bd38b044d204d0424/package.json#L11
5. You're done 🎉
</details>

### Keep your fork up to date

You can keep your fork, and thus your private Vercel instance up to date with the upstream using GitHubs' [Sync Fork button](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork). You can also use the [pull](https://github.com/wei/pull) package created by [@wei](https://github.com/wei) to automate this process.
Expand Down
9 changes: 5 additions & 4 deletions scripts/preview-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,13 @@ const themeNameAlreadyExists = (name) => {
return themes[name] !== undefined;
};

const DRY_RUN = process.env.DRY_RUN === "true" || false;

/**
* Main function.
*/
export const run = async (prNumber) => {
try {
const dryRun = process.env.DRY_RUN === "true" || false;
debug("Retrieve action information from context...");
debug(`Context: ${inspect(github.context)}`);
let commentBody = `
Expand Down Expand Up @@ -513,7 +514,7 @@ export const run = async (prNumber) => {
// Create or update theme-preview comment.
debug("Create or update theme-preview comment...");
let comment_url;
if (!dryRun) {
if (!DRY_RUN) {
comment_url = await upsertComment(octokit, {
comment_id: comment?.id,
issue_number: pullRequestId,
Expand All @@ -535,7 +536,7 @@ export const run = async (prNumber) => {
const reviewReason = themesValid
? undefined
: INVALID_REVIEW_COMMENT(comment_url);
if (!dryRun) {
if (!DRY_RUN) {
await addReview(
octokit,
pullRequestId,
Expand All @@ -558,7 +559,7 @@ export const run = async (prNumber) => {
}
} catch (error) {
debug("Set review state to `REQUEST_CHANGES` and add `invalid` label...");
if (!dryRun) {
if (!DRY_RUN) {
await addReview(
octokit,
pullRequestId,
Expand Down
3 changes: 1 addition & 2 deletions src/cards/top-languages-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
import { langCardLocales } from "../translations.js";

const DEFAULT_CARD_WIDTH = 300;
const MIN_CARD_WIDTH = 230;
const MIN_CARD_WIDTH = 280;
const DEFAULT_LANGS_COUNT = 5;
const DEFAULT_LANG_COLOR = "#858585";
const CARD_PADDING = 25;
Expand Down Expand Up @@ -317,7 +317,6 @@ const renderTopLanguages = (topLangs, options = {}) => {

let finalLayout = "";
if (layout === "compact" || hide_progress == true) {
width = width + 50; // padding
height =
calculateCompactLayoutHeight(langs.length) + (hide_progress ? -25 : 0);

Expand Down
26 changes: 25 additions & 1 deletion src/cards/wakatime-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ const createTextNode = ({
// @ts-ignore
name: label,
progressBarBackgroundColor,
delay: staggerDelay + 300,
});

return `
Expand Down Expand Up @@ -276,11 +277,12 @@ const renderWakatimeCard = (stats = {}, options = { hide: [] }) => {
} else {
finalLayout = flexLayout({
items: filteredLanguages.length
? filteredLanguages.map((language) => {
? filteredLanguages.map((language, index) => {
return createTextNode({
id: language.name,
label: language.name,
value: language.text,
index: index,
percent: language.percent,
// @ts-ignore
progressBarColor: titleColor,
Expand Down Expand Up @@ -321,7 +323,29 @@ const renderWakatimeCard = (stats = {}, options = { hide: [] }) => {
card.setCSS(
`
${cssStyles}
@keyframes slideInAnimation {
from {
width: 0;
}
to {
width: calc(100%-100px);
}
}
@keyframes growWidthAnimation {
from {
width: 0;
}
to {
width: 100%;
}
}
.lang-name { font: 400 11px 'Segoe UI', Ubuntu, Sans-Serif; fill: ${textColor} }
#rect-mask rect{
animation: slideInAnimation 1s ease-in-out forwards;
}
.lang-progress{
animation: growWidthAnimation 0.6s ease-in-out forwards;
}
`,
);

Expand Down
12 changes: 10 additions & 2 deletions src/common/languageColors.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
"Ceylon": "#dfa535",
"Chapel": "#8dc63f",
"ChucK": "#3f8000",
"Circom": "#707575",
"Cirru": "#ccccff",
"Clarion": "#db901e",
"Clarity": "#5546ff",
Expand Down Expand Up @@ -116,6 +117,7 @@
"DirectX 3D File": "#aace60",
"Dockerfile": "#384d54",
"Dogescript": "#cca760",
"Dotenv": "#e5d559",
"Dylan": "#6c616e",
"E": "#ccce35",
"ECL": "#8a1267",
Expand Down Expand Up @@ -149,7 +151,7 @@
"Forth": "#341708",
"Fortran": "#4d41b1",
"Fortran Free Form": "#4d41b1",
"FreeBasic": "#867db1",
"FreeBasic": "#141AC9",
"FreeMarker": "#0050b2",
"Frege": "#00cafe",
"Futhark": "#5f021f",
Expand Down Expand Up @@ -182,6 +184,7 @@
"Go": "#00ADD8",
"Go Checksums": "#00ADD8",
"Go Module": "#00ADD8",
"Godot Resource": "#355570",
"Golo": "#88562A",
"Gosu": "#82937f",
"Grace": "#615f8b",
Expand All @@ -192,6 +195,7 @@
"Groovy": "#4298b8",
"Groovy Server Pages": "#4298b8",
"HAProxy": "#106da9",
"HCL": "#844FBA",
"HLSL": "#aace60",
"HOCON": "#9ff8ee",
"HTML": "#e34c26",
Expand Down Expand Up @@ -225,6 +229,7 @@
"Isabelle ROOT": "#FEFE00",
"J": "#9EEDFF",
"JAR Manifest": "#b07219",
"JCL": "#d90e09",
"JFlex": "#DBCA00",
"JSON": "#292929",
"JSON with Comments": "#292929",
Expand All @@ -247,9 +252,11 @@
"Jsonnet": "#0064bd",
"Julia": "#a270ba",
"Jupyter Notebook": "#DA5B0B",
"Just": "#384d54",
"KRL": "#28430A",
"Kaitai Struct": "#773b37",
"KakouneScript": "#6f8042",
"KerboScript": "#41adf0",
"KiCad Layout": "#2f4aab",
"KiCad Legacy Layout": "#2f4aab",
"KiCad Schematic": "#2f4aab",
Expand Down Expand Up @@ -362,6 +369,7 @@
"PicoLisp": "#6067af",
"PigLatin": "#fcd7de",
"Pike": "#005390",
"PlantUML": "#fbbd16",
"PogoScript": "#d80074",
"Polar": "#ae81ff",
"Portugol": "#f8bd00",
Expand All @@ -379,6 +387,7 @@
"Puppet": "#302B6D",
"PureBasic": "#5a6986",
"PureScript": "#1D222D",
"Pyret": "#ee1e10",
"Python": "#3572A5",
"Python console": "#3572A5",
"Python traceback": "#3572A5",
Expand Down Expand Up @@ -531,7 +540,6 @@
"fish": "#4aae47",
"hoon": "#00b171",
"jq": "#c7254e",
"just": "#384d54",
"kvlang": "#1da6e0",
"mIRC Script": "#3d57c3",
"mcfunction": "#E22837",
Expand Down
44 changes: 44 additions & 0 deletions tests/__snapshots__/renderWakatimeCard.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,29 @@ exports[`Test Render Wakatime Card should render correctly with compact layout 1
}


@keyframes slideInAnimation {
from {
width: 0;
}
to {
width: calc(100%-100px);
}
}
@keyframes growWidthAnimation {
from {
width: 0;
}
to {
width: 100%;
}
}
.lang-name { font: 400 11px 'Segoe UI', Ubuntu, Sans-Serif; fill: #434d58 }
#rect-mask rect{
animation: slideInAnimation 1s ease-in-out forwards;
}
.lang-progress{
animation: growWidthAnimation 0.6s ease-in-out forwards;
}



Expand Down Expand Up @@ -227,7 +249,29 @@ exports[`Test Render Wakatime Card should render correctly with compact layout w
}


@keyframes slideInAnimation {
from {
width: 0;
}
to {
width: calc(100%-100px);
}
}
@keyframes growWidthAnimation {
from {
width: 0;
}
to {
width: 100%;
}
}
.lang-name { font: 400 11px 'Segoe UI', Ubuntu, Sans-Serif; fill: #434d58 }
#rect-mask rect{
animation: slideInAnimation 1s ease-in-out forwards;
}
.lang-progress{
animation: growWidthAnimation 0.6s ease-in-out forwards;
}



Expand Down
6 changes: 3 additions & 3 deletions tests/e2e/e2e.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ const REPO = "curly-fiesta";
const USER = "catelinemnemosyne";
const STATS_DATA = {
name: "Cateline Mnemosyne",
totalPRs: 1,
totalCommits: 7,
totalPRs: 2,
totalCommits: 8,
totalIssues: 1,
totalStars: 1,
contributedTo: 1,
rank: {
level: "A+",
score: 50.893750297869225,
score: 50.88831151384285,
},
};

Expand Down
6 changes: 3 additions & 3 deletions tests/renderTopLanguages.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,23 +216,23 @@ describe("Test renderTopLanguages", () => {
);
expect(queryAllByTestId(document.body, "lang-progress")[0]).toHaveAttribute(
"width",
"120",
"100",
);

expect(queryAllByTestId(document.body, "lang-name")[1]).toHaveTextContent(
"javascript 40.00%",
);
expect(queryAllByTestId(document.body, "lang-progress")[1]).toHaveAttribute(
"width",
"120",
"100",
);

expect(queryAllByTestId(document.body, "lang-name")[2]).toHaveTextContent(
"css 20.00%",
);
expect(queryAllByTestId(document.body, "lang-progress")[2]).toHaveAttribute(
"width",
"60",
"50",
);
});

Expand Down
Loading