mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 00:01:10 +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>
23 lines
No EOL
886 B
Bash
Executable file
23 lines
No EOL
886 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Fix field names to match PocketBase schema
|
|
|
|
echo "Fixing field names in source files..."
|
|
|
|
# Fix user -> user_id in filters and create statements
|
|
find src -type f \( -name "*.ts" -o -name "*.svelte" \) -exec sed -i '' \
|
|
-e 's/filter: `user="/filter: `user_id="/g' \
|
|
-e 's/filter: `link="/filter: `link_id="/g' \
|
|
-e 's/filter: `folder="/filter: `folder_id="/g' \
|
|
-e 's/\&\& user="/\&\& user_id="/g' \
|
|
-e 's/\&\& link="/\&\& link_id="/g' \
|
|
-e 's/\&\& folder="/\&\& folder_id="/g' {} \;
|
|
|
|
# Fix field names in create/update operations
|
|
find src -type f \( -name "*.ts" -o -name "*.svelte" \) -exec sed -i '' \
|
|
-e 's/^\([[:space:]]*\)user: /\1user_id: /g' \
|
|
-e 's/^\([[:space:]]*\)link: /\1link_id: /g' \
|
|
-e 's/^\([[:space:]]*\)folder: /\1folder_id: /g' {} \;
|
|
|
|
echo "Done! Field names have been updated."
|
|
echo "Please restart your dev server to apply changes." |