Skip to content
Permalink
Browse files

Add composer:generator command. Replace generation of composer.json f…

…ile in Module Generator Command to chain using new composer:generator command (#3844)
  • Loading branch information...
LOBsTerr committed Apr 10, 2019
1 parent d80825f commit a6d97a2c97db91759ec76e9ab66ef700483773e0
@@ -1,7 +1,7 @@
services:
console.generate_module:
class: Drupal\Console\Command\Generate\ModuleCommand
arguments: ['@console.module_generator', '@console.validator', '@app.root', '@console.string_converter', '@console.drupal_api']
arguments: ['@console.module_generator', '@console.validator', '@app.root', '@console.string_converter', '@console.drupal_api', '@console.chain_queue']
tags:
- { name: drupal.command }
console.generate_modulefile:
@@ -232,6 +232,11 @@ services:
arguments: ['@console.extension_manager', '@console.js_test_generator', '@console.validator']
tags:
- { name: drupal.command }
console.generate_composer:
class: Drupal\Console\Command\Generate\ComposerCommand
arguments: ['@console.composer_generator', '@console.extension_manager', '@console.validator']
tags:
- { name: drupal.command }
console.generate_plugin_validation_constraint:
class: Drupal\Console\Command\Generate\PluginValidationConstraintCommand
arguments: ['@console.extension_manager', '@console.validation_constraint_generator','@console.string_converter', '@console.validator', '@console.chain_queue']
@@ -231,8 +231,13 @@ services:
arguments: ['@console.extension_manager']
tags:
- { name: drupal.generator }
console.composer_generator:
class: Drupal\Console\Generator\ComposerGenerator
arguments: ['@console.extension_manager']
tags:
- { name: drupal.generator }
console.validation_constraint_generator:
class: Drupal\Console\Generator\PluginValidationConstraintGenerator
arguments: ['@console.extension_manager']
tags:
- { name: drupal.generator }
- { name: drupal.generator }

0 comments on commit a6d97a2

Please sign in to comment.
You can’t perform that action at this time.