nexoreui-cli 1.7.2 → 1.7.3

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/dist/index.js CHANGED
@@ -4891,7 +4891,7 @@ async function createCommand(projectName, options = {}) {
4891
4891
  }
4892
4892
  console.log(`\x1B[33m\u26A1 Step 1/4: Scaffolding React + Vite template...\x1B[0m`);
4893
4893
  try {
4894
- (0, import_child_process3.execSync)(`npm create vite@latest ${name} -- --template react-ts`, { stdio: "inherit" });
4894
+ (0, import_child_process3.execSync)(`npx -y create-vite@latest ${name} --template react-ts --no-immediate --no-interactive`, { stdio: "inherit" });
4895
4895
  } catch (err) {
4896
4896
  console.error(`\x1B[31mFailed to scaffold Vite project.\x1B[0m`);
4897
4897
  return;