From 61a477a6311764630b80cb6f8e9f4139538891c6 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Fri, 25 Sep 2026 00:52:20 +0300 Subject: [PATCH 1/3] Avoid installing duplicate Alpine with Livewire 4 --- src/Commands/LazyInstallCommand.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Commands/LazyInstallCommand.php b/src/Commands/LazyInstallCommand.php index 80c7160..ad32ffd 100644 --- a/src/Commands/LazyInstallCommand.php +++ b/src/Commands/LazyInstallCommand.php @@ -30,7 +30,6 @@ public function handle(): int 'quill', 'sanitize-html', 'theme-change', - 'alpinejs', ]; foreach ($packages as $package) { From 37b0e383484e369d2d82b956610c5dec5cf52448 Mon Sep 17 00:00:00 2001 From: CrazyBoy49z <3448603+CrazyBoy49z@users.noreply.github.com> Date: Thu, 24 Sep 2026 21:52:36 +0000 Subject: [PATCH 2/3] Fix styling --- src/LazyUiServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LazyUiServiceProvider.php b/src/LazyUiServiceProvider.php index 102367a..d20be1f 100644 --- a/src/LazyUiServiceProvider.php +++ b/src/LazyUiServiceProvider.php @@ -120,7 +120,7 @@ public function configurePackage(Package $package): void Radio::class, Range::class, Rating::class, - RichText::class, + Richtext::class, Select::class, Stack::class, Tab::class, From abd0dbc1c09c734b5f0b1be5420d2c138f3dfe8a Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Fri, 25 Sep 2026 00:56:47 +0300 Subject: [PATCH 3/3] Test Livewire 4 Alpine dependency handling --- tests/LazyInstallCommandTest.php | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/LazyInstallCommandTest.php diff --git a/tests/LazyInstallCommandTest.php b/tests/LazyInstallCommandTest.php new file mode 100644 index 0000000..43aef41 --- /dev/null +++ b/tests/LazyInstallCommandTest.php @@ -0,0 +1,7 @@ +not->toContain("'alpinejs'"); +});