CRÍTICO: Eliminación definitiva de vendor-other Cambios: - vite.config.ts: Clasificación exhaustiva de TODAS las dependencias - Añadidas 30+ dependencias adicionales a vendor-react/vendor-utils - Error en producción si se detecta dependencia sin clasificar - Eliminado completamente vendor-other como opción - scripts/verify-build.js: Verificación post-build automática - Verifica que NO existe vendor-other - Verifica chunks esperados - Falla el build si encuentra vendor-other - Dockerfile: Verificación integrada - Build falla automáticamente si se genera vendor-other - Muestra chunks generados para debugging - package.json: build ahora ejecuta verificación automáticamente - manifest.json: Eliminadas referencias a screenshots inexistentes - Resuelve errores 401/404 de manifest.json - docs/SOLUCION_DOCKER_VENDOR_OTHER.md: Documentación completa Resultado: ✅ Build NO genera vendor-other ✅ Docker build falla si se genera vendor-other ✅ Verificación automática post-build ✅ Errores useLayoutEffect resueltos ✅ Manifest.json sin errores
36 lines
1 KiB
Bash
Executable file
36 lines
1 KiB
Bash
Executable file
#!/bin/bash
|
|
# Script para corregir git pull en el servidor
|
|
|
|
SERVER="root@207.180.226.141"
|
|
APP_DIR="/var/www/emerges-tes"
|
|
|
|
echo "╔══════════════════════════════════════════════════════════════╗"
|
|
echo "║ 🔧 CORRIGIENDO GIT PULL EN SERVIDOR ║"
|
|
echo "╚══════════════════════════════════════════════════════════════╝"
|
|
echo ""
|
|
|
|
echo "📤 Configurando git pull en el servidor..."
|
|
ssh "$SERVER" << 'EOF'
|
|
cd /var/www/emerges-tes
|
|
|
|
# Configurar pull para usar merge
|
|
git config pull.rebase false
|
|
|
|
# Verificar estado
|
|
echo ""
|
|
echo "✅ Configuración aplicada:"
|
|
git config pull.rebase
|
|
|
|
# Hacer pull con merge
|
|
echo ""
|
|
echo "📥 Haciendo pull..."
|
|
git pull origin main
|
|
|
|
echo ""
|
|
echo "✅ Git pull completado"
|
|
EOF
|
|
|
|
echo ""
|
|
echo "✅ Configuración completada"
|
|
|