Skip to content

Cannot remove prerelease version of package #42

Open

Description

I've created PR here DefinitelyTyped/DefinitelyTyped#41418, which fails CI build check as the package version is prelease one (previously it was tagged as alpha, now as rc): 1.0.0-rc.2.
The check fails because of strict version check, which does not coerce prelease versions as in https://github.com/npm/node-semver/blob/70d9fb3f1c128227a3cd911867edb07a54260cad/classes/semver.js

Is that version check outcome expected (I'd close the issue) or should it be somehow addressed?
Thanks!

Somehow similar, already tracked issue:
https://github.com/microsoft/types-publisher/issues/696

Activity

  1. sandersn commented on Jun 9, 2020

    @sandersn
    Member

    This should be fixed, but it's not the same as #40 (nee microsoft/types-publisher#696), since there we want allow deletion of subdirectories without deprecating the whole thing. Here we want to allow deprecation with the specified target version being coerced according to semver rules.

  2. peterblazejewicz commented on Jun 9, 2020

    @peterblazejewicz
    ContributorAuthor

    Thanks, closing!

  3. sandersn commented on Jun 10, 2020

    @sandersn
    Member

    Oh no, I was very ambiguous! I meant "This needs to be fixed." not "This is already fixed." -- human language strikes again.

  4. added 3 commits that reference this issue on Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions