Skip to content

Conversation

@wraithgar
Copy link
Member

This is a suggestion that grew out of a discussion surrounding #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 #319
Related to #317

@ljharb
Copy link
Contributor

ljharb commented Feb 12, 2021

--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?)

@wraithgar
Copy link
Member Author

--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?)

We can't audit private packages for this anyways.

@ljharb
Copy link
Contributor

ljharb commented Feb 12, 2021

Surely private packages on the public registry can be audited for this?

@darcyclarke darcyclarke added the Agenda will be discussed at the Open RFC call label Feb 17, 2021
@wesleytodd
Copy link

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.

@ljharb
Copy link
Contributor

ljharb commented Apr 14, 2023

@wraithgar this is still a very valuable feature, can this be reopened?

@wraithgar
Copy link
Member Author

The npm registry itself doesn't support it.

@wraithgar
Copy link
Member Author

Also this is in line with our new rfc approach that it's something someone owns and is actively going to implement.

@ljharb
Copy link
Contributor

ljharb commented Apr 14, 2023

and there's no opportunity to get it onto the registry's roadmap?

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.

4 participants