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

Support non-latest npm dist tags #223

Closed
noahnu opened this issue Feb 3, 2021 · 5 comments
Closed

Support non-latest npm dist tags #223

noahnu opened this issue Feb 3, 2021 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@noahnu
Copy link
Contributor

noahnu commented Feb 3, 2021

Is your feature request related to a problem? Please describe.

Currently we publish with tag=latest, are there use cases where we want to specify some other tag? Pre-release?

Describe the solution you'd like

Unclear.

@noahnu noahnu added the enhancement New feature or request label Feb 3, 2021
@noahnu noahnu added this to the v2.0.0 milestone Feb 3, 2021
@noahnu noahnu added this to To do in Monodeploy - v2.0.0 via automation Feb 3, 2021
@noahnu noahnu removed this from the v2.0.0 milestone Feb 25, 2021
@noahnu noahnu added this to the Lerna Parity milestone May 20, 2021
@noahnu
Copy link
Contributor Author

noahnu commented Jul 15, 2021

Is this required outside of pre-release? (@fmal thoughts?)

@fmal
Copy link
Contributor

fmal commented Jul 17, 2021

@noahnu personally i can't think of any common use case other than prereleases (via alpha, beta, next, rc tags and so on), maybe something like experimental where you could test experimental stuff that doesn't even get merged with the latest but i haven't had a need for anything like that

@noahnu
Copy link
Contributor Author

noahnu commented Jul 18, 2021

Will close this out then. We can always re-open it.

@noahnu noahnu closed this as completed Jul 18, 2021
@etimberg
Copy link

An interesting thought on this topic. I've used next as the dist tag for alpha and beta releases in libraries that I maintain.

One thing that might be nice would be a way to remove these tags when latest is published (or publish both latest and next at the same time). NPM sadly doesn't do this by default, so if you start with latest pointing to v2.5.0 and next pointing to v2.6.0-rc.1, when you publish v2.6.0 as latest, next will be incorrect until another pre-release is published.

@noahnu
Copy link
Contributor Author

noahnu commented Jul 18, 2021

We're doing the same thing currently in monodeploy, i.e. allowing the tags to get out of sync.

I do wonder if deleting the "next" tag might create confusion -- or have any other unintended consequences.

Keeping the pre-release tag in sync with next is an interesting idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants