-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn publish --non-interactive still asks questions #5002
Comments
Good find! Good first PR! |
Is anyone working on this? If not then I'd like to do it. |
@iansu, go ahead! |
Will do. Just to confirm, the basic idea is to display an error if |
Yeah, I think it should fail fast if it try to prompt in non interactive
mode
…On Mon, Dec 18, 2017 at 2:12 PM Ian Sutherland ***@***.***> wrote:
Will do. Just to confirm, the basic idea is to display an error if
--non-interactive is specified without --new-version? And also just fail
with an error if no NPM token is present instead of prompting for it?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#5002 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACBdWM-ZdFlvP5UgBZvwlLmbt5I8NemSks5tBuNUgaJpZM4QsNd3>
.
|
Is there an update on this? I want to use yarn in our CI/CD environment since it is faster than npm, however, without this option working we cannot use yarn to automate our release/publish mechanism. |
The quickest way to get this in is to send a PR.
The code is quite simple
…On Tue, Feb 13, 2018 at 11:39 PM Stijn De Pestel ***@***.***> wrote:
Is there an update on this? I want to use yarn in our CI/CD environment
since it is faster than npm, however, without this option working we cannot
use yarn to automate our release/publish mechanism.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#5002 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACBdWPO6_5_0rGJZfiHuUAAHTR9i5hnmks5tUo2sgaJpZM4QsNd3>
.
|
I made a PR for this a couple of months ago: #5108 |
At work we have fully automated CI/CD and we use it works quite well :) |
yarn 1.3.2
node 9.2.0
steps to reproduce
actual
yarn stops with:
expected
An error message stating that
--non-interactive
must be used with--new-version
?notes
yarn
--non-interactive
also stops if no npm token is found.The text was updated successfully, but these errors were encountered: