From 8daf118ab18f310df0143560818e905f298e5439 Mon Sep 17 00:00:00 2001 From: Shift Date: Sun, 6 Feb 2022 13:17:23 +0000 Subject: [PATCH 1/3] Bump dependencies for Laravel 9 --- composer.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index e40c63e..9d538a0 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,12 @@ { "name": "caffeinated/themes", "description": "Laravel Themes", - "keywords": ["themes", "laravel", "caffeinated", "blade"], + "keywords": [ + "themes", + "laravel", + "caffeinated", + "blade" + ], "license": "MIT", "authors": [ { @@ -13,7 +18,7 @@ "prefer-stable": true, "require": { "php": "^7.3|^8.0", - "illuminate/support": "^6.0|^7.0|^8.0" + "illuminate/support": "^6.0|^7.0|^8.0|^9.0" }, "autoload": { "files": [ From 2672cd20a4d782a41de6ff99acc07138f1df6f59 Mon Sep 17 00:00:00 2001 From: Daniele Scasciafratte Date: Wed, 7 Feb 2024 11:27:08 +0100 Subject: [PATCH 2/3] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 9d538a0..4f19098 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "prefer-stable": true, "require": { "php": "^7.3|^8.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0" + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0" }, "autoload": { "files": [ From 5a7f9bd8879e4c1ca7207843493aa030b584ea64 Mon Sep 17 00:00:00 2001 From: Daniele Scasciafratte Date: Wed, 7 Feb 2024 12:10:10 +0100 Subject: [PATCH 3/3] Update GetsManifest.php for psr-4 --- src/Concerns/GetsManifest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Concerns/GetsManifest.php b/src/Concerns/GetsManifest.php index 2bdab3c..becf9d8 100644 --- a/src/Concerns/GetsManifest.php +++ b/src/Concerns/GetsManifest.php @@ -22,7 +22,7 @@ protected function getDirectory() protected function getManifest() { - $moduleJsonPath = realpath($this->getDirectory() . '/../../theme.json'); + $moduleJsonPath = realpath($this->getDirectory() . '/../theme.json'); return json_decode(File::get($moduleJsonPath), true); }