yarn icon indicating copy to clipboard operation
yarn copied to clipboard

Add unpublish command

Open alexreg opened this issue 7 years ago • 22 comments

Could we get an unpublish command, like what npm has?

alexreg avatar Oct 19 '17 22:10 alexreg

+1

jeffrey-l-turner avatar Oct 27 '18 17:10 jeffrey-l-turner

$ yarn unpublish
yarn run v1.15.2
error Command "unpublish" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any news on this feature? It would be a great addition. Hope yarn team put it on their roadmap in near future.

P0oOOOo0YA avatar Apr 30 '19 06:04 P0oOOOo0YA

+1

KaKi87 avatar Jul 05 '19 15:07 KaKi87

+1

jjm340 avatar Aug 23 '19 00:08 jjm340

+1

oliveirasWell avatar Sep 02 '19 05:09 oliveirasWell

+1

shachyjr avatar Sep 04 '19 15:09 shachyjr

@dessant What if we want to purposely send a comment, in order to make a point ? I mean, this issue is active since almost 2 years while the request itself is very basic. Thanks

KaKi87 avatar Sep 04 '19 16:09 KaKi87

I have published a package which wasn't supposed to be published. How can I remove it, please help me.

techhysahil avatar Sep 23 '19 16:09 techhysahil

I have published a package which wasn't supposed to be published. How can I remove it, please help me.

https://docs.npmjs.com/cli/unpublish @techhysahil

shachyjr avatar Sep 27 '19 15:09 shachyjr

up

KaKi87 avatar Jan 21 '20 10:01 KaKi87

Hello, any news on this ? Thanks

KaKi87 avatar Mar 10 '20 16:03 KaKi87

Hello, any news?

cxspxr avatar May 23 '20 18:05 cxspxr

we need this now, really thinking about switching away from buggy yarn

Lawlez avatar Aug 05 '20 14:08 Lawlez

I'm looking for this too indeed, but yarn never really bugged from my experience. However, npm's UX is really low compared to yarn's.

KaKi87 avatar Aug 06 '20 09:08 KaKi87

+1

vfiee avatar Nov 07 '20 15:11 vfiee

+1

fsher avatar Nov 21 '20 16:11 fsher

Looks like Yarn 2 has: yarn npm tag remove <package> <tag>, so you should be able to do: yarn npm tag remove <package> latest. Docs: https://yarnpkg.com/cli/npm/tag/remove

juharris avatar Nov 26 '21 04:11 juharris

This is a good feature to add, for now we still need to use npm to unpublish:

npm login
npm unpublish

fzn0x avatar Nov 01 '22 01:11 fzn0x

+1

Vanja-S avatar Aug 30 '23 11:08 Vanja-S