{/* Display the formatted date */} diff --git a/components/repositories/ReposCard.tsx b/components/repositories/ReposCard.tsx index b1a09db..c827f72 100644 --- a/components/repositories/ReposCard.tsx +++ b/components/repositories/ReposCard.tsx @@ -1,21 +1,19 @@ -import { BsFillStarFill } from "react-icons/bs"; -import { FaCodeFork } from "react-icons/fa6"; import { formatNumber } from "@/lib/utils"; import { Box, - Button, Card, - DropdownMenu, Heading, Link, Text, - Tooltip, + Tooltip } from "@radix-ui/themes"; +import { BsFillStarFill } from "react-icons/bs"; +import { FaCodeFork } from "react-icons/fa6"; +import { GoLaw } from "react-icons/go"; +import { TfiWorld } from "react-icons/tfi"; import Readme from "../Readme"; import { languageIcons } from "../icons/LanguageIcons"; -import { GoLaw } from "react-icons/go"; import StarHistory from "../stats/Charts/StarHistory"; -import { TfiWorld } from "react-icons/tfi"; interface ReposCardProps { repo: GitHubRepo; diff --git a/components/repositories/Repositories.tsx b/components/repositories/Repositories.tsx index b318aa4..aea6d47 100644 --- a/components/repositories/Repositories.tsx +++ b/components/repositories/Repositories.tsx @@ -1,13 +1,13 @@ "use client"; -import { useContext, useMemo } from "react"; import { GithubContext } from "@/app/context/GithubContext"; -import { Box } from "@radix-ui/themes"; -import FilterBar from "./FilterBar"; -import ReposCard from "./ReposCard"; -import { VList } from "virtua"; import Loading from "@/app/loading"; import { useRepositoryFilters } from "@/hooks/useRepositoryFilters"; import { extractUniqueValues } from "@/lib/utils"; +import { Box } from "@radix-ui/themes"; +import { useContext, useMemo } from "react"; +import { VList } from "virtua"; +import FilterBar from "./FilterBar"; +import ReposCard from "./ReposCard"; export default function Repositories() { const { repos, loading } = useContext(GithubContext); diff --git a/components/repositories/Repository.tsx b/components/repositories/Repository.tsx index 9af8375..f616476 100644 --- a/components/repositories/Repository.tsx +++ b/components/repositories/Repository.tsx @@ -1,21 +1,19 @@ -import { BsFillStarFill } from "react-icons/bs"; -import { FaCodeFork } from "react-icons/fa6"; import { formatNumber } from "@/lib/utils"; import { Box, - Button, Card, - DropdownMenu, Heading, Link, Text, - Tooltip, + Tooltip } from "@radix-ui/themes"; +import { BsFillStarFill } from "react-icons/bs"; +import { FaCodeFork } from "react-icons/fa6"; +import { GoLaw } from "react-icons/go"; +import { TfiWorld } from "react-icons/tfi"; import Readme from "../Readme"; import { languageIcons } from "../icons/LanguageIcons"; -import { GoLaw } from "react-icons/go"; import StarHistory from "../stats/Charts/StarHistory"; -import { TfiWorld } from "react-icons/tfi"; export default function Repository({ repo }: { repo: GitHubRepo }) { return ( diff --git a/package.json b/package.json index 041b5f5..6282b3a 100644 --- a/package.json +++ b/package.json @@ -9,66 +9,66 @@ "lint": "next lint" }, "dependencies": { - "@clerk/nextjs": "^5.1.0", - "@clerk/themes": "1.7.15", - "@emotion/react": "^11.11.4", - "@emotion/styled": "11.11.5", - "@hookform/resolvers": "3.4.2", - "@mui/material": "5.15.18", - "@mui/x-charts": "6.19.8", - "@mui/x-data-grid": "6.19.11", - "@next/third-parties": "14.2.3", - "@octokit/types": "^12.6.0", - "@radix-ui/react-accordion": "^1.1.2", - "@radix-ui/react-select": "^2.0.0", - "@radix-ui/themes": "^2.0.3", - "@tanstack/react-table": "8.17.3", - "@uiw/react-json-view": "2.0.0-alpha.24", - "@uiw/react-markdown-preview": "5.1.1", - "@vercel/analytics": "^1.2.2", - "@vercel/speed-insights": "^1.0.10", + "@clerk/nextjs": "^5.2.12", + "@clerk/themes": "2.1.16", + "@emotion/react": "^11.13.0", + "@emotion/styled": "11.13.0", + "@hookform/resolvers": "3.9.0", + "@mui/material": "5.16.6", + "@mui/x-charts": "7.12.0", + "@mui/x-data-grid": "7.12.0", + "@next/third-parties": "14.2.5", + "@octokit/types": "^13.5.0", + "@radix-ui/react-accordion": "^1.2.0", + "@radix-ui/react-select": "^2.1.1", + "@radix-ui/themes": "^3.1.1", + "@tanstack/react-table": "8.19.3", + "@uiw/react-json-view": "2.0.0-alpha.25", + "@uiw/react-markdown-preview": "5.1.2", + "@vercel/analytics": "^1.3.1", + "@vercel/speed-insights": "^1.0.12", "class-variance-authority": "^0.7.0", "clsx": "2.1.1", - "cmdk": "^0.2.1", + "cmdk": "^1.0.0", "date-fns": "3.6.0", "gray-matter": "^4.0.3", "install": "^0.13.0", "lodash": "^4.17.21", - "lucide-react": "^0.344.0", - "next": "^14.2.3", - "next-themes": "^0.2.1", + "lucide-react": "^0.424.0", + "next": "^14.2.5", + "next-themes": "^0.3.0", "nextjs-google-adsense": "^1.0.0", - "npm": "10.8.0", - "octokit": "3.2.1", + "npm": "10.8.2", + "octokit": "4.0.2", "react": "18.3.1", - "react-day-picker": "8.10.1", + "react-day-picker": "9.0.6", "react-dom": "18.3.1", - "react-hook-form": "7.51.5", + "react-hook-form": "7.52.1", "react-icons": "5.2.1", "react-json-view-lite": "1.4.0", "react-markdown": "^9.0.1", "remark": "^15.0.1", "remark-html": "^16.0.1", - "sonner": "1.4.41", - "tailwind-merge": "2.3.0", + "sonner": "1.5.0", + "tailwind-merge": "2.4.0", "tailwindcss-animate": "^1.0.7", "vaul": "0.9.1", - "virtua": "^0.28.0", + "virtua": "^0.33.4", "zod": "3.23.8" }, "devDependencies": { - "@types/lodash": "4.17.4", - "@types/node": "20.12.12", - "@types/react": "18.3.2", + "@types/lodash": "4.17.7", + "@types/node": "22.1.0", + "@types/react": "18.3.3", "@types/react-dom": "18.3.0", "@types/react-window": "^1.8.8", - "autoprefixer": "10.4.19", - "eslint": "^8.57.0", - "eslint-config-next": "14.1.1", - "postcss": "8.4.38", - "prettier": "^3.2.5", - "prettier-plugin-tailwindcss": "0.5.14", - "tailwindcss": "3.4.3", - "typescript": "5.4.5" + "autoprefixer": "10.4.20", + "eslint": "^9.8.0", + "eslint-config-next": "14.2.5", + "postcss": "8.4.40", + "prettier": "^3.3.3", + "prettier-plugin-tailwindcss": "0.6.5", + "tailwindcss": "3.4.7", + "typescript": "5.5.4" } } \ No newline at end of file