Skip to content

Commit

Permalink
Merge pull request #6 from hotwired-laravel/laravel-12
Browse files Browse the repository at this point in the history
Ensure works for Laravel 12
  • Loading branch information
tonysm authored Mar 2, 2025
2 parents 8d95654 + 020b4fd commit 8bfe93b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ on:

jobs:
stub-tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
stack: [turbo, turbo-vite]
laravel: [10.*, 11.*]
laravel: [11.*, 12.*]

name: Test Stubs - Laravel ${{ matrix.laravel }} - ${{ matrix.stack }}

Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
}
],
"require": {
"php": "^8.1||^8.2",
"illuminate/console": "^10.17||^11.0",
"illuminate/filesystem": "^10.17||^11.0",
"illuminate/support": "^10.17||^11.0",
"illuminate/validation": "^10.17||^11.0"
"php": "^8.2",
"illuminate/console": "^11.0|^12.0",
"illuminate/filesystem": "^11.0|^12.0",
"illuminate/support": "^11.0|^12.0",
"illuminate/validation": "^11.0|^12.0"
},
"require-dev": {
"orchestra/testbench": "^8.0||^9.0",
"orchestra/testbench": "^9.0|^10.0",
"phpstan/phpstan": "^1.10"
},
"autoload": {
Expand Down
4 changes: 2 additions & 2 deletions src/Console/InstallsTurboStack.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ protected function installTurboStack(bool $importmaps = true)
{
// Install Turbo Laravel, Stimulus Laravel, Importmap Laravel, and TailwindCSS Laravel...
$packages = array_merge(
['hotwired-laravel/turbo-laravel:^2.0.1', 'hotwired-laravel/stimulus-laravel:^1.1'],
$importmaps ? ['tonysm/importmap-laravel:^2.3', 'tonysm/tailwindcss-laravel:^1.0'] : [],
['hotwired-laravel/turbo-laravel', 'hotwired-laravel/stimulus-laravel'],
$importmaps ? ['tonysm/importmap-laravel', 'tonysm/tailwindcss-laravel', 'hotwired-laravel/hotreload'] : [],
);

if (! $this->requireComposerPackages($packages)) {
Expand Down

0 comments on commit 8bfe93b

Please sign in to comment.