drupal-graphql / graphql-views

11 stars 18 forks source link

Add composer.json #3

Closed jmarkel closed 6 years ago

jmarkel commented 6 years ago

Trying to use this module via composer fails because:

  1. The old 3-x@alpha version of graphql_views is what gets picked up from packages.drupal.com
  2. This 1-x@dev version isn't being picked up even when specifying github as the source because there's no composer.json

So I just added a composer.json...

badrange commented 6 years ago

The module is not really possible to install without this for those of us who uses composer.

pmelab commented 6 years ago

Thanks! I'm sorry for the delay.

badrange commented 6 years ago

Hi @pmelab - thanks! Please remember to push this fix to drupal.org too - at the moment I am not able to install graphql-views on my local environment at least

jmarkel commented 6 years ago

As I noted in Slack, I think the issue on d.o is a name/number conflict. Either this module needs to be given a higher number (at least 3.1) or the name changed, because any attempt in Composer is going to find graphql_views 3.0-alpha and ignore graphql_views 1.x-dev as an earlier, obsolete version.