-
Notifications
You must be signed in to change notification settings - Fork 119
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
Support for version ranges #173
Comments
Agreed. It would be great to have the equivalent of |
I can appreciate wanting that, but turning importmap rails into a full package manager is out of scope. You can use outdated, and you'll have to manage the versions yourself. |
I changed the title of this issue, because semver doesn't currently support any kind of version range syntax, nor do they plan to and that's really what's needed here. iow, semver defines what |
Looping back here to mention that I created a gem to add this functionality: https://github.com/quimbee/importmap-package-manager It lets you separate your library imports into a separate |
Is it possible to specify a minor version of a pinned package?
For example, I'm using slim-select in my project. It seems I need to add the following to my config file:
But what happens if they release a 1.27.2? Or 1.28.0? Or 2.0?
importmap outdated
seems to partially solve this. It would show me if there's a new version. But then I would need to determine on my own if I can upgrade to that version or not. For a patch version, I probably can. Maybe for a minor version. But a major version would require some more effort on my part, presumably.The main question I guess is: how do I track which versions I can upgrade to and which ones I can't? Is that outside the scope of
importmap-rails
?The text was updated successfully, but these errors were encountered: