Skip to content

feat(no-tag-publish): add proposal for a no-tag publish#321

Closed
wraithgar wants to merge 1 commit into
npm:mainfrom
wraithgar:gar/no-tag-publish
Closed

feat(no-tag-publish): add proposal for a no-tag publish#321
wraithgar wants to merge 1 commit into
npm:mainfrom
wraithgar:gar/no-tag-publish

Conversation

@wraithgar

Copy link
Copy Markdown
Contributor

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

ljharb commented Feb 12, 2021

Copy link
Copy Markdown
Contributor

--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
Copy Markdown
Contributor 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

ljharb commented Feb 12, 2021

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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

ljharb commented Apr 14, 2023

Copy link
Copy Markdown
Contributor

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

@wraithgar

Copy link
Copy Markdown
Contributor Author

The npm registry itself doesn't support it.

@wraithgar

Copy link
Copy Markdown
Contributor Author

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

@ljharb

ljharb commented Apr 14, 2023

Copy link
Copy Markdown
Contributor

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