From 15c57239f42a8e48778ee52a2b7c00d0cdf0acd1 Mon Sep 17 00:00:00 2001 From: Vagarth Date: Mon, 21 Jul 2025 07:01:31 +0530 Subject: refactor: replace GitHub icon with FontAwesome version in footer --- apps/web/src/components/footer.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/web/src/components/footer.tsx b/apps/web/src/components/footer.tsx index 5b7f2303..a7aa724f 100644 --- a/apps/web/src/components/footer.tsx +++ b/apps/web/src/components/footer.tsx @@ -3,7 +3,8 @@ import { motion } from "motion/react"; import Link from "next/link"; import { useEffect, useState } from "react"; -import { RiDiscordFill, RiGithubLine, RiTwitterXLine } from "react-icons/ri"; +import { RiDiscordFill, RiTwitterXLine } from "react-icons/ri"; +import { FaGithub } from "react-icons/fa6"; import { getStars } from "@/lib/fetch-github-stars"; import Image from "next/image"; @@ -49,7 +50,7 @@ export function Footer() { target="_blank" rel="noopener noreferrer" > - + Date: Mon, 21 Jul 2025 19:33:06 +0700 Subject: config: Turborepo and Biome configuration --- apps/web/package.json | 5 ++-- biome.json | 70 ++++++++++++++++++++++++++++----------------------- package.json | 1 + turbo.json | 9 +++++++ 4 files changed, 51 insertions(+), 34 deletions(-) (limited to 'apps') diff --git a/apps/web/package.json b/apps/web/package.json index f7b09de8..f4d975cd 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -7,7 +7,9 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint", + "lint": "biome check src/", + "lint:fix": "biome check src/ --write", + "format": "biome format src/ --write", "db:generate": "drizzle-kit generate", "db:migrate": "drizzle-kit migrate", "db:push:local": "cross-env NODE_ENV=development drizzle-kit push", @@ -67,7 +69,6 @@ "cross-env": "^7.0.3", "drizzle-kit": "^0.31.4", "postcss": "^8", - "prettier": "^3.4.2", "tailwindcss": "^3.4.1", "tsx": "^4.7.1", "typescript": "^5.8.3" diff --git a/biome.json b/biome.json index 7175ec21..f9a66754 100644 --- a/biome.json +++ b/biome.json @@ -1,34 +1,40 @@ { - "$schema": "https://biomejs.dev/schemas/2.0.4/schema.json", - "vcs": { - "enabled": false, - "clientKind": "git", - "useIgnoreFile": false - }, - "files": { - "ignoreUnknown": false - }, - "formatter": { - "enabled": true, - "indentStyle": "tab" - }, - "linter": { - "enabled": true, - "rules": { - "recommended": true - } - }, - "javascript": { - "formatter": { - "quoteStyle": "double" - } - }, - "assist": { - "enabled": true, - "actions": { - "source": { - "organizeImports": "on" - } - } - } + "$schema": "https://biomejs.dev/schemas/2.1.2/schema.json", + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true + }, + "files": { + "ignoreUnknown": false, + "includes": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.json"], + "experimentalScannerIgnores": [ + "**/node_modules/**", + "**/.next/**", + "**/turbo/**" + ] + }, + "formatter": { + "enabled": true, + "indentStyle": "tab" + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + }, + "javascript": { + "formatter": { + "quoteStyle": "double" + } + }, + "assist": { + "enabled": true, + "actions": { + "source": { + "organizeImports": "on" + } + } + } } diff --git a/package.json b/package.json index 459621f7..bd34a1c1 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "build": "turbo run build", "check-types": "turbo run check-types", "lint": "turbo run lint", + "lint:fix": "turbo run lint:fix", "format": "turbo run format" }, "dependencies": { diff --git a/turbo.json b/turbo.json index 0ed5be6b..558f3d51 100644 --- a/turbo.json +++ b/turbo.json @@ -17,6 +17,15 @@ "dev": { "persistent": true, "cache": false + }, + "lint": { + "dependsOn": ["^lint"] + }, + "lint:fix": { + "dependsOn": ["^lint:fix"] + }, + "format": { + "dependsOn": ["^format"] } } } -- cgit v1.3.1