codigo0/mostrar-estructura.sh
planetazuzu a313cfe066 fix: Correcciones críticas y mejoras PWA
- Fix: ErrorBoundary movido dentro de BrowserRouter para resolver error de contexto React Router
- Fix: Service Worker actualizado con Promise.allSettled para manejar errores de caché
- Feat: Iconos PWA optimizados (192x192, 512x512, maskable)
- Feat: Scripts de diagnóstico y limpieza de desarrollo
- Feat: Documentación de diagnóstico de errores
- Update: React Router future flags configurados
- Update: Manifest.json con iconos y screenshots configurados
- Clean: Eliminados archivos obsoletos y documentación antigua
- Docs: Actualizado RESUMEN_MANUAL_TES.md y CHECKLIST_PWA_COMPLETA.md
2025-12-23 11:42:44 +01:00

60 lines
2.8 KiB
Bash
Executable file

#!/bin/bash
# Script para mostrar la estructura del proyecto
echo "═══════════════════════════════════════════════════════════"
echo " ESTRUCTURA DEL PROYECTO: guia-tes"
echo "═══════════════════════════════════════════════════════════"
echo ""
CARPETA="/home/planetazuzu/guia-tes"
cd "$CARPETA"
echo "📁 CARPETAS PRINCIPALES:"
echo "───────────────────────────────────────────────────────────"
for dir in */; do
if [ -d "$dir" ]; then
count=$(find "$dir" -type f 2>/dev/null | wc -l)
size=$(du -sh "$dir" 2>/dev/null | cut -f1)
echo " 📂 $dir ($count archivos, $size)"
fi
done
echo ""
echo "📄 ARCHIVOS PRINCIPALES EN LA RAÍZ:"
echo "───────────────────────────────────────────────────────────"
ls -lh *.json *.ts *.tsx *.sh *.py *.md *.yml *.yaml *.config.* 2>/dev/null | awk '{print " 📄 " $9 " (" $5 ")"}'
echo ""
echo "═══════════════════════════════════════════════════════════"
echo " ESTRUCTURA DETALLADA DE CARPETAS IMPORTANTES"
echo "═══════════════════════════════════════════════════════════"
echo ""
echo "📁 src/ (código fuente):"
if [ -d "src" ]; then
find src -type d -maxdepth 2 | sort | sed 's|^| |'
fi
echo ""
echo "📁 public/ (archivos públicos):"
if [ -d "public" ]; then
find public -type d -maxdepth 2 | sort | sed 's|^| |'
fi
echo ""
echo "📁 assets/ (recursos multimedia):"
if [ -d "assets" ]; then
find assets -type d -maxdepth 2 | sort | sed 's|^| |'
fi
echo ""
echo "═══════════════════════════════════════════════════════════"
echo " RESUMEN"
echo "═══════════════════════════════════════════════════════════"
total_files=$(find . -type f ! -path "./node_modules/*" ! -path "./.git/*" ! -path "./dist/*" 2>/dev/null | wc -l)
total_dirs=$(find . -type d ! -path "./node_modules/*" ! -path "./.git/*" ! -path "./dist/*" 2>/dev/null | wc -l)
echo " Total archivos: $total_files"
echo " Total carpetas: $total_dirs"
echo ""