Problem/Motivation
With recent versions of composer, uppercase characters in package names is not tolerated.
[Composer\Repository\InvalidRepositoryException]
A repository of type "package" contains an invalid package definition: Invalid package information:
name : inorganik/countUp.js is invalid, it should not contain uppercase characters. We suggest using inorganik/count-up.js instead.
Invalid package definition:
{"name":"inorganik\/countUp.js","version":"2.0.6","type":"drupal-library","dist":{"url":"https:\/\/github.com\/inorganik\/countUp.js\/archive\/2.0.6.zip","type":"zip"}}
Proposed resolution
Lowercasing the package name
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3256424-3.patch | 592 bytes | elber |
Issue fork countup-3256424
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
elberComment #3
elberComment #4
anagomes commentedPatch in #3 applies and fixes the uppercase characters.
Comment #5
louis-cuny commentedThe patch #3 is not correct, check the MR instead
Comment #6
elberHello @louis-cuny what is "MR"? I didn't understand what is your desire. Can you help me, please?
Comment #7
andregp commentedHi @elber
I think you should have changedThe module description usescountUp.jstocount-up.jsnotcountup.js(As shown on issue description).countup.jsso it's probably preferable.Also, as far as I know, MR means "merge request" so @louis-cuny is probably asking you to send a MR instead of a patch.
Comment #8
elberComment #10
b-prod commentedComment #11
elber