Skip to content

Support for version ranges #173

Closed
Closed
@dkniffin

Description

@dkniffin

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:

pin "slim-select", to: "https://ga.jspm.io/npm:[email protected]/dist/slimselect.min.mjs"

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions