rfcs
rfcs copied to clipboard
feat(no-tag-publish): add proposal for a no-tag publish
This is a suggestion that grew out of a discussion surrounding https://github.com/npm/rfcs/pull/317.
It will afford a way for end-users to publish new versions of packages without having to set a dist-tag for the version being published.
The name of the parameter is still tbd in the Bikeshedding section.
npm publish --skip-tag
References
Related to https://github.com/npm/rfcs/pull/319 Related to https://github.com/npm/rfcs/pull/317
--no-tag still seems like the best option; i doubt anyone's relying on that producing a false dist-tag (are there any packages with one in the registry?)
--no-tagstill seems like the best option; i doubt anyone's relying on that producing afalsedist-tag (are there any packages with one in the registry?)
We can't audit private packages for this anyways.
Surely private packages on the public registry can be audited for this?
Even if they are, I would consider that behavior a bug not a feature. If they want to have a string value of false they should be using --tag="false" IMO.
@wraithgar this is still a very valuable feature, can this be reopened?
The npm registry itself doesn't support it.
Also this is in line with our new rfc approach that it's something someone owns and is actively going to implement.
and there's no opportunity to get it onto the registry's roadmap?