Migrate from Supabase to Appwrite with core functionality and UI components
This commit is contained in:
15
update-supabase-imports.sh
Executable file
15
update-supabase-imports.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Supabase import 경로를 archive 폴더로 변경하는 스크립트
|
||||
echo "Supabase import 경로를 archive 폴더로 변경합니다..."
|
||||
|
||||
# 프로젝트 루트 디렉토리 설정
|
||||
PROJECT_ROOT="/Users/hansoo./Dev/zellyy-finance"
|
||||
|
||||
# 모든 .ts 및 .tsx 파일에서 Supabase import 경로 변경
|
||||
find "$PROJECT_ROOT/src" -type f \( -name "*.ts" -o -name "*.tsx" \) -not -path "*/archive/*" | xargs grep -l "from '@/lib/supabase'" | while read -r file; do
|
||||
echo "파일 수정 중: $file"
|
||||
sed -i '' "s|from '@/lib/supabase'|from '@/archive/lib/supabase'|g" "$file"
|
||||
done
|
||||
|
||||
echo "완료! Supabase import 경로가 archive 폴더로 변경되었습니다."
|
||||
Reference in New Issue
Block a user