File tree Expand file tree Collapse file tree
configs/githubContributions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ crowdin_projects=(
1212 614257
1313)
1414
15+ github_accounts=(
16+ " ReenigneArcher"
17+ )
18+
1519output_dir=" $( pwd) /dist"
1620
1721echo " Building sponsors..."
@@ -31,6 +35,15 @@ for repo in "${repos[@]}"; do
3135done
3236popd || exit 1
3337
38+ echo " Building GitHub contributions..."
39+ pushd configs/githubContributions || exit 1
40+ for account in " ${github_accounts[@]} " ; do
41+ echo " Building GitHub contributions for account ${account} ..."
42+ export CONTRIBKIT_GITHUB_CONTRIBUTIONS_LOGIN=" ${account} "
43+ npx contribkit --outputDir=" ${output_dir} " --name=" githubContributions.${account} " --force
44+ done
45+ popd || exit 1
46+
3447echo " Building CrowdIn contributors..."
3548pushd configs/crowdin || exit 1
3649for project in " ${crowdin_projects[@]} " ; do
Original file line number Diff line number Diff line change 1+ import { defineConfig , tierPresets } from '@lizardbyte/contribkit'
2+
3+ export default defineConfig ( {
4+ githubContributions : {
5+ login : process . env . CONTRIBKIT_GITHUB_CONTRIBUTIONS_LOGIN ,
6+ token : process . env . CONTRIBKIT_GITHUB_CONTRIBUTIONS_TOKEN ,
7+ logarithmicScaling : false ,
8+ maxContributions : 100 ,
9+ } ,
10+ renderer : 'circles' ,
11+ width : 1000 ,
12+ circles : {
13+ radiusMax : 100 ,
14+ radiusMin : 1 ,
15+ radiusPast : 1 ,
16+ } ,
17+ tiers : [
18+ {
19+ title : 'Repo' ,
20+ preset : tierPresets . base ,
21+ } ,
22+ ] ,
23+ } )
You can’t perform that action at this time.
0 commit comments