kevinquillen / recipe-generator

Adds Drush command(s) to help generate Recipes for Drupal.
MIT License
6 stars 5 forks source link

DrupalGenerator dependency on chi-teck/drupal-code-generator:^2.0 #4

Open xurizaemon opened 6 months ago

xurizaemon commented 6 months ago

It looks like the use of DrupalGenerator in this depends on chi-teck/drupal-code-generator 2.x?

As of 3.0 (chi-teck/drupal-code-generator@175d7cf6aa13b693db024d838332adfd9d588bef) that class is removed.

Currently there is no explicit constraint for chi-teck/drupal-code-generator in this package.

If Drush 12 is installed, chi-teck/drupal-code-generator is already required at ^3.0. In such a project where chi-teck/drupal-code-generator was installed (at 3.3.x) before kevinquillen/recipe-generator, drush gen did not see the recipe command for me.

xurizaemon commented 6 months ago

I see that drush/drush[12.4.3, ..., 12.x-dev] require chi-teck/drupal-code-generator ^3.0 already. It probably doesn't make sense to do #5 at all then, the generator will need updating I expect.