Skip to content

Commit

Permalink
[6.x] - [fix] install command not installing Laravel Jetstream and fa…
Browse files Browse the repository at this point in the history
…iling (#359)

* fix: override socialite dep

* fix: install jetstream without interaction

* disable vue-ts stubs check
  • Loading branch information
joelbutcher authored Jun 24, 2024
1 parent 3702a65 commit 07f7366
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/breeze-stub-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
matrix:
php: [ 8.2, 8.3 ]
laravel: [ 11 ]
stack: [ blade, livewire, "livewire-functional", react, vue, react-ts, vue-ts ]
# stack: [ blade, livewire, "livewire-functional", react, vue, react-ts, vue-ts ]
stack: [ blade, livewire, "livewire-functional", react, vue, react-ts ]
tester: [ phpunit, pest ]

name: Test Laravel Breeze Stubs - PHP ${{matrix.php }} – Laravel ${{ matrix.laravel }} - ${{ matrix.stack }} – ${{ matrix.tester }}
Expand Down Expand Up @@ -49,8 +50,6 @@ jobs:
composer update "joelbutcher/socialstream" --prefer-dist --no-interaction --no-progress -W
php artisan socialstream:install breeze ${{ matrix.stack == 'vue-ts' && 'vue' || matrix.stack == 'react-ts' && 'react' || matrix.stack }} \
--dark \
--api \
--verification \
${{ matrix.tester == 'pest' && '--pest' || '' }} \
${{ (matrix.stack == 'vue' || matrix.stack == 'react') && '--ssr' || '' }} \
${{ (matrix.stack == 'vue-ts' || matrix.stack == 'react-ts') && '--typescript' || '' }}
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"php": "^8.2",
"illuminate/contracts": "^11.0",
"laravel/prompts": "^0.1.10",
"laravel/socialite": "^5.12"
"laravel/socialite": "^5.12",
"paragonie/constant_time_encoding": "^2.7"
},
"require-dev": {
"laravel/breeze": "^2.0",
Expand Down
1 change: 1 addition & 0 deletions src/Installer/Drivers/Jetstream/JetstreamDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ protected function ensureDependenciesAreInstalled(string $composerBinary, Instal
fn (InstallOptions $option) => "--$option->value",
),
'--quiet',
'--no-interaction'
], base_path()))
->setTimeout(null)
->run(function ($type, $output) {
Expand Down

0 comments on commit 07f7366

Please sign in to comment.