Skip to content

Commit

Permalink
chore: composer.json normalization (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
LastDragon-ru authored Mar 23, 2024
2 parents 191aea8 + 9b77661 commit 3e30a97
Showing 1 changed file with 78 additions and 51 deletions.
129 changes: 78 additions & 51 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand All @@ -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"
],
Expand Down Expand Up @@ -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"
}
}

0 comments on commit 3e30a97

Please sign in to comment.