Open gravelpot opened 2 years ago
Bump. @pratikbassi Can you weigh in on whether you would be willing to consider this suggestion?
Hi @pratikbassi, I'm checking in again to see if you would be willing to consider this suggestion. Please let me know if there's any additional information I could provide to help you evaluate what we're proposing:
2.0.0
to indicate a new "major release" (using the Semver definition) and to clearly differentiate it from the historical releases of kenwheeler/slick
.npm
.bumping this issue since it is a major blocker in order to maintain a project. To use the accessible slick, I had to specify an exact version in my composer.json which is bad practice.
"npm-asset/accessible360--accessible-slick": "v1.0.1"
Hi @pratikbassi, checking back again to see if you can consider this suggestion, especially now that @recrit has agreed that it is an issue. Appreciate your time in maintaining this project!
Adding support to this suggestion. I am also a Drupal user looking to use this project with Composer.
First of all, thank you for this awesome package. We have started using
accessible-slick
in our university's custom Drupal distribution as part of a pre-rolled carousel feature, and it feels really great to be able to say that we are using a package designed for accessibility as part of that feature.We are running into a challenge with the versioning policy for this package and its history as a fork of
kenwheeler/slick
.Because our project is PHP-based, we are pulling
accessible-slick
into our project using https://asset-packagist.org/, which allows PHP projects to pull in NPM dependencies using Composer.Since this git repo is a fork of
kenwheeler/slick
, it retains the entire Git tag history of that repo. The most recent tag/release of that project was tagged asv1.8.1
(interesting to note that the "v" was only introduced into the tag naming convention as of that last release -- the prior tag was1.8.0
without thev
).It appears that when you started creating releases of this repo, you started over with
v1.0.0
, and the most recent release is tagged asv1.0.1
. This is problematic for a couple of reasons:v1.8.1
because1.8.1
is greater than1.0.1
. If you look at the package's page on Asset Packagist, you can see that the "actual" releases ofaccessible-slick
are listed all the way at the bottom, and the older tags which were inherited fromkenwheeler/slick
are at the top, because the versions are being sorted in Semver order. As an example, when I create a new Composer project and define asset-packagist as a repository, using the package requirementrequire npm-asset/accessible360--accessible-slick
(which should get the most recent stable version) will pull in version1.8.1
(see example output below)Since it looks like you intend to move forward with ongoing development and releases, I wonder if you would consider the following suggestions (together, or separately):
2.0.0
to indicate a new "major release" (using the Semver definition) and to clearly differentiate it from the historical releases ofkenwheeler/slick
.npm
.(I don't know much about
npm
, but if thev
prefix is getting added bynpm version
, it looks like there is a way to forcenpm
to not use it: https://stackoverflow.com/questions/37788907/have-npm-version-not-prepend-v-to-the-git-tag)Thanks for considering this suggestion!
Example output from Composer