-
Notifications
You must be signed in to change notification settings - Fork 64
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
Add build status to project upload #542
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just one question about adding the spinnies dependency.
@@ -4,10 +4,15 @@ const path = require('path'); | |||
const chalk = require('chalk'); | |||
const findup = require('findup-sync'); | |||
const { prompt } = require('inquirer'); | |||
const Spinnies = require('spinnies'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We were using ora
for loading spinners elsewhere in the CLI. Is there a reason to have both or should we use ora
here also?
It looks like having multiple spinners displayed simultaneously for the purpose of displaying the status of the subbuilds is not possible using ora
. I think we should work on updating uses of ora
to use spinnies
in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that's exactly it and I agree
build.status === BUILD_STATUS.SUCCESS || | ||
build.status === BUILD_STATUS.FAILURE | ||
); | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good after testing and digging in a bit more.
Description and Context
After successful project upload, polls for build status
Screenshots
Spinners while project dependencies are building
Success message
General failure
Failure of a single dependency build