create-react-zr-architecture 1.0.0 → 1.0.2

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.
Files changed (2) hide show
  1. package/bin/cli.js +10 -9
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -71,11 +71,12 @@ async function main() {
71
71
  // ════════════════════════════════════════════════════════════
72
72
  const spinnerVite = ora('Creando proyecto base con Vite...').start();
73
73
 
74
+ // Responder "No" a "Install and start now"
74
75
  const createCommand = pkgManager === 'pnpm'
75
- ? `pnpm create vite@latest ${projectName} -- --template react-ts`
76
+ ? `printf "\\n\\n\\nn\\n" | pnpm create vite@latest ${projectName} --template react-ts`
76
77
  : pkgManager === 'yarn'
77
- ? `yarn create vite ${projectName} --template react-ts`
78
- : `npm create vite@latest ${projectName} -- --template react-ts`;
78
+ ? `printf "\\n\\n\\nn\\n" | yarn create vite ${projectName} --template react-ts`
79
+ : `printf "\\n\\n\\nn\\n" | npm create vite@latest ${projectName} -- --template react-ts`;
79
80
 
80
81
  const viteSuccess = runCommand(createCommand);
81
82
 
@@ -183,16 +184,16 @@ async function main() {
183
184
  console.log(' ✅ Tailwind CSS + shadcn/ui');
184
185
  console.log(' ✅ Axios + Socket.io\n');
185
186
 
186
- console.log(chalk.cyan('🎯 Próximos pasos:\n'));
187
+ console.log(chalk.cyan('\n🎯 Próximos pasos:\n'));
187
188
  console.log(chalk.white(` cd ${projectName}`));
188
189
  const devCommand = pkgManager === 'npm' ? 'npm run dev' : `${pkgManager} dev`;
189
- console.log(chalk.white(` ${devCommand}\n`));
190
- console.log(chalk.yellow('💡 Agregar componentes shadcn:\n'));
190
+ console.log(chalk.white(` ${devCommand}`));
191
+ console.log(chalk.yellow('\n💡 Agregar componentes shadcn:\n'));
191
192
  console.log(chalk.white(` npx shadcn-ui@latest add button`));
192
- console.log(chalk.white(` npx shadcn-ui@latest add card form table\n`));
193
+ console.log(chalk.white(` npx shadcn-ui@latest add card form table`));
193
194
 
194
- console.log(chalk.gray('Documentación completa en README.md'));
195
- console.log(chalk.gray('Creado con Aura...'));
195
+ console.log(chalk.gray('\n📚 Documentación completa en README.md'));
196
+ console.log(chalk.magenta('\n✨ Desarrolla con Aura...\n'));
196
197
  }
197
198
 
198
199
  main().catch(console.error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-react-zr-architecture",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Create React applications with Clean Architecture, TypeScript, Vite, Tailwind CSS, and shadcn/ui",
5
5
  "type": "module",
6
6
  "bin": {