From fa9069b72732561bef4a589feb6b6e2dad84b512 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Tue, 19 Mar 2024 12:28:23 +1100 Subject: [PATCH 1/2] Make commands lazy --- src/Console/Commands/PailCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Console/Commands/PailCommand.php b/src/Console/Commands/PailCommand.php index e6c2ae7..c4f26d7 100644 --- a/src/Console/Commands/PailCommand.php +++ b/src/Console/Commands/PailCommand.php @@ -8,11 +8,13 @@ use Laravel\Pail\Guards\EnsurePcntlIsAvailable; use Laravel\Pail\Options; use Laravel\Pail\ProcessFactory; +use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Process\Exception\ProcessSignaledException; use function Termwind\render; use function Termwind\renderUsing; +#[AsCommand(name: 'pail')] class PailCommand extends Command { /** From a2f3eee881538bb0b012cddc021203412131d87f Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Tue, 19 Mar 2024 12:28:28 +1100 Subject: [PATCH 2/2] Fix soft dependency --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 8880cf6..15e659c 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,8 @@ "illuminate/log": "^10.24|^11.0", "illuminate/process": "^10.24|^11.0", "illuminate/support": "^10.24|^11.0", - "nunomaduro/termwind": "^1.15|^2.0" + "nunomaduro/termwind": "^1.15|^2.0", + "symfony/console": "^6.0|^7.0" }, "require-dev": { "laravel/pint": "^1.13",