remove packages file for a better experience

This commit is contained in:
Taylor Otwell 2022-04-06 11:12:17 -05:00
parent d70eb3e1d1
commit 9986d516f0
1 changed files with 7 additions and 3 deletions

View File

@ -32,11 +32,11 @@
} }
}, },
"scripts": { "scripts": {
"post-autoload-dump": [ "post-install-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", "@php -r \"@unlink('bootstrap/cache/packages.php');\""
"@php artisan package:discover --ansi"
], ],
"post-update-cmd": [ "post-update-cmd": [
"@php -r \"@unlink('bootstrap/cache/packages.php');\"",
"@php artisan vendor:publish --tag=laravel-assets --ansi --force" "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
], ],
"post-root-package-install": [ "post-root-package-install": [
@ -44,6 +44,10 @@
], ],
"post-create-project-cmd": [ "post-create-project-cmd": [
"@php artisan key:generate --ansi" "@php artisan key:generate --ansi"
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
] ]
}, },
"extra": { "extra": {