Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change package type to lowercase to fix for Composer 2 #11

Closed
wants to merge 1 commit into from

Conversation

rdarcy1
Copy link

@rdarcy1 rdarcy1 commented Mar 3, 2021

As of Composer 2, the package type must conform to the pattern ^[a-z0-9-]+$. Currently you'll get the error

  [Composer\Json\JsonValidationException]
  "./composer.json" does not match the expected JSON schema: 
   - type : Does not match the regex pattern ^[a-z0-9-]+$

Similar issue: anchorcms/anchor-cms#1330

@raja-7453
Copy link
Contributor

Thanks, @rdarcy1 here for your contribution. We will include this in our next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants