don't allow to publish legacy versions with implicit latest tag #4709
Comments
So to spec out this feature in pseudo-code, it looks like this:
|
Once concern is that the way config is currently implemented, there is no distinction between
So making a behavioral distinction based on that would be tricky. We do already have a |
This is enough of a footgun to have bitten several members of the CLI team over the years; that implies that it's something we should definitely address. There's a bit of trickiness to deal with the issue that @smikes mentions, but if you know about |
Docs for And possible sources are: |
I just published https://twitter.com/ljharb/status/747909983652585473 / https://www.npmjs.com/package/safe-publish-latest to help with this - I'd love to see something like this available in npm natively (just like the |
We're closing this issue as it has gone thirty days without activity. In our experience if an issue has gone thirty days without any activity then it's unlikely to be addressed. In the case of bug reports, often the underlying issue will be addressed but finding related issues is quite difficult and often incomplete. If this was a bug report and it is still relevant then we encourage you to open it again as a new issue. If this was a feature request then you should feel free to open it again, or even better open a PR. For more information about our new issue aging policies and why we've instituted them please see our blog post. |
Just a crazy idea to mitigate the issue with latest tag (#3397):
I'm not sure it's a good one (I would be in favor of removing
latest
tag entirely), but maybe it's worth a shot.The text was updated successfully, but these errors were encountered: