Skip to content

Commit

Permalink
Merge pull request #1418 from hydephp/add-monorepo-tools
Browse files Browse the repository at this point in the history
Add internal monorepo development tools
  • Loading branch information
caendesilva authored Oct 30, 2023
2 parents 1803ee0 + d0568b3 commit 4852571
Show file tree
Hide file tree
Showing 6 changed files with 465 additions and 5 deletions.
9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,17 @@
"laravel-zero/framework": "^10.0"
},
"require-dev": {
"desilva/psalm-coverage": "dev-master",
"driftingly/rector-laravel": "^0.14.1",
"hyde/monorepo-dev-tools": "dev-master",
"hyde/realtime-compiler": "dev-master",
"hyde/testing": "dev-master",
"jetbrains/phpstorm-attributes": "^1.0",
"laravel/tinker": "^2.7",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^1.8",
"rector/rector": "^0.15.1",
"squizlabs/php_codesniffer": "^3.7",
"desilva/psalm-coverage": "dev-master"
"squizlabs/php_codesniffer": "^3.7"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -65,6 +66,10 @@
"type": "path",
"url": "./packages/*"
},
{
"type": "path",
"url": "./monorepo/DevTools"
},
{
"type": "vcs",
"url": "https://github.com/caendesilva/psalm-coverage"
Expand Down
33 changes: 30 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions monorepo/DevTools/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor
17 changes: 17 additions & 0 deletions monorepo/DevTools/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "hyde/monorepo-dev-tools",
"description": "Internal devtools for the monorepo",
"autoload": {
"psr-4": {
"Hyde\\MonorepoDevTools\\": "src/"
}
},
"require": {},
"extra": {
"laravel": {
"providers": [
"Hyde\\MonorepoDevTools\\MonorepoDevToolsServiceProvider"
]
}
}
}
22 changes: 22 additions & 0 deletions monorepo/DevTools/src/MonorepoDevToolsServiceProvider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

declare(strict_types=1);

namespace Hyde\MonorepoDevTools;

use Illuminate\Support\ServiceProvider;

class MonorepoDevToolsServiceProvider extends ServiceProvider
{
public function register(): void
{
//
}

public function boot(): void
{
$this->commands([
MonorepoReleaseCommand::class,
]);
}
}
Loading

0 comments on commit 4852571

Please sign in to comment.