Fixed bug in laravel-modules

This commit is contained in:
Constantin Graf
2024-04-25 14:49:03 +02:00
parent 8c8638e8f9
commit 1f6d9c598d
2 changed files with 67 additions and 43 deletions

View File

@@ -20,7 +20,7 @@
"laravel/octane": "^2.3", "laravel/octane": "^2.3",
"laravel/passport": "^12.0", "laravel/passport": "^12.0",
"laravel/tinker": "^2.8", "laravel/tinker": "^2.8",
"nwidart/laravel-modules": "^11.0.3", "nwidart/laravel-modules": "dev-feature/fixed_path",
"pxlrbt/filament-environment-indicator": "^2.0", "pxlrbt/filament-environment-indicator": "^2.0",
"spatie/temporary-directory": "^2.2", "spatie/temporary-directory": "^2.2",
"tightenco/ziggy": "^2.1.0", "tightenco/ziggy": "^2.1.0",
@@ -104,6 +104,10 @@
{ {
"type": "vcs", "type": "vcs",
"url": "https://github.com/korridor/scramble" "url": "https://github.com/korridor/scramble"
},
{
"type": "vcs",
"url": "https://github.com/korridor/laravel-modules"
} }
], ],
"config": { "config": {

104
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "d472b8e5e77388bf943b96b68da3c06b", "content-hash": "ad100a87fbe76efc70708726bc921412",
"packages": [ "packages": [
{ {
"name": "anourvalar/eloquent-serialize", "name": "anourvalar/eloquent-serialize",
@@ -1572,16 +1572,16 @@
}, },
{ {
"name": "doctrine/dbal", "name": "doctrine/dbal",
"version": "3.8.3", "version": "3.8.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/doctrine/dbal.git", "url": "https://github.com/doctrine/dbal.git",
"reference": "db922ba9436b7b18a23d1653a0b41ff2369ca41c" "reference": "b05e48a745f722801f55408d0dbd8003b403dbbd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/db922ba9436b7b18a23d1653a0b41ff2369ca41c", "url": "https://api.github.com/repos/doctrine/dbal/zipball/b05e48a745f722801f55408d0dbd8003b403dbbd",
"reference": "db922ba9436b7b18a23d1653a0b41ff2369ca41c", "reference": "b05e48a745f722801f55408d0dbd8003b403dbbd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1665,7 +1665,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/doctrine/dbal/issues", "issues": "https://github.com/doctrine/dbal/issues",
"source": "https://github.com/doctrine/dbal/tree/3.8.3" "source": "https://github.com/doctrine/dbal/tree/3.8.4"
}, },
"funding": [ "funding": [
{ {
@@ -1681,7 +1681,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-03-03T15:55:06+00:00" "time": "2024-04-25T07:04:44+00:00"
}, },
{ {
"name": "doctrine/deprecations", "name": "doctrine/deprecations",
@@ -5203,16 +5203,16 @@
}, },
{ {
"name": "livewire/livewire", "name": "livewire/livewire",
"version": "v3.4.10", "version": "v3.4.11",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/livewire/livewire.git", "url": "https://github.com/livewire/livewire.git",
"reference": "6f90e2d7f8e80a97a7406c22a0fbc61ca1256ed9" "reference": "8a78d0c3ae9b4c96a2d8932ea4ac0dc782325de0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/livewire/livewire/zipball/6f90e2d7f8e80a97a7406c22a0fbc61ca1256ed9", "url": "https://api.github.com/repos/livewire/livewire/zipball/8a78d0c3ae9b4c96a2d8932ea4ac0dc782325de0",
"reference": "6f90e2d7f8e80a97a7406c22a0fbc61ca1256ed9", "reference": "8a78d0c3ae9b4c96a2d8932ea4ac0dc782325de0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -5267,7 +5267,7 @@
"description": "A front-end framework for Laravel.", "description": "A front-end framework for Laravel.",
"support": { "support": {
"issues": "https://github.com/livewire/livewire/issues", "issues": "https://github.com/livewire/livewire/issues",
"source": "https://github.com/livewire/livewire/tree/v3.4.10" "source": "https://github.com/livewire/livewire/tree/v3.4.11"
}, },
"funding": [ "funding": [
{ {
@@ -5275,7 +5275,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2024-04-02T14:22:50+00:00" "time": "2024-04-24T12:14:15+00:00"
}, },
{ {
"name": "masterminds/html5", "name": "masterminds/html5",
@@ -5911,16 +5911,16 @@
}, },
{ {
"name": "nwidart/laravel-modules", "name": "nwidart/laravel-modules",
"version": "v11.0.6", "version": "dev-feature/fixed_path",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nWidart/laravel-modules.git", "url": "https://github.com/korridor/laravel-modules.git",
"reference": "3f65a38cbe82e486be845ed763d8f48beec45269" "reference": "4135c3a33b8262c19a4cda6669ba93e857ad3e59"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nWidart/laravel-modules/zipball/3f65a38cbe82e486be845ed763d8f48beec45269", "url": "https://api.github.com/repos/korridor/laravel-modules/zipball/4135c3a33b8262c19a4cda6669ba93e857ad3e59",
"reference": "3f65a38cbe82e486be845ed763d8f48beec45269", "reference": "4135c3a33b8262c19a4cda6669ba93e857ad3e59",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -5952,14 +5952,33 @@
} }
}, },
"autoload": { "autoload": {
"files": [
"src/helpers.php"
],
"psr-4": { "psr-4": {
"Nwidart\\Modules\\": "src" "Nwidart\\Modules\\": "src"
},
"files": [
"src/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"Nwidart\\Modules\\Tests\\": "tests",
"Modules\\Recipe\\": "tests/stubs/valid/Recipe"
} }
}, },
"notification-url": "https://packagist.org/downloads/", "scripts": {
"update-snapshots": [
"./vendor/bin/phpunit --no-coverage -d --update-snapshots"
],
"test": [
"vendor/bin/phpunit"
],
"test-coverage": [
"vendor/bin/phpunit --coverage-html coverage"
],
"pcf": [
"vendor/bin/php-cs-fixer fix --verbose"
]
},
"license": [ "license": [
"MIT" "MIT"
], ],
@@ -5980,20 +5999,19 @@
"rad" "rad"
], ],
"support": { "support": {
"issues": "https://github.com/nWidart/laravel-modules/issues", "source": "https://github.com/korridor/laravel-modules/tree/feature/fixed_path"
"source": "https://github.com/nWidart/laravel-modules/tree/v11.0.6"
}, },
"funding": [ "funding": [
{ {
"url": "https://github.com/dcblogdev", "type": "github",
"type": "github" "url": "https://github.com/nwidart"
}, },
{ {
"url": "https://github.com/nwidart", "type": "github",
"type": "github" "url": "https://github.com/dcblogdev"
} }
], ],
"time": "2024-04-21T22:14:23+00:00" "time": "2024-04-25T12:46:50+00:00"
}, },
{ {
"name": "nyholm/psr7", "name": "nyholm/psr7",
@@ -12735,16 +12753,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "11.1.2", "version": "11.1.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "51e342a0bc987e0ea8418105d0711f08ae116de3" "reference": "d475be032238173ca3b0a516f5cc291d174708ae"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/51e342a0bc987e0ea8418105d0711f08ae116de3", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/d475be032238173ca3b0a516f5cc291d174708ae",
"reference": "51e342a0bc987e0ea8418105d0711f08ae116de3", "reference": "d475be032238173ca3b0a516f5cc291d174708ae",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -12815,7 +12833,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy", "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/11.1.2" "source": "https://github.com/sebastianbergmann/phpunit/tree/11.1.3"
}, },
"funding": [ "funding": [
{ {
@@ -12831,7 +12849,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-04-14T07:13:56+00:00" "time": "2024-04-24T06:34:25+00:00"
}, },
{ {
"name": "sebastian/cli-parser", "name": "sebastian/cli-parser",
@@ -13758,16 +13776,16 @@
}, },
{ {
"name": "spatie/backtrace", "name": "spatie/backtrace",
"version": "1.5.3", "version": "1.6.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/backtrace.git", "url": "https://github.com/spatie/backtrace.git",
"reference": "483f76a82964a0431aa836b6ed0edde0c248e3ab" "reference": "8373b9d51638292e3bfd736a9c19a654111b4a23"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/backtrace/zipball/483f76a82964a0431aa836b6ed0edde0c248e3ab", "url": "https://api.github.com/repos/spatie/backtrace/zipball/8373b9d51638292e3bfd736a9c19a654111b4a23",
"reference": "483f76a82964a0431aa836b6ed0edde0c248e3ab", "reference": "8373b9d51638292e3bfd736a9c19a654111b4a23",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -13775,6 +13793,7 @@
}, },
"require-dev": { "require-dev": {
"ext-json": "*", "ext-json": "*",
"laravel/serializable-closure": "^1.3",
"phpunit/phpunit": "^9.3", "phpunit/phpunit": "^9.3",
"spatie/phpunit-snapshot-assertions": "^4.2", "spatie/phpunit-snapshot-assertions": "^4.2",
"symfony/var-dumper": "^5.1" "symfony/var-dumper": "^5.1"
@@ -13804,7 +13823,7 @@
"spatie" "spatie"
], ],
"support": { "support": {
"source": "https://github.com/spatie/backtrace/tree/1.5.3" "source": "https://github.com/spatie/backtrace/tree/1.6.1"
}, },
"funding": [ "funding": [
{ {
@@ -13816,7 +13835,7 @@
"type": "other" "type": "other"
} }
], ],
"time": "2023-06-28T12:59:17+00:00" "time": "2024-04-24T13:22:11+00:00"
}, },
{ {
"name": "spatie/flare-client-php", "name": "spatie/flare-client-php",
@@ -14249,7 +14268,8 @@
"aliases": [], "aliases": [],
"minimum-stability": "stable", "minimum-stability": "stable",
"stability-flags": { "stability-flags": {
"dedoc/scramble": 20 "dedoc/scramble": 20,
"nwidart/laravel-modules": 20
}, },
"prefer-stable": true, "prefer-stable": true,
"prefer-lowest": false, "prefer-lowest": false,