Skip to content
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

Default qualified version numbers are not semver-compliant #36

Open
invpos opened this issue Aug 10, 2021 · 0 comments
Open

Default qualified version numbers are not semver-compliant #36

invpos opened this issue Aug 10, 2021 · 0 comments

Comments

@invpos
Copy link

invpos commented Aug 10, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant