Problem/Motivation
Installation of jcarouselSwipe library fails in Composer [2] due to upper case characters - as described in the readme.txt
[RuntimeException]
require.snake-345/jcarouselSwipe is invalid, it should not contain uppercase characters. Please use snake-3
45/jcarouselswipe instead.
Proposed resolution
readme.txt installation guide needs to be altered to change the upper case S in jcarouselSwipe to lower case s jcarouselswipe:
"repositories": [
{
"type": "package",
"package": {
"name": "jsor/jcarousel",
"version": "0.3.8",
"type": "drupal-library",
"dist": {
"url": "https://github.com/jsor/jcarousel/archive/0.3.8.zip",
"type": "zip"
}
}
},
{
"type": "package",
"package": {
"name": "snake-345/jcarouselswipe",
"version": "0.3.7",
"type": "drupal-library",
"dist": {
"url": "https://github.com/snake-345/jcarouselSwipe/archive/0.3.7.zip",
"type": "zip"
}
}
}
]
...
After that, run:
$ composer require jsor/jcarousel
$ composer require snake-345/jcarouselswipe
$ composer require drupal/jcarousel
Not a big deal. Will add a patch in a bit