mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 01:01:09 +02:00
Move inactive projects out of active workspace: - bauntown (community website) - maerchenzauber (AI story generation) - memoro (voice memo app) - news (news aggregation) - nutriphi (nutrition tracking) - reader (reading app) - uload (URL shortener) - wisekeep (AI wisdom extraction) Update CLAUDE.md documentation: - Add presi to active projects - Document archived projects section - Update workspace configuration Archived apps can be re-activated by moving back to apps/ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
No EOL
1.1 KiB
Bash
Executable file
25 lines
No EOL
1.1 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
# Fix all problematic card imports
|
|
FILES=$(find src -name "*.svelte" -type f -exec grep -l "from '\$lib/components/cards/\(BaseCard\|ThemeProvider\|SafeHTMLCard\|CardListV2\|Card\)\.svelte'" {} \; 2>/dev/null)
|
|
|
|
for file in $FILES; do
|
|
echo "Fixing imports in: $file"
|
|
|
|
# Replace imports
|
|
sed -i '' "s|import.*from '\$lib/components/cards/Card\.svelte'.*|import CardRenderer from '\$lib/components/cards/CardRenderer.svelte';|g" "$file"
|
|
sed -i '' "s|import.*from '\$lib/components/cards/BaseCard\.svelte'.*||g" "$file"
|
|
sed -i '' "s|import.*from '\$lib/components/cards/ThemeProvider\.svelte'.*||g" "$file"
|
|
sed -i '' "s|import.*from '\$lib/components/cards/SafeHTMLCard\.svelte'.*||g" "$file"
|
|
sed -i '' "s|import.*from '\$lib/components/cards/CardListV2\.svelte'.*||g" "$file"
|
|
|
|
# Replace component usage (common patterns)
|
|
sed -i '' "s|<Card |<CardRenderer |g" "$file"
|
|
sed -i '' "s|<BaseCard |<CardRenderer |g" "$file"
|
|
sed -i '' "s|<SafeHTMLCard |<CardRenderer |g" "$file"
|
|
|
|
# Fix type imports
|
|
sed -i '' "s|UnifiedCard|Card|g" "$file"
|
|
done
|
|
|
|
echo "Import fixes completed!" |