Skip to content

Default qualified version numbers are not semver-compliant #36

@invpos

Description

@invpos

The three default qualified version numbers (0.0.0-EMPTY_GIT_REPOSITORY, 0.0.0-NOT_A_GIT_REPOSITORY, 0.0.0-NO_WORKTREE_AND_INDEX) contain underscore characters. But underscores are not legal according to semver and npm takes this seriously:

# npm version 0.0.0-NOT_A_GIT_REPOSITORY
npm ERR! Invalid version: 0.0.0-NOT_A_GIT_REPOSITORY

Either the profile must be enforced for the 3 default qualified version numbers so that I have the chance to remove these underscore characters, or an option must be added to specify semver-compliant version numbers for these three. This is related to #33.

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