diff --git a/bin/satellite b/bin/satellite index 7986789a..9bad54e1 100755 --- a/bin/satellite +++ b/bin/satellite @@ -25,6 +25,7 @@ $app->addCommands([ new \Kiboko\Component\Satellite\Console\Command\ValidateCommand(), new \Kiboko\Component\Satellite\Console\Command\PipelineRunCommand(), new \Kiboko\Component\Satellite\Console\Command\WorkflowRunCommand(), + new \Kiboko\Component\Satellite\Console\Command\RunCommand(), ]); $app->run(new Input\ArgvInput(), new Output\ConsoleOutput()); diff --git a/src/Action/Custom/Service.php b/src/Action/Custom/Service.php index 4bd351ca..a7694a1c 100644 --- a/src/Action/Custom/Service.php +++ b/src/Action/Custom/Service.php @@ -13,6 +13,9 @@ #[Configurator\Action( name: 'custom', + dependencies: [ + 'symfony/dependency-injection:^6.0', + ], )] final readonly class Service implements Configurator\ActionInterface { diff --git a/src/Plugin/Custom/Service.php b/src/Plugin/Custom/Service.php index aeac335b..de5fdf72 100644 --- a/src/Plugin/Custom/Service.php +++ b/src/Plugin/Custom/Service.php @@ -13,11 +13,14 @@ #[Configurator\Pipeline( name: 'custom', + dependencies: [ + 'symfony/dependency-injection:^6.0', + ], steps: [ new Configurator\Pipeline\StepExtractor(), new Configurator\Pipeline\StepTransformer(), new Configurator\Pipeline\StepLoader(), - ], + ] )] final readonly class Service implements Configurator\PipelinePluginInterface { private Processor $processor; diff --git a/src/Service.php b/src/Service.php index da9e6d77..e49b585c 100644 --- a/src/Service.php +++ b/src/Service.php @@ -238,6 +238,10 @@ private function compileWorkflow(array $config): Satellite\Builder\Repository\Wo 'php-etl/pipeline-contracts:>=0.5.1 <0.6', 'php-etl/action-contracts:>=0.2.0 <0.3', 'php-etl/workflow:*', + 'php-etl/workflow-console-runtime:*', + 'psr/log:*', + 'monolog/monolog:*', + 'symfony/dotenv:^6.0' ); $repository->addFiles( @@ -328,16 +332,13 @@ private function compilePipelineJob(array $config): Satellite\Builder\Repository $repository = new Satellite\Builder\Repository\Pipeline($pipeline); $repository->addPackages( + 'php-etl/satellite-contracts:>=0.1.1 <0.2', 'php-etl/pipeline-contracts:>=0.5.1 <0.6', 'php-etl/pipeline:*', - 'php-etl/console-state:*', 'php-etl/pipeline-console-runtime:*', - 'php-etl/workflow-console-runtime:*', 'psr/log:*', 'monolog/monolog:*', - 'symfony/console:^6.0', - 'symfony/dotenv:^6.0', - 'symfony/dependency-injection:^6.0', + 'symfony/dotenv:^6.0' ); if (\array_key_exists('expression_language', $config['pipeline'])