diff --git a/app/Exceptions/ManifestDoesNotExistException.php b/app/Exceptions/ManifestDoesNotExistException.php index 12fde8f016..3b667c7991 100644 --- a/app/Exceptions/ManifestDoesNotExistException.php +++ b/app/Exceptions/ManifestDoesNotExistException.php @@ -2,8 +2,8 @@ namespace App\Exceptions; -use Spatie\Ignition\Contracts\Solution; -use Spatie\Ignition\Contracts\ProvidesSolution; +use Spatie\ErrorSolutions\Contracts\Solution; +use Spatie\ErrorSolutions\Contracts\ProvidesSolution; class ManifestDoesNotExistException extends \Exception implements ProvidesSolution { diff --git a/app/Exceptions/Solutions/ManifestDoesNotExistSolution.php b/app/Exceptions/Solutions/ManifestDoesNotExistSolution.php index c1c7c47451..dce75c3e95 100644 --- a/app/Exceptions/Solutions/ManifestDoesNotExistSolution.php +++ b/app/Exceptions/Solutions/ManifestDoesNotExistSolution.php @@ -2,7 +2,7 @@ namespace App\Exceptions\Solutions; -use Spatie\Ignition\Contracts\Solution; +use Spatie\ErrorSolutions\Contracts\Solution; class ManifestDoesNotExistSolution implements Solution { @@ -19,7 +19,7 @@ public function getSolutionDescription(): string public function getDocumentationLinks(): array { return [ - 'Docs' => 'https://github.com/pelican/panel/blob/master/package.json', + 'Docs' => 'https://github.com/pelican-dev/panel/blob/main/package.json#L139', ]; } } diff --git a/composer.json b/composer.json index aaa3e9bc51..ec17d9d61d 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,7 @@ "mockery/mockery": "^1.6.11", "nunomaduro/collision": "^8.1.1", "phpunit/phpunit": "^10.5.20", - "spatie/laravel-ignition": "^2.7" + "spatie/laravel-ignition": "^2.8" }, "autoload": { "files": [ diff --git a/package.json b/package.json index 713b5cbafb..b0d663c15a 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "yarn-deduplicate": "^1.1.1" }, "scripts": { - "clean": "cd public/assets && rimraf -g *.js *.map", + "clean": "rimraf -I -g public/assets/{manifest.json,*.js,*.map}", "test": "jest", "lint": "eslint ./resources/scripts/**/*.{ts,tsx} --ext .ts,.tsx", "watch": "cross-env NODE_ENV=development ./node_modules/.bin/webpack --watch --progress",