From 6862ded6808a27b2324efbe22dc49c5d37e129a3 Mon Sep 17 00:00:00 2001 From: Jess Archer Date: Fri, 8 Sep 2023 11:01:06 +1000 Subject: [PATCH 1/2] Fix Jetstream SSR option --- src/NewCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NewCommand.php b/src/NewCommand.php index f2173744..8ea2cf81 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -338,13 +338,14 @@ protected function installJetstream(string $directory, InputInterface $input, Ou $commands = array_filter([ $this->findComposer().' require laravel/jetstream', trim(sprintf( - $this->phpBinary().' artisan jetstream:install %s %s %s %s %s %s', + $this->phpBinary().' artisan jetstream:install %s %s %s %s %s %s %s', $input->getOption('stack'), $input->getOption('api') ? '--api' : '', $input->getOption('dark') ? '--dark' : '', $input->getOption('teams') ? '--teams' : '', $input->getOption('pest') ? '--pest' : '', $input->getOption('verification') ? '--verification' : '', + $input->getOption('ssr') ? '--ssr' : '', )), ]); From 894c0f4703866ba20e7db20800e76fc9015e3367 Mon Sep 17 00:00:00 2001 From: Jess Archer Date: Fri, 8 Sep 2023 11:03:20 +1000 Subject: [PATCH 2/2] Update option description --- src/NewCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NewCommand.php b/src/NewCommand.php index 8ea2cf81..bca112e4 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -51,7 +51,7 @@ protected function configure() ->addOption('jet', null, InputOption::VALUE_NONE, 'Installs the Laravel Jetstream scaffolding') ->addOption('dark', null, InputOption::VALUE_NONE, 'Indicate whether Breeze or Jetstream should be scaffolded with dark mode support') ->addOption('typescript', null, InputOption::VALUE_NONE, 'Indicate whether Breeze should be scaffolded with TypeScript support (Experimental)') - ->addOption('ssr', null, InputOption::VALUE_NONE, 'Indicate whether Breeze should be scaffolded with Inertia SSR support') + ->addOption('ssr', null, InputOption::VALUE_NONE, 'Indicate whether Breeze or Jetstream should be scaffolded with Inertia SSR support') ->addOption('api', null, InputOption::VALUE_NONE, 'Indicates whether Jetstream should be scaffolded with API support') ->addOption('teams', null, InputOption::VALUE_NONE, 'Indicates whether Jetstream should be scaffolded with team support') ->addOption('verification', null, InputOption::VALUE_NONE, 'Indicates whether Jetstream should be scaffolded with email verification support')