Commit Graph

564 Commits

Author SHA1 Message Date
rickstaa
dbf6560781
build: update package-lock file 2022-09-24 14:17:32 +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
Rick Staa
c7d4c29757
ci: switch to npm ci in github actions (#2046) 2022-09-24 10:37:24 +02:00
rickstaa
0de23d3762
fix: fix generate-theme-doc bug 2022-09-24 10:33:19 +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
Rick Staa
40735124ed
ci: change theme-preview action run condition (#1903)
This commit makes sure that the theme-preview action only runs when a
theme was added or changed.
2022-09-17 13:42:16 +02:00
Rick Staa
f9b9015ec2
feat(stats): add 'not_bold' option to stats card (#1468) 2022-09-17 13:32:40 +02:00
rickstaa
eacc3cd29c
fix: add missing StatsCard types 2022-09-17 11:28:50 +02:00
Rick Staa
c1324b31bf
feat: add 'exclude_repo' option to stats card (#1450)
This commit allows users to exclude repositories for the stats card
using the `exclude_repo` option.
2022-09-16 13:09:19 +02:00
rickstaa
dc8852dd6b
refactor: change formatting command 2022-09-16 12:55:35 +02:00
Artem Kostiuk
b0bb994ad3
Fix #1170: Allow customizable width for GitHub Stats Card (#1334)
* 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>
2022-09-16 12:50:30 +02:00
Rick Staa
192170c111
ci: add empty issues closer action (#2004)
Co-authored-by: Prashubh Atri <prashubh27@gmail.com>

Co-authored-by: Prashubh Atri <prashubh27@gmail.com>
2022-09-06 10:00:21 +02:00
Steven
4c2307ab4b
Add prettier check to CI (#1999)
* Add prettier check to CI

* Run prettier:format
2022-09-06 09:09:45 +02:00
John Sweeney
d5c94b6f57
Remove unneeded underscore from Readme (#2003) 2022-09-06 08:50:39 +02:00
Adil Hanney
a481021dab
Fix NaN and undefined for empty profiles (#1965)
* 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?
2022-08-26 22:28:48 +02:00
Rick Staa
579cb7d175 Merge branch 'master' of https://github.com/anuraghazra/github-readme-stats 2022-08-25 20:06:50 +02:00
Rick Staa
84610521a2 ci: add top-issues-action argument 2022-08-25 20:06:45 +02:00
Rick Staa
c2c07ea022
ci: fix top-issues-action syntax (#1978) 2022-08-25 19:45:11 +02:00
Rick Staa
e9c55d90ad ci: fix title of top-issues action 2022-08-18 11:32:57 +02:00
Rick Staa
663fbae49a ci: add top-issues-dashboard action
This commit adds the top issues dashboard action which creates a issue displaying the top issues of the week.
2022-08-18 11:31:45 +02:00
Qi Mo Lin
dd5a41d696
feat: add min width languages card (#1953)
* 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>
2022-08-18 10:32:03 +02:00
Qi Mo Lin
8d5f2da3f3
test: fix gradient test by using more specific querySelector (#1954) 2022-08-17 23:22:52 +02:00
akmhmgc
4b6f4650b2
refactor: improve level calculator (#1946) 2022-08-13 20:24:44 +02:00
Daniel
e5222902c3
refactor: update license year (#1735)
* 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>
2022-08-13 10:26:05 +02:00
Kisaragi
b6d75b2e65
refactor: remove arrow function body braces (#1917) 2022-08-02 12:26:07 +02:00
Cong
7ceec92455
refactor: fix typo in comment (#1912) 2022-08-01 10:13:59 +02:00
Rick Staa
e547eaf563
refactor: improve issues template
Move part of the FAQ notice to the bottom so that it doesn't clutter the issues window.
2022-07-31 12:16:46 +02:00
Rick Staa
689e1f4052
refactor: fix bug in issues template 2022-07-31 12:11:18 +02:00
Rick Staa
74fc4a3cc3
refactor: improve issues template
Move FAQ notice to the top of the issues template to increase the change of users reading it.
2022-07-31 12:10:10 +02:00
Rick Staa
86f0ea0715
build: pin node version to >=13 (#1900) (#1901)
This commit pins the node version to >=13 since node 12 is now end of
life (see https://vercel.com/changelog/node-js-12-is-being-deprecated).
2022-07-29 10:42:47 +02:00
tmt
678fa11416
docs: note for temporary cache inc (#1890) 2022-07-27 07:48:20 +02:00
tmt
cffb0843b1
docs: incorrect cache documentation (#1889) 2022-07-27 07:47:55 +02:00
Fidel Alejandro Fernández Arias
fd80b67e08
Fixed misspelling (#1885) 2022-07-26 09:04:24 +02:00
Preffet
3430a2944f
Fixed a small grammatical mistake / typo (#1874)
does not passes -> does not pass
2022-07-19 21:03:58 +02:00
Rick Staa
a68abbb9b3
Revert "fix: prevent npm dependency error (#1849)" (#1850)
This reverts commit 8d95796890.
2022-07-06 15:16:10 +02:00
Rick Staa
8d95796890
fix: prevent npm dependency error (#1849)
This commit fixes an npm dependency error that caused the test action to
fail.
2022-07-06 15:08:20 +02:00
PyBaker
33874275b2
docs: update readme.md (#1836) 2022-07-06 13:00:20 +02:00
Salmo
1975116b4b
docs: correct word on readme pt-br (#1840) 2022-07-06 12:42:42 +02:00
Rick Staa
bdaaba2021
docs: add wakatime public profile note (#1794)
Add a small note to make users aware that the wakatime card currently only works with public profiles.
2022-06-23 11:43:02 +02:00
Anurag Hazra
4e2f631f95
feat: added accessibility label and title in svg (#1787) 2022-05-26 21:59:51 +05:30
Mr. Green's Workshop
f5c91ccc9c
fix; japanese translation fix (#1783)
The Japanese translation was too long to so text was overlap the numbers. This commit fixes that.
2022-05-23 08:06:30 +02:00
Rick Staa
758ed96dce
docs: add discussion button to readme (#1776)
This commit adds a link to the discussion page to make sure people ask questions there instead of opening issues.
2022-05-19 12:40:35 +02:00
Rick Staa
d15410a3b4
Update bug_report.md (#1775)
Fixes some small syntax errors.
2022-05-19 12:40:12 +02:00
Rick Staa
2937d28db2
Update bug_report.md (#1773) 2022-05-19 12:13:41 +02:00
Anurag Hazra
9d2bfd9d8f
fix: temporarily increase the cache hours (#1771) 2022-05-19 00:48:26 +05:30
Nico Ismaili
9734a998cc
docs: linked "hide" URL param values to its description (#1766) 2022-05-18 16:36:22 +02:00
BubbaJJ
1294ab2d0b
added swedish translations (#1747) 2022-05-16 10:07:56 +02:00
Sukka
2fb452c119
chore: replace git.io links (#1724)
* chore: replace `git.io` links

* Update src/common/utils.js

Co-authored-by: Rick Staa <rick.staa@outlook.com>

Co-authored-by: Rick Staa <rick.staa@outlook.com>
2022-05-16 10:04:41 +02:00
Vivek_Neel
0264bc57c1
docs(contributing): update contributing docs to mention maxDuration to 10 (#1734)
* Update docs to mention maxDuration to 10

I forked the project and tried running it, but got an error saying 

The value for maxDuration must be between 1 second and 10 seconds, in order to increase this limit upgrade your plan: https://vercel.com/pricing

- We have to set the maxDuration to 10 for free plans in vercel.json

* docs(contributing.md): improve syntax

Co-authored-by: rickstaa <rick.staa@outlook.com>
2022-05-08 11:31:24 +02:00