Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

wraithgar
Copy link
Member

@wraithgar wraithgar commented Jan 16, 2025

This fixes two bugs with how publish checks the highest semver version of existing packages.

First, it allows for the presence of publishConfig.tag to be considered "not default", allowing publish in that situation.

Second, it disregards deprecated versions from consideration when finding if there are any higher versions extant.

Other commits in this PR updates @npmcli/eslint-config and removes some max-len bypasses that are no longer needed thanks to that update.

Finally, a scope was added to the test package name in the publish tests.

References

Closes: #8017

@wraithgar wraithgar requested a review from a team as a code owner January 16, 2025 20:47
@wraithgar wraithgar merged commit dc31c1b into latest Jan 17, 2025
19 checks passed
@wraithgar wraithgar deleted the gar/publish-semver branch January 17, 2025 15:31
@github-actions github-actions bot mentioned this pull request Jan 14, 2025
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

Successfully merging this pull request may close these issues.

[BUG] npm 11 publish pre-release does not take publishConfig.tag into account
2 participants