File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default function HomeData({ isVisible }: HomeDataType) {
1919 . filter ( ( c ) => ! isNaN ( c ) )
2020 . sort ( ( a , b ) => b - a ) ;
2121
22- const [ year , setYear ] = useState < number | null > ( years [ 0 ] ) ;
22+ const [ year , setYear ] = useState < number | null > ( 0 ) ;
2323
2424 const yearCommits = commits [ year || 'all' ] as YearCommitType ;
2525 const firstCommitDate = convertDate ( yearCommits ?. first ) ;
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ import prettier from 'prettier';
44import commitsAll from './data/commits-all.js' ;
55
66const yearStart = 2016 ;
7- const yearEnd = 2025 ;
7+ const yearEnd = 2026 ;
88const update = true ;
99const GITHUB_USERNAME = 'beumsk' ;
1010const OUTPUT_FILE = yearStart === yearEnd ? `data/c${ year } .js` : `data/commits-all.js` ;
11- // https://github.com/settings/tokens with repo access !!
11+ // https://github.com/settings/tokens (classic) with repo access !!
1212const TOKEN = '' ; // PUSH EMPTY!!
1313
1414const header = TOKEN
You can’t perform that action at this time.
0 commit comments