Skip to content
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

Feature: Use listr to display progress and errors for transformations #92

Merged
merged 6 commits into from
Mar 24, 2017

Conversation

okonet
Copy link
Contributor

@okonet okonet commented Mar 19, 2017

What kind of change does this PR introduce?
feature

Did you add tests for your changes?
Yes

If relevant, did you update the documentation?
N/A

Summary

This PR introduces better progress and error messages for failing transforms.

2017-03-19 at 14 55

Does this PR introduce a breaking change?
No

@pksjce
Copy link

pksjce commented Mar 22, 2017

Hey @okonet - I tried out the migrate command on this branch. It showed " ✔ Migrating config from v1 to v2" but not the substeps, like your screenshot.
Also, conflicts 👀

@okonet
Copy link
Contributor Author

okonet commented Mar 22, 2017

@pksjce I'll take a look at conflicts. Re: not showing sub-steps: it's just too damn fast :) It will show those if it would fail though. I'll play around with it a bit more to make it even friendlier.

@pksjce
Copy link

pksjce commented Mar 24, 2017

Shall I merge this now? It looks like things can be built on top of this?

@okonet
Copy link
Contributor Author

okonet commented Mar 24, 2017

Please do a review and approve/reject it and I'll merge it.

@okonet okonet merged commit 5920019 into master Mar 24, 2017
reject(err);
}
try {
console.time('Reading webpack config');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouch that shouldn't have made through the review :( Will remove it.

@okonet okonet deleted the feature/listr branch March 24, 2017 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants