mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 13:28:18 +01:00
[Meta] Add Monorepo Builder (#5669)
This commit is contained in:
parent
3bb327e797
commit
c480e0468c
@ -73,9 +73,10 @@
|
||||
"symfony/security-http": "^5.2",
|
||||
"symplify/changelog-linker": "^9.2.1",
|
||||
"symplify/coding-standard": "^9.2.1",
|
||||
"symplify/easy-coding-standard": "^9.2.1",
|
||||
"symplify/easy-ci": "^9.1.0",
|
||||
"symplify/easy-coding-standard": "^9.2.1",
|
||||
"symplify/easy-testing": "^9.2.1",
|
||||
"symplify/monorepo-builder": "^9.2",
|
||||
"symplify/phpstan-extensions": "^9.2.1",
|
||||
"symplify/phpstan-rules": "^9.2.1",
|
||||
"tracy/tracy": "^2.8"
|
||||
@ -323,7 +324,8 @@
|
||||
"vendor/bin/ecs check-markdown docs/rector_rules_overview.md docs/nodes_overview.md --ansi --fix"
|
||||
],
|
||||
"rector-ci": "bin/rector process --dry-run --ansi",
|
||||
"rector": "bin/rector process --ansi"
|
||||
"rector": "bin/rector process --ansi",
|
||||
"release": "vendor/bin/monorepo-builder release patch --ansi"
|
||||
},
|
||||
"config": {
|
||||
"sort-packages": true
|
||||
|
19
monorepo-builder.php
Normal file
19
monorepo-builder.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||||
use Symplify\MonorepoBuilder\Release\ReleaseWorker\AddTagToChangelogReleaseWorker;
|
||||
use Symplify\MonorepoBuilder\Release\ReleaseWorker\PushNextDevReleaseWorker;
|
||||
use Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker;
|
||||
use Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker;
|
||||
|
||||
return static function (ContainerConfigurator $containerConfigurator): void {
|
||||
$services = $containerConfigurator->services();
|
||||
|
||||
# release workers - in order to execute
|
||||
$services->set(AddTagToChangelogReleaseWorker::class);
|
||||
$services->set(TagVersionReleaseWorker::class);
|
||||
$services->set(PushTagReleaseWorker::class);
|
||||
$services->set(PushNextDevReleaseWorker::class);
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user