From 667c610382f2052e69ff60b10811fdaa9376aeef Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 10 Oct 2024 10:35:58 -0500 Subject: [PATCH] remove question... suggest npm build --- src/NewCommand.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/NewCommand.php b/src/NewCommand.php index a333d2d..8ba4390 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -142,9 +142,9 @@ protected function interact(InputInterface $input, OutputInterface $output) ) === 'Pest'); } - if (! $input->getOption('git') && $input->getOption('github') === false && Process::fromShellCommandline('git --version')->run() === 0) { - $input->setOption('git', confirm(label: 'Would you like to initialize a Git repository?', default: false)); - } + // if (! $input->getOption('git') && $input->getOption('github') === false && Process::fromShellCommandline('git --version')->run() === 0) { + // $input->setOption('git', confirm(label: 'Would you like to initialize a Git repository?', default: false)); + // } } /** @@ -243,6 +243,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $output->writeln(" INFO Application ready in [{$name}]. You can start your local development using:".PHP_EOL); $output->writeln('cd '.$name.''); + $output->writeln('npm install && npm run build'); if ($this->isParked($directory)) { $url = $this->generateAppUrl($name);