Add Filament Optimize (#619)

This commit is contained in:
Charles 2024-10-12 10:58:18 -04:00 committed by GitHub
parent c0eedc16e0
commit f95ba6447c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 72 additions and 68 deletions

View File

@ -38,6 +38,9 @@ fi
echo -e "Migrating Database"
php artisan migrate --force
echo -e "Optimizing Filament"
php artisan filament:optimize
## start cronjobs for the queue
echo -e "Starting cron jobs."
crond -L /var/log/crond -l 5

View File

@ -23,5 +23,7 @@ class AppSettingsCommand extends Command
$this->comment('Generating app key');
Artisan::call('key:generate');
}
Artisan::call('filament:optimize');
}
}

135
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "6e668a34f2a704c014ef4f2b37d4c7a6",
"content-hash": "c21f5c06eaf398480f33cb59dabd886a",
"packages": [
{
"name": "abdelhamiderrahmouni/filament-monaco-editor",
@ -1639,16 +1639,16 @@
},
{
"name": "filament/actions",
"version": "v3.2.115",
"version": "v3.2.117",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/actions.git",
"reference": "38c6eb00c7e3265907b37482c2dfd411c6f910c9"
"reference": "886108b59ce99edc26f5bc1231134a95ec58718a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/actions/zipball/38c6eb00c7e3265907b37482c2dfd411c6f910c9",
"reference": "38c6eb00c7e3265907b37482c2dfd411c6f910c9",
"url": "https://api.github.com/repos/filamentphp/actions/zipball/886108b59ce99edc26f5bc1231134a95ec58718a",
"reference": "886108b59ce99edc26f5bc1231134a95ec58718a",
"shasum": ""
},
"require": {
@ -1688,20 +1688,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2024-09-27T13:16:08+00:00"
"time": "2024-10-09T11:19:22+00:00"
},
{
"name": "filament/filament",
"version": "v3.2.115",
"version": "v3.2.117",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/panels.git",
"reference": "8d0f0e7101c14fe2f00490172452767f16b39f02"
"reference": "84f839b4b42549c0d4bd231648da17561ada70c2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/panels/zipball/8d0f0e7101c14fe2f00490172452767f16b39f02",
"reference": "8d0f0e7101c14fe2f00490172452767f16b39f02",
"url": "https://api.github.com/repos/filamentphp/panels/zipball/84f839b4b42549c0d4bd231648da17561ada70c2",
"reference": "84f839b4b42549c0d4bd231648da17561ada70c2",
"shasum": ""
},
"require": {
@ -1753,20 +1753,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2024-09-27T13:16:11+00:00"
"time": "2024-10-08T14:24:12+00:00"
},
{
"name": "filament/forms",
"version": "v3.2.115",
"version": "v3.2.117",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/forms.git",
"reference": "ffa33043ea0ee67a4eed58535687f87311e4256b"
"reference": "896c868cca474b2e925a3e6162b7c76d8ff3e5fc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/forms/zipball/ffa33043ea0ee67a4eed58535687f87311e4256b",
"reference": "ffa33043ea0ee67a4eed58535687f87311e4256b",
"url": "https://api.github.com/repos/filamentphp/forms/zipball/896c868cca474b2e925a3e6162b7c76d8ff3e5fc",
"reference": "896c868cca474b2e925a3e6162b7c76d8ff3e5fc",
"shasum": ""
},
"require": {
@ -1809,20 +1809,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2024-09-27T13:16:04+00:00"
"time": "2024-10-09T11:19:26+00:00"
},
{
"name": "filament/infolists",
"version": "v3.2.115",
"version": "v3.2.117",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/infolists.git",
"reference": "d4d3030644e3617aed252a5df3c385145ada0ec6"
"reference": "fc5f01c094fe25ef906f3e1b88d3d8883a73d6be"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/infolists/zipball/d4d3030644e3617aed252a5df3c385145ada0ec6",
"reference": "d4d3030644e3617aed252a5df3c385145ada0ec6",
"url": "https://api.github.com/repos/filamentphp/infolists/zipball/fc5f01c094fe25ef906f3e1b88d3d8883a73d6be",
"reference": "fc5f01c094fe25ef906f3e1b88d3d8883a73d6be",
"shasum": ""
},
"require": {
@ -1860,20 +1860,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2024-09-27T13:16:10+00:00"
"time": "2024-10-08T14:24:09+00:00"
},
{
"name": "filament/notifications",
"version": "v3.2.115",
"version": "v3.2.117",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/notifications.git",
"reference": "0272612e1d54e0520f8717b24c71b9b70f198c8f"
"reference": "a5f684b690354630210fc9a90bd06da9b1f6ae82"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/notifications/zipball/0272612e1d54e0520f8717b24c71b9b70f198c8f",
"reference": "0272612e1d54e0520f8717b24c71b9b70f198c8f",
"url": "https://api.github.com/repos/filamentphp/notifications/zipball/a5f684b690354630210fc9a90bd06da9b1f6ae82",
"reference": "a5f684b690354630210fc9a90bd06da9b1f6ae82",
"shasum": ""
},
"require": {
@ -1912,20 +1912,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2024-09-27T13:16:07+00:00"
"time": "2024-10-08T14:24:11+00:00"
},
{
"name": "filament/support",
"version": "v3.2.115",
"version": "v3.2.117",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/support.git",
"reference": "6dba51efd6f2a32db21bc8684cd663915ab0e4d7"
"reference": "31fcff80b873b4decdba10d5f7010310e12c8e94"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/support/zipball/6dba51efd6f2a32db21bc8684cd663915ab0e4d7",
"reference": "6dba51efd6f2a32db21bc8684cd663915ab0e4d7",
"url": "https://api.github.com/repos/filamentphp/support/zipball/31fcff80b873b4decdba10d5f7010310e12c8e94",
"reference": "31fcff80b873b4decdba10d5f7010310e12c8e94",
"shasum": ""
},
"require": {
@ -1935,7 +1935,7 @@
"illuminate/contracts": "^10.45|^11.0",
"illuminate/support": "^10.45|^11.0",
"illuminate/view": "^10.45|^11.0",
"kirschbaum-development/eloquent-power-joins": "^3.0",
"kirschbaum-development/eloquent-power-joins": "^3.0|^4.0",
"livewire/livewire": "^3.4.10 <= 3.5.6",
"php": "^8.1",
"ryangjchandler/blade-capture-directive": "^0.2|^0.3|^1.0",
@ -1971,20 +1971,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2024-09-27T13:16:20+00:00"
"time": "2024-10-08T14:24:29+00:00"
},
{
"name": "filament/tables",
"version": "v3.2.115",
"version": "v3.2.117",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/tables.git",
"reference": "07226fcd080f0f547aac31cf5117bfab192ea770"
"reference": "152bf46a8f2c46f047835771a67085c2866b039b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/tables/zipball/07226fcd080f0f547aac31cf5117bfab192ea770",
"reference": "07226fcd080f0f547aac31cf5117bfab192ea770",
"url": "https://api.github.com/repos/filamentphp/tables/zipball/152bf46a8f2c46f047835771a67085c2866b039b",
"reference": "152bf46a8f2c46f047835771a67085c2866b039b",
"shasum": ""
},
"require": {
@ -2023,20 +2023,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2024-09-27T13:16:23+00:00"
"time": "2024-10-08T14:24:25+00:00"
},
{
"name": "filament/widgets",
"version": "v3.2.115",
"version": "v3.2.117",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/widgets.git",
"reference": "06b70c4f260c91da03bdc51d1275543776ef7385"
"reference": "14ae503aae8265ddc48274debbf7b7aefc7afb0b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/widgets/zipball/06b70c4f260c91da03bdc51d1275543776ef7385",
"reference": "06b70c4f260c91da03bdc51d1275543776ef7385",
"url": "https://api.github.com/repos/filamentphp/widgets/zipball/14ae503aae8265ddc48274debbf7b7aefc7afb0b",
"reference": "14ae503aae8265ddc48274debbf7b7aefc7afb0b",
"shasum": ""
},
"require": {
@ -2067,7 +2067,7 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2024-09-23T14:10:16+00:00"
"time": "2024-10-08T14:24:26+00:00"
},
{
"name": "firebase/php-jwt",
@ -2678,27 +2678,28 @@
},
{
"name": "kirschbaum-development/eloquent-power-joins",
"version": "3.5.8",
"version": "4.0.0",
"source": {
"type": "git",
"url": "https://github.com/kirschbaum-development/eloquent-power-joins.git",
"reference": "397ef08f15ceff48111fd7f57d9f1fd41bf1a453"
"reference": "c6c42a52c5a097cc11761e72782b2d0215692caf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/397ef08f15ceff48111fd7f57d9f1fd41bf1a453",
"reference": "397ef08f15ceff48111fd7f57d9f1fd41bf1a453",
"url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/c6c42a52c5a097cc11761e72782b2d0215692caf",
"reference": "c6c42a52c5a097cc11761e72782b2d0215692caf",
"shasum": ""
},
"require": {
"illuminate/database": "^8.0|^9.0|^10.0|^11.0",
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
"php": "^8.0"
"illuminate/database": "^10.0|^11.0",
"illuminate/support": "^10.0|^11.0",
"php": "^8.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "dev-master",
"laravel/legacy-factories": "^1.0@dev",
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0",
"phpunit/phpunit": "^8.0|^9.0|^10.0"
"orchestra/testbench": "^8.0|^9.0",
"phpunit/phpunit": "^10.0"
},
"type": "library",
"extra": {
@ -2734,9 +2735,9 @@
],
"support": {
"issues": "https://github.com/kirschbaum-development/eloquent-power-joins/issues",
"source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/3.5.8"
"source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/4.0.0"
},
"time": "2024-09-10T10:28:05+00:00"
"time": "2024-10-06T12:28:14+00:00"
},
{
"name": "laracasts/utilities",
@ -3772,16 +3773,16 @@
},
{
"name": "league/csv",
"version": "9.16.0",
"version": "9.17.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/csv.git",
"reference": "998280c6c34bd67d8125fdc8b45bae28d761b440"
"reference": "8cab815fb11ec93aa2f7b8a57b3daa1f1a364011"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/csv/zipball/998280c6c34bd67d8125fdc8b45bae28d761b440",
"reference": "998280c6c34bd67d8125fdc8b45bae28d761b440",
"url": "https://api.github.com/repos/thephpleague/csv/zipball/8cab815fb11ec93aa2f7b8a57b3daa1f1a364011",
"reference": "8cab815fb11ec93aa2f7b8a57b3daa1f1a364011",
"shasum": ""
},
"require": {
@ -3789,17 +3790,16 @@
"php": "^8.1.2"
},
"require-dev": {
"doctrine/collections": "^2.2.2",
"ext-dom": "*",
"ext-xdebug": "*",
"friendsofphp/php-cs-fixer": "^3.57.1",
"phpbench/phpbench": "^1.2.15",
"phpstan/phpstan": "^1.11.1",
"phpstan/phpstan-deprecation-rules": "^1.2.0",
"friendsofphp/php-cs-fixer": "^3.64.0",
"phpbench/phpbench": "^1.3.1",
"phpstan/phpstan": "^1.12.5",
"phpstan/phpstan-deprecation-rules": "^1.2.1",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpstan/phpstan-strict-rules": "^1.6.0",
"phpunit/phpunit": "^10.5.16 || ^11.1.3",
"symfony/var-dumper": "^6.4.6 || ^7.0.7"
"phpstan/phpstan-strict-rules": "^1.6.1",
"phpunit/phpunit": "^10.5.16 || ^11.4.0",
"symfony/var-dumper": "^6.4.8 || ^7.1.5"
},
"suggest": {
"ext-dom": "Required to use the XMLConverter and the HTMLConverter classes",
@ -3817,7 +3817,7 @@
"src/functions_include.php"
],
"psr-4": {
"League\\Csv\\": "src"
"League\\Csv\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@ -3856,7 +3856,7 @@
"type": "github"
}
],
"time": "2024-05-24T11:04:54+00:00"
"time": "2024-10-10T10:30:28+00:00"
},
{
"name": "league/flysystem",
@ -13479,7 +13479,6 @@
"ext-json": "*",
"ext-mbstring": "*",
"ext-pdo": "*",
"ext-pdo_mysql": "*",
"ext-zip": "*"
},
"platform-dev": [],