Skip to content

Commit 2c7ccb9

Browse files
authored
Improves console output (#1097)
1 parent b8eae92 commit 2c7ccb9

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"require": {
1717
"php": "^8.0.2",
1818
"ext-json": "*",
19-
"illuminate/support": "^9.0",
19+
"illuminate/console": "^9.21",
20+
"illuminate/support": "^9.21",
2021
"jenssegers/agent": "^2.6",
2122
"laravel/fortify": "^1.12"
2223
},

src/Console/InstallCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ protected function installLivewireStack()
232232
}
233233

234234
$this->line('');
235-
$this->info('Livewire scaffolding installed successfully.');
236-
$this->comment('Please execute "npm install && npm run dev" to build your assets.');
235+
$this->components->info('Livewire scaffolding installed successfully.');
236+
$this->components->warn('Please execute the [npm install && npm run dev] commands to build your assets.');
237237
}
238238

239239
/**
@@ -420,8 +420,8 @@ protected function installInertiaStack()
420420
}
421421

422422
$this->line('');
423-
$this->info('Inertia scaffolding installed successfully.');
424-
$this->comment('Please execute "npm install && npm run dev" to build your assets.');
423+
$this->components->info('Inertia scaffolding installed successfully.');
424+
$this->components->warn('Please execute the [npm install && npm run dev] commands to build your assets.');
425425
}
426426

427427
/**

0 commit comments

Comments
 (0)