diff --git a/composer.json b/composer.json index a8a9fb74d..ca6e66de7 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,6 @@ "name": "lastdragon-ru/lara-asp", "homepage": "https://github.com/LastDragon-ru/lara-asp", "description": "The Awesome Set of Packages for Laravel.", - "readme": "README.md", "license": "MIT", "type": "library", "keywords": [ @@ -44,23 +43,23 @@ "ext-xmlreader": "*", "composer/semver": "^3.2", "doctrine/sql-formatter": "^1.1", + "guzzlehttp/psr7": "^1.9.1|^2.4.5", + "http-interop/http-factory-guzzle": "^1.0.0", + "illuminate/collections": "^10.34.0", "illuminate/console": "^10.34.0", "illuminate/container": "^10.34.0", "illuminate/contracts": "^10.34.0", - "illuminate/support": "^10.34.0", - "illuminate/collections": "^10.34.0", "illuminate/database": "^10.34.0", - "illuminate/macroable": "^10.34.0", "illuminate/filesystem": "^10.34.0", "illuminate/http": "^10.34.0", + "illuminate/macroable": "^10.34.0", "illuminate/pagination": "^10.34.0", "illuminate/process": "^10.34.0", "illuminate/routing": "^10.34.0", - "illuminate/validation": "^10.34.0", + "illuminate/support": "^10.34.0", "illuminate/testing": "^10.34.0", "illuminate/translation": "^10.34.0", - "guzzlehttp/psr7": "^1.9.1|^2.4.5", - "http-interop/http-factory-guzzle": "^1.0.0", + "illuminate/validation": "^10.34.0", "league/commonmark": "^2.4", "mockery/mockery": "^1.6.2", "nikic/php-parser": "^4.18|^5.0", @@ -90,89 +89,113 @@ "ext-pdo_sqlite": "*", "bamarni/composer-bin-plugin": "^1.8", "composer/class-map-generator": "^1.0", - "illuminate/cache": "^10.34.0", "fakerphp/faker": "^1.21.0", + "illuminate/cache": "^10.34.0", "laravel/scout": "^9.8.0|^10.0.0", "orchestra/testbench": "^8.0.0", "symfony/var-dumper": "^6.3.0" }, "autoload": { + "exclude-from-classmap": [ + "dev/**.php", + "packages/core/src/**Test.php", + "packages/core/src/Testing/**.php", + "packages/documentator/src/**Test.php", + "packages/documentator/src/Testing/**.php", + "packages/eloquent/src/**Test.php", + "packages/eloquent/src/Testing/**.php", + "packages/formatter/src/**Test.php", + "packages/formatter/src/Testing/**.php", + "packages/graphql-printer/src/**Test.php", + "packages/graphql-printer/src/Testing/**.php", + "packages/graphql/src/**Test.php", + "packages/graphql/src/Testing/**.php", + "packages/migrator/src/**Test.php", + "packages/migrator/src/Testing/**.php", + "packages/serializer/src/**Test.php", + "packages/serializer/src/Testing/**.php", + "packages/spa/src/**Test.php", + "packages/spa/src/Testing/**.php", + "packages/testing/src/**Test.php", + "packages/testing/src/Package/**.php" + ], "files": [ "packages/eloquent/src/mixins.php", "packages/testing/src/mixins.php" ], "psr-4": { "LastDragon_ru\\LaraASP\\Core\\": "packages/core/src/", - "LastDragon_ru\\LaraASP\\Migrator\\": "packages/migrator/src/", - "LastDragon_ru\\LaraASP\\Testing\\": "packages/testing/src/", + "LastDragon_ru\\LaraASP\\Documentator\\": "packages/documentator/src/", "LastDragon_ru\\LaraASP\\Eloquent\\": "packages/eloquent/src/", "LastDragon_ru\\LaraASP\\Formatter\\": "packages/formatter/src/", - "LastDragon_ru\\LaraASP\\Spa\\": "packages/spa/src/", - "LastDragon_ru\\LaraASP\\GraphQL\\": "packages/graphql/src/", "LastDragon_ru\\LaraASP\\GraphQLPrinter\\": "packages/graphql-printer/src/", + "LastDragon_ru\\LaraASP\\GraphQL\\": "packages/graphql/src/", + "LastDragon_ru\\LaraASP\\Migrator\\": "packages/migrator/src/", "LastDragon_ru\\LaraASP\\Serializer\\": "packages/serializer/src/", - "LastDragon_ru\\LaraASP\\Documentator\\": "packages/documentator/src/" - }, - "exclude-from-classmap": [ - "dev/**.php", - "packages/*/src/**Test.php", - "packages/*/src/Testing/**.php", - "packages/testing/src/Package/**.php" - ] + "LastDragon_ru\\LaraASP\\Spa\\": "packages/spa/src/", + "LastDragon_ru\\LaraASP\\Testing\\": "packages/testing/src/" + } }, "autoload-dev": { + "exclude-from-classmap": [ + "dev/**.php", + "packages/core/docs/", + "packages/documentator/docs/", + "packages/eloquent/docs/", + "packages/formatter/docs/", + "packages/graphql-printer/docs/", + "packages/graphql/docs/", + "packages/migrator/docs/", + "packages/serializer/docs/", + "packages/spa/docs/", + "packages/testing/docs/" + ], "psr-4": { - "LastDragon_ru\\LaraASP\\Dev\\App\\": "dev/App", - "LastDragon_ru\\LaraASP\\Dev\\PhpStan\\": "dev/PhpStan", "Larastan\\Larastan\\": "dev/Larastan", "LastDragon_ru\\LaraASP\\Core\\Docs\\": "packages/core/docs", + "LastDragon_ru\\LaraASP\\Dev\\App\\": "dev/App", + "LastDragon_ru\\LaraASP\\Dev\\PhpStan\\": "dev/PhpStan", "LastDragon_ru\\LaraASP\\Documentator\\Docs\\": "packages/documentator/docs", "LastDragon_ru\\LaraASP\\Eloquent\\Docs\\": "packages/eloquent/docs", "LastDragon_ru\\LaraASP\\Formatter\\Docs\\": "packages/formatter/docs", - "LastDragon_ru\\LaraASP\\GraphQL\\Docs\\": "packages/graphql/docs", "LastDragon_ru\\LaraASP\\GraphQLPrinter\\Docs\\": "packages/graphql-printer/docs", + "LastDragon_ru\\LaraASP\\GraphQL\\Docs\\": "packages/graphql/docs", "LastDragon_ru\\LaraASP\\Migrator\\Docs\\": "packages/migrator/docs", "LastDragon_ru\\LaraASP\\Serializer\\Docs\\": "packages/serializer/docs", "LastDragon_ru\\LaraASP\\Spa\\Docs\\": "packages/spa/docs", "LastDragon_ru\\LaraASP\\Testing\\Docs\\": "packages/testing/docs" - }, - "exclude-from-classmap": [ - "packages/*/docs", - "dev/**.php" - ] + } }, "extra": { - "laravel": { - "providers": [ - "LastDragon_ru\\LaraASP\\Migrator\\Provider", - "LastDragon_ru\\LaraASP\\Formatter\\Provider", - "LastDragon_ru\\LaraASP\\Spa\\Provider", - "LastDragon_ru\\LaraASP\\GraphQL\\Provider", - "LastDragon_ru\\LaraASP\\Serializer\\Provider", - "LastDragon_ru\\LaraASP\\Documentator\\Provider", - "LastDragon_ru\\LaraASP\\Eloquent\\Provider" - ] - }, "bamarni-bin": { "bin-links": false, "forward-command": false }, "lara-asp": { "ci": { + "optional-packages": [ + "laravel/scout" + ], "required-extensions": { - "league/flysystem": [ - "ext-fileinfo" - ], "illuminate/console": [ "ext-mbstring" - ] - }, - "optional-packages": { - "lastdragon-ru/lara-asp-graphql": [ - "laravel/scout" + ], + "league/flysystem": [ + "ext-fileinfo" ] } } + }, + "laravel": { + "providers": [ + "LastDragon_ru\\LaraASP\\Documentator\\Provider", + "LastDragon_ru\\LaraASP\\Eloquent\\Provider", + "LastDragon_ru\\LaraASP\\Formatter\\Provider", + "LastDragon_ru\\LaraASP\\GraphQL\\Provider", + "LastDragon_ru\\LaraASP\\Migrator\\Provider", + "LastDragon_ru\\LaraASP\\Serializer\\Provider", + "LastDragon_ru\\LaraASP\\Spa\\Provider" + ] } }, "scripts": { @@ -188,6 +211,10 @@ "@composer-require-checker", "@composer-unused" ], + "merge:dependencies": [ + "./vendor-bin/monorepo-builder/vendor/bin/monorepo-builder merge", + "jq --indent 2 '.' composer.json > composer.tmp && mv composer.tmp composer.json" + ], "phpstan": [ "./vendor-bin/phpstan/vendor/bin/phpstan analyse" ], @@ -233,14 +260,14 @@ }, "replace": { "lastdragon-ru/lara-asp-core": "self.version", - "lastdragon-ru/lara-asp-migrator": "self.version", - "lastdragon-ru/lara-asp-testing": "self.version", + "lastdragon-ru/lara-asp-documentator": "self.version", "lastdragon-ru/lara-asp-eloquent": "self.version", "lastdragon-ru/lara-asp-formatter": "self.version", - "lastdragon-ru/lara-asp-spa": "self.version", "lastdragon-ru/lara-asp-graphql": "self.version", "lastdragon-ru/lara-asp-graphql-printer": "self.version", + "lastdragon-ru/lara-asp-migrator": "self.version", "lastdragon-ru/lara-asp-serializer": "self.version", - "lastdragon-ru/lara-asp-documentator": "self.version" + "lastdragon-ru/lara-asp-spa": "self.version", + "lastdragon-ru/lara-asp-testing": "self.version" } }