chore: upgrade to Laravel 10

This commit is contained in:
Bruno F. Fontes 2024-05-11 10:56:57 -03:00
parent 618d91d23b
commit 3dddb712c0
Signed by: brunofontes
GPG Key ID: 4DAA810052CF68B6
10 changed files with 1867 additions and 4247 deletions

View File

@ -51,7 +51,7 @@ class Kernel extends HttpKernel
*
* @var array
*/
protected $routeMiddleware = [
protected $middlewareAliases = [
'auth' => \App\Http\Middleware\Authenticate::class,
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,

View File

@ -22,7 +22,6 @@ class AuthServiceProvider extends ServiceProvider
*/
public function boot()
{
$this->registerPolicies();
//
}

View File

@ -6,11 +6,11 @@
"type": "project",
"require": {
"php": "^8.0.2",
"inertiajs/inertia-laravel": "^0.6.3",
"laravel/framework": "^9.19.0",
"inertiajs/inertia-laravel": "^0.6.11",
"laravel/framework": "^10.0",
"laravel/ui": "^4.0",
"laravel/helpers": "^1.4",
"laravel/tinker": "^2.4.1",
"laravel/ui": "^3.0",
"pusher/pusher-php-server": "^7.2"
},
"require-dev": {
@ -18,11 +18,11 @@
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^6.1",
"nunomaduro/larastan": "^0.7.4",
"nunomaduro/collision": "^7.0",
"nunomaduro/larastan": "^2.9.5",
"nunomaduro/phpinsights": "*",
"phpstan/phpstan": "^0.12.85",
"phpunit/phpunit": "^9.0"
"phpstan/phpstan": "^1.10.66",
"phpunit/phpunit": "^10.0"
},
"autoload": {
"classmap": [
@ -64,6 +64,6 @@
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"prefer-stable": true
}

3642
composer.lock generated

File diff suppressed because it is too large Load Diff

2348
package-lock.json generated

File diff suppressed because it is too large Load Diff

48
public/build/assets/app.4993c47e.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"resources/js/app.js": {
"file": "assets/app.c987411b.js",
"file": "assets/app.4993c47e.js",
"src": "resources/js/app.js",
"isEntry": true
},

View File

@ -1 +1,2 @@
ssh homestead -t "cd code/Bruno\ Fontes/shareit; bash --login"
echo "Homestead password is: vagrant"
ssh homestead -t "cd shareit; bash --login"

View File

@ -1,6 +1,7 @@
#!/bin/zsh
export VAGRANT_CWD=/home/bruno/development/Homestead/
vagrant up
#builtin cd ~/development/laravelHomestead && /usr/bin/vagrant up && builtin cd -
#~/Apps/firefox/firefox-bin http://shareit.test
#~/Apps/firefox/firefox-bin https://mailtrap.io/inboxes/455614/messages
eval $DEV_BROWSER http://shareit.test \
https://mailtrap.io/inboxes/455614/messages \
https://dashboard.pusher.com/apps/1505830/console \
&