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

if pre-release publish with "next" tag on npm instead of default latest #1057

Open
ashleygwilliams opened this issue May 16, 2024 · 1 comment
Labels
feature request New feature or request good first issue Good for newcomers

Comments

@ashleygwilliams
Copy link
Member

per conversation in #1054 (comment)

i apparently misremembered the default behavior of npm pubilsh when you are publishing a package with a semver pre-release version. if something is a pre-release and there are stable releases, we should tag the npm publish as next, not latest. you can see examples of this with prettier and eslint

@ashleygwilliams ashleygwilliams added feature request New feature or request good first issue Good for newcomers labels May 16, 2024
@gc-victor
Copy link

Actually, you can use the pre-release version (ex. pre-release-0.15.0) as a tag, it will be more accurate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants