feat: initialize GitHub commits widget with React and TypeScript

- Add package.json with dependencies and scripts for development
- Create main application structure with App component
- Implement GitHubWidget component to display recent commits
- Add GitHubCommitItem component for individual commit display
- Create custom hooks for fetching GitHub and Gitea commits
- Set up Vite for development and build processes
- Include Tailwind CSS for styling
- Add styles for the widget and components
- Configure TypeScript with appropriate settings
- Create utility functions for GitHub API interactions
This commit is contained in:
Kayela Claybon
2026-01-15 15:38:59 -06:00
commit 7725cd75a4
24 changed files with 6468 additions and 0 deletions

23
eslint.config.js Normal file
View File

@@ -0,0 +1,23 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'
import { defineConfig, globalIgnores } from 'eslint/config'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
js.configs.recommended,
tseslint.configs.recommended,
reactHooks.configs.flat.recommended,
reactRefresh.configs.vite,
],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
},
])