From 778a4ab429d31c8303e11a34e296635ab50ebb57 Mon Sep 17 00:00:00 2001 From: Gerardo Ibarra Date: Tue, 16 Apr 2024 17:12:58 -0300 Subject: [PATCH 1/3] update laravel 11 --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index c5b1aee..f93ab77 100644 --- a/composer.json +++ b/composer.json @@ -22,15 +22,15 @@ "require": { "php": "^8.1", "filament/filament": "^3.0", - "laravel/jetstream": "^4.2", - "illuminate/contracts": "^10.0", + "laravel/jetstream": "^4.2|^5.0", + "illuminate/contracts": "^10.0|^11.0", "spatie/laravel-package-tools": "^1.15.0" }, "require-dev": { + "larastan/larastan": "^2.9", "laravel/pint": "^1.0", - "nunomaduro/collision": "^7.9", - "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^8.0", + "nunomaduro/collision": "^7.9|^8.0", + "orchestra/testbench": "^8.14|^9.0", "pestphp/pest": "^2.0", "pestphp/pest-plugin-arch": "^2.0", "pestphp/pest-plugin-laravel": "^2.0", From 029b16c277dbf7dfa3c34c06b7eb7c74a4d9cfa8 Mon Sep 17 00:00:00 2001 From: Gerardo Ibarra Date: Tue, 16 Apr 2024 17:14:37 -0300 Subject: [PATCH 2/3] github actions test update laravel 11 --- .github/workflows/run-tests.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 7fefe35..6cb7589 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,13 +13,19 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.2, 8.1] - laravel: [10.*] + php: [8.3, 8.2, 8.1] + laravel: [11.*, 10.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* - testbench: 8.* + testbench: ^8.14 carbon: ^2.63 + - laravel: 11.* + testbench: ^9.0 + carbon: ^3.0 + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} From cd4aab33e6af156ea8d60a7dfabedaf97f5c5649 Mon Sep 17 00:00:00 2001 From: Gerardo Ibarra Date: Tue, 16 Apr 2024 17:29:45 -0300 Subject: [PATCH 3/3] fix version jetstream in l11 --- src/Commands/FilamentJetstreamCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/FilamentJetstreamCommand.php b/src/Commands/FilamentJetstreamCommand.php index e380589..444812d 100644 --- a/src/Commands/FilamentJetstreamCommand.php +++ b/src/Commands/FilamentJetstreamCommand.php @@ -70,7 +70,7 @@ protected function installFilamentPackage(): bool protected function installJetstreamPackage(): bool { if (! $this->hasComposerPackage('laravel/jetstream')) { - return $this->requireComposerPackages('laravel/jetstream:^4.2'); + return $this->requireComposerPackages('laravel/jetstream:^4.2|^5.0'); } return true;