Do you want to request a feature or report a bug?
I think this is a bug
What is the current behavior?
I don't believe yarn tag ls <pkg> should require a login
getting around this currently by just hitting <enter> on prompt
If the current behavior is a bug, please provide the steps to reproduce.
$ yarn tag ls yarn
yarn tag v0.21.3
[1/3] Logging in...
question npm username:
warning Logging in as public
[2/3] Getting tags...
info Package yarn
info latest: 0.21.3
info rc: 0.22.0
[3/3] Revoking token...
info No login token to revoke.
✨ Done in 1.83s.
What is the expected behavior?
$ yarn tag ls yarn
yarn tag v0.21.3
[1/1] Getting tags...
info Package yarn
info latest: 0.21.3
info rc: 0.22.0
✨ Done in 1.83s.
Please mention your node.js, yarn and operating system version.
$ node -v
v7.6.0
$ yarn version
yarn version v0.21.3
$sw_vers
ProductName: Mac OS X
ProductVersion: 10.12.3
BuildVersion: 16D32
Doesn't having this make sense, since there are private packages as well in NPM for paid users as well?
Otherwise one wouldn't be able to fetch tags from private repos, right?
should be able to detect if the package is private or public, and ask for a password for private packages
Most helpful comment
should be able to detect if the package is private or public, and ask for a password for private packages