diff --git a/.gitignore b/.gitignore index f53d2927..895a2c12 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +*.log /node_modules /public/hot !/public/build diff --git a/app/Console/Commands/Update.php b/app/Console/Commands/Update.php index 14a49e41..3af81b38 100644 --- a/app/Console/Commands/Update.php +++ b/app/Console/Commands/Update.php @@ -2,25 +2,15 @@ namespace App\Console\Commands; +use Illuminate\Console\Attributes\Description; +use Illuminate\Console\Attributes\Signature; use Illuminate\Console\Command; use Illuminate\Support\Facades\Artisan; +#[Signature('app:update')] +#[Description('Update the application')] class Update extends Command { - /** - * The name and signature of the console command. - * - * @var string - */ - protected $signature = 'app:update'; - - /** - * The console command description. - * - * @var string - */ - protected $description = 'Update the application'; - /** * Execute the console command. */ diff --git a/composer.json b/composer.json index 327ae7f8..13273355 100644 --- a/composer.json +++ b/composer.json @@ -10,36 +10,36 @@ "require": { "php": "^8.4", "barryvdh/laravel-dompdf": "^3.1", - "cyrildewit/eloquent-viewable": "^7.0", - "filament/filament": "^3.3", + "cyrildewit/eloquent-viewable": "dev-feature/laravel-13-support", + "filament/filament": "^4.0", "filament/spatie-laravel-tags-plugin": "^3.3", - "graham-campbell/markdown": "^16.0", + "graham-campbell/markdown": "^16.1", "kilobyteno/laravel-user-guest-like": "^1.4.0", - "laravel/framework": "^12.48", - "laravel/jetstream": "^5.3", - "laravel/nightwatch": "^1.22", - "laravel/sanctum": "^4.0", - "laravel/tinker": "^2.10.1", + "laravel/framework": "^13.0", + "laravel/jetstream": "^5.5", + "laravel/nightwatch": "^1.24", + "laravel/sanctum": "^4.3", + "laravel/tinker": "^3.0", "livewire/livewire": "^3.5", "mtownsend/read-time": "^2.0", "romanzipp/laravel-seo": "^2.9", - "sentry/sentry-laravel": "^4.13", - "spatie/laravel-honeypot": "^4.5", - "spatie/laravel-permission": "^6.12", - "spatie/laravel-tags": "^4.9", + "sentry/sentry-laravel": "^4.22", + "spatie/laravel-honeypot": "^4.7", + "spatie/laravel-permission": "^7.2", + "spatie/laravel-tags": "^4.11", "torchlight/torchlight-commonmark": "^0.6.0" }, "require-dev": { - "barryvdh/laravel-debugbar": "^3.15", + "barryvdh/laravel-debugbar": "^4.0", "fakerphp/faker": "^1.23", "laravel/boost": "^2.3", - "laravel/pail": "^1.2.2", - "laravel/pint": "^1.13", - "laravel/sail": "^1.41", + "laravel/pail": "^1.2.5", + "laravel/pint": "^1.27", + "laravel/sail": "^1.53", "mockery/mockery": "^1.6", "nunomaduro/collision": "^8.6", - "pestphp/pest": "^3.0", - "pestphp/pest-plugin-laravel": "^3.1", + "pestphp/pest": "^4.0", + "pestphp/pest-plugin-laravel": "^4.1", "spatie/boost-spatie-guidelines": "^1.1" }, "autoload": { diff --git a/database/migrations/2026_03_23_000001_add_expiration_index_to_cache_table.php b/database/migrations/2026_03_23_000001_add_expiration_index_to_cache_table.php new file mode 100644 index 00000000..0893b75a --- /dev/null +++ b/database/migrations/2026_03_23_000001_add_expiration_index_to_cache_table.php @@ -0,0 +1,30 @@ +index('expiration'); + }); + + Schema::table('cache_locks', function (Blueprint $table) { + $table->index('expiration'); + }); + } + + public function down() + { + Schema::table('cache', function (Blueprint $table) { + $table->dropIndex(['expiration']); + }); + + Schema::table('cache_locks', function (Blueprint $table) { + $table->dropIndex(['expiration']); + }); + } +}; diff --git a/package.json b/package.json index 1e67f342..72cb2e22 100644 --- a/package.json +++ b/package.json @@ -25,5 +25,6 @@ "resolutions": { "node-forge": "^1.0.0" }, - "type": "module" + "type": "module", + "$schema": "https://www.schemastore.org/package.json" } diff --git a/phpunit.xml b/phpunit.xml index 22e456ba..e40dd174 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,9 +1,5 @@ - + ./tests/Unit @@ -29,6 +25,7 @@ + diff --git a/resources/views/vendor/pagination/default.blade.php b/resources/views/vendor/pagination/bootstrap-3.blade.php similarity index 100% rename from resources/views/vendor/pagination/default.blade.php rename to resources/views/vendor/pagination/bootstrap-3.blade.php diff --git a/resources/views/vendor/pagination/simple-default.blade.php b/resources/views/vendor/pagination/simple-bootstrap-3.blade.php similarity index 100% rename from resources/views/vendor/pagination/simple-default.blade.php rename to resources/views/vendor/pagination/simple-bootstrap-3.blade.php diff --git a/vite.config.js b/vite.config.js index 89f26f5d..2bdb685e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -11,4 +11,9 @@ export default defineConfig({ refresh: true, }), ], + server: { + watch: { + ignored: ['**/storage/framework/views/**'], + }, + }, });