Skip to content

Commit 667c610

Browse files
committed
remove question... suggest npm build
1 parent b5de771 commit 667c610

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/NewCommand.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ protected function interact(InputInterface $input, OutputInterface $output)
142142
) === 'Pest');
143143
}
144144

145-
if (! $input->getOption('git') && $input->getOption('github') === false && Process::fromShellCommandline('git --version')->run() === 0) {
146-
$input->setOption('git', confirm(label: 'Would you like to initialize a Git repository?', default: false));
147-
}
145+
// if (! $input->getOption('git') && $input->getOption('github') === false && Process::fromShellCommandline('git --version')->run() === 0) {
146+
// $input->setOption('git', confirm(label: 'Would you like to initialize a Git repository?', default: false));
147+
// }
148148
}
149149

150150
/**
@@ -243,6 +243,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
243243

244244
$output->writeln(" <bg=blue;fg=white> INFO </> Application ready in <options=bold>[{$name}]</>. You can start your local development using:".PHP_EOL);
245245
$output->writeln('<fg=gray>➜</> <options=bold>cd '.$name.'</>');
246+
$output->writeln('<fg=gray>➜</> <options=bold>npm install && npm run build</>');
246247

247248
if ($this->isParked($directory)) {
248249
$url = $this->generateAppUrl($name);

0 commit comments

Comments
 (0)