responsive-system 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "responsive-system",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Sistema de layout responsivo con auto-scaling para Tailwind CSS",
5
5
  "type": "module",
6
6
  "main": "./dist/responsive-system.cjs",
@@ -480,50 +480,11 @@ if (needsUpdate) {
480
480
  console.log('✅ responsive-system: Todas las dependencias ya están en package.json')
481
481
  }
482
482
 
483
- // Si el proyecto está vacío, crear README básico PRIMERO
483
+ // Si el proyecto está vacío, crear estructura base
484
484
  if (isProjectEmpty) {
485
- // Crear README básico INMEDIATAMENTE para que el usuario sepa qué hacer
486
- const readmePath = path.join(projectRoot, 'README.md')
487
- if (!fs.existsSync(readmePath)) {
488
- const basicReadme = `# Tu Aplicación
489
-
490
- ## 🚀 Configuración Inicial
491
-
492
- Acabas de instalar **responsive-system**. Para completar la configuración, ejecuta:
493
-
494
- \`\`\`bash
495
- npx responsive-system-setup
496
- \`\`\`
497
-
498
- Este comando:
499
- - ✅ Instalará React, TypeScript, Tailwind y Vite automáticamente
500
- - ✅ Te permitirá seleccionar el layout que prefieras
501
- - ✅ Creará la estructura base del proyecto
502
- - ✅ Generará componentes genéricos y página de ejemplo
503
-
504
- ## 📦 ¿Qué es responsive-system?
505
-
506
- Sistema completo de layout responsive con auto-scaling para React + Tailwind CSS.
507
-
508
- - Auto-scaling automático (texto, espaciado, sombras)
509
- - Layouts pre-configurados (default, sidebar, dashboard, minimal)
510
- - Hook \`useResponsive\` para configuración manual
511
- - Sin media queries necesarias
512
-
513
- ---
514
-
515
- **Siguiente paso:** Ejecuta \`npx responsive-system-setup\` para comenzar 🚀
516
- `
517
- fs.writeFileSync(readmePath, basicReadme)
518
- console.log(' ✅ README.md básico creado con instrucciones')
519
- }
520
-
521
485
  console.log('')
522
486
  console.log('📦 responsive-system: Proyecto vacío detectado, creando estructura base...')
523
487
  console.log('')
524
- console.log('💡 IMPORTANTE: Si este es tu primer uso, este script configurará todo automáticamente.')
525
- console.log(' Si ya tienes el proyecto configurado, puedes cancelar (Ctrl+C)')
526
- console.log('')
527
488
 
528
489
  // Preguntar qué layout quiere
529
490
  const selectedLayout = await askLayout()