Skip to content

provide a way to match latest prerelease #175

@kellyselden

Description

@kellyselden

You have stated that prereleases are to be excluded in ranges:

So, 1.2.3-beta.4 would be allowed, but 1.2.4-beta.2 would not, because it is a prerelease of a different [major, minor, patch] tuple.

But for prereleases (betas, canaries) that live forever and move minor versions:

devDependencies: {
  'ember-data': 'emberjs/data#beta'
}

I would like peerDependencies to also be able to match this. If you put the same in peerDependencies:

peerDependencies: {
  'ember-data': 'emberjs/data#beta'
}

It doesn't work because the real version is resolved by then.

It should be noted this is just for CI testing purposes, where I want to test all betas and canaries as new versions are released.

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