Improve UX of yarn release
#548
Labels
effort/hours
Estimated to take one or several hours
exp/intermediate
Prior experience is likely helpful
kind/bug
A bug in existing code (including security flaws)
need/analysis
Needs further analysis before proceeding
P1
High: Likely tackled by core team if no one steps up
status/ready
Ready to be worked
If
package.json
has:and I run
yarn release
instead ofnpm run release
it fails at the very last stage of publishing to NPM:I did not look at the URL and assumed i got logged out from NPM, to I've run
npm login
and then retried withyarn release
, which failed again 🙃I feel bit ashamed that it took me two retries to squint and see that its
yarnpkg.com
, but I suspect most of folks would do the same, so perhaps it worth addressing somehow?Are we able to fix this so it just works under
yarn
?If not, at least detect
release
runs underyarn
and simply return error asking to run it vianpm
?The text was updated successfully, but these errors were encountered: