refactor: 코드베이스 정리 - Appwrite/Lovable 완전 제거

주요 변경사항:
• Appwrite SDK 및 관련 의존성 완전 제거
• Lovable 관련 도구 및 설정 제거
• 기존 Appwrite 기반 컴포넌트 및 훅 삭제
• Login/Register 페이지를 Clerk 기반으로 완전 전환

제거된 구성요소:
• src/lib/appwrite/ - 전체 디렉토리
• src/contexts/auth/ - 기존 인증 컨텍스트
• 구형 auth 컴포넌트들 (RegisterForm, LoginForm 등)
• useAuthQueries, useTransactionQueries 훅
• Appwrite 기반 테스트 파일들

설정 변경:
• package.json - appwrite, lovable-tagger 의존성 제거
• .env 파일 - Appwrite 환경변수 제거
• vercel.json - Supabase/Clerk 환경변수로 교체
• vite.config.ts - 청크 분할 설정 업데이트

성능 개선:
• 번들 크기 최적화 (Appwrite → Clerk + Supabase)
• 불필요한 코드 및 타입 정의 제거
• 테스트 설정을 Clerk/Supabase 모킹으로 업데이트

Task 11.4 완료: 기존 Appwrite 코드 완전 제거

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
hansoo
2025-07-13 14:13:28 +09:00
parent c231d5be65
commit 0a8b028a4c
72 changed files with 115 additions and 6808 deletions

View File

@@ -1,7 +1,6 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import path from "path";
import { componentTagger } from "lovable-tagger";
import { visualizer } from "rollup-plugin-visualizer";
// https://vitejs.dev/config/
@@ -18,7 +17,6 @@ export default defineConfig(({ mode }) => ({
},
plugins: [
react(),
mode === "development" && componentTagger(),
visualizer({
filename: "dist/stats.html",
open: false,
@@ -59,7 +57,8 @@ export default defineConfig(({ mode }) => ({
],
charts: ["recharts"],
query: ["@tanstack/react-query", "@tanstack/react-query-devtools"],
appwrite: ["appwrite"],
clerk: ["@clerk/clerk-react"],
supabase: ["@supabase/supabase-js"],
sentry: ["@sentry/react", "@sentry/tracing"],
date: ["date-fns"],
utils: ["clsx", "class-variance-authority", "tailwind-merge"],