-
Notifications
You must be signed in to change notification settings - Fork 984
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
refactor: superspawn usage #763
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.
Beside my code comments, there's two remarks I would like to make:
Command printing was dropped without replacement and without a note in the PR description. I think we need either one.
Do we need to transform execa
Errors to a format compatible to the old one (child_process
or superspawn
)? Did you check if there is any error handling that relies on special error properties or anything like that?
97738da
to
63ca5ae
Compare
Codecov Report
@@ Coverage Diff @@
## master #763 +/- ##
==========================================
- Coverage 74.20% 73.98% -0.23%
==========================================
Files 13 13
Lines 1849 1791 -58
==========================================
- Hits 1372 1325 -47
+ Misses 477 466 -11
Continue to review full report at Codecov.
|
With the commits I just pushed we have resolved everything except for these two remarks I left before:
|
I will review everything again before answering. It seems other changes will be needed anyways and more tests. I noticed that with the lack of tests it didn't catch something that would have become an issues after dependency changes. Depending on timing, I am expecting maybe by late-Jan or early-Feb before I can answer and have all the fixes and new tests completed. IF others need to push on with the major release, I recommend ignoring this PR for now and will target next next major. |
b7c40dc
to
124e187
Compare
This PR should probably renamed to "drop Q" or something like it |
@raphinesse PR has been finalized and ready to review.
|
Co-Authored-By: Raphael von der Grün <raphinesse@gmail.com>
Co-Authored-By: Raphael von der Grün <raphinesse@gmail.com>
Co-Authored-By: Raphael von der Grün <raphinesse@gmail.com>
Co-Authored-By: Raphael von der Grün <raphinesse@gmail.com>
Co-Authored-By: Raphael von der Grün <raphinesse@gmail.com>
Co-Authored-By: Raphael von der Grün <raphinesse@gmail.com>
Co-Authored-By: Raphael von der Grün <raphinesse@gmail.com>
Motivation and Context
Cleanup & use only superspawn everywhere.
Description
child_process
withsuperspawn
Q
dependency fromcordova-ios
Q.progress
which is available withsuperspawn
.Testing
npm t
Checklist