File size: 357 Bytes
c0a9bce
 
 
 
 
 
 
1
2
3
4
5
6
7
#!/bin/bash

# Update imports in TypeScript files
find app -type f -name "*.ts" -o -name "*.tsx" | xargs sed -i '' 's|~/components/settings/settings.types|~/components/@settings/core/types|g'

# Update imports for specific components
find app -type f -name "*.ts" -o -name "*.tsx" | xargs sed -i '' 's|~/components/settings/|~/components/@settings/tabs/|g'