diff --git a/index.html b/index.html index b6d940d0..28db3f13 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,15 @@ - Github Tracker + Github Tracker - Track and Analyze GitHub User Activity + + + + + + + +
diff --git a/package.json b/package.json index 43ad31cc..2334da5e 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,6 @@ "private": true, "version": "0.0.0", "type": "module", - "scripts": { "dev": "vite --host", "build": "vite build", @@ -14,7 +13,6 @@ "docker:dev": "docker compose --profile dev up --build", "docker:prod": "docker compose --profile prod up -d --build" }, - "dependencies": { "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", @@ -37,45 +35,33 @@ "recharts": "^3.8.1", "tailwindcss": "^3.4.14" }, - "devDependencies": { "@eslint/js": "^9.13.0", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.2", "@testing-library/user-event": "^14.6.1", - "@types/jasmine": "^5.1.8", + "@types/jasmine": "^5.1.15", "@types/node": "^22.10.1", "@types/react": "^18.3.23", "@types/react-dom": "^18.3.7", "@types/react-redux": "^7.1.34", "@types/react-router-dom": "^5.3.3", - "@vitejs/plugin-react-swc": "^3.5.0", - "autoprefixer": "^10.4.20", "bcryptjs": "^3.0.3", - "eslint": "^9.13.0", "eslint-plugin-react": "^7.37.2", "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-react-refresh": "^0.4.14", - "express-session": "^1.18.2", - "globals": "^15.11.0", - "jasmine": "^5.13.0", "jasmine-spec-reporter": "^7.0.0", - "jsdom": "^29.1.1", - "passport": "^0.7.0", "passport-local": "^1.0.0", - "supertest": "^7.2.2", - "typescript-eslint": "^8.59.3", - "vite": "^5.4.10", "vitest": "^4.1.6" } diff --git a/public/_redirects b/public/_redirects index 4e31746d..b1b05574 100644 --- a/public/_redirects +++ b/public/_redirects @@ -1,2 +1,10 @@ +# Don't redirect robots.txt and other static files +/robots.txt /robots.txt 200 +/favicon.ico /favicon.ico 200 +/crl.png /crl.png 200 +/crl-icon.png /crl-icon.png 200 +/vite.svg /vite.svg 200 + +# Catch-all SPA route handler /* /index.html 200 diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 00000000..2f30bf85 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,7 @@ +User-agent: * +Allow: / +Disallow: /api/ +Disallow: /admin/ +Crawl-delay: 1 + ++Sitemap: https://github-spy.netlify.app/sitemap.xml