create-react-zr-architecture 1.0.1 → 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 +4 -3
  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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-react-zr-architecture",
3
- "version": "1.0.1",
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": {