-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Forked CRA support on Windows #6236
Conversation
Codecov Report
@@ Coverage Diff @@
## next #6236 +/- ##
==========================================
- Coverage 38.12% 38.12% -0.01%
==========================================
Files 645 645
Lines 9646 9654 +8
Branches 355 355
==========================================
+ Hits 3678 3681 +3
- Misses 5913 5918 +5
Partials 55 55
Continue to review full report at Codecov.
|
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.
Any chance you can add a unit test for this in cra-config.test.js
? This is hard to test without a windows machine and inside our monorepo which doesn't have any CRA-fork apps. But I'd feel a lot better about merging if I knew what the data looked like.
@shilman Hm, I would happy to add that, but I do not understand how to emulate |
@sergeyzwezdin if you look at the existing tests, the |
@shilman Sounds good. I'll try it tomorrow morning. |
Great @sergeyzwezdin. Thanks for your patience on this and I'll get it merged and released on alpha as soon as I'm comfortable with the change. |
@shilman Ok, I managed to add the test. It seems everything is 👌now. |
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 super, great job @sergeyzwezdin! 🚀 I'll release this on alpha today (and post on the issue) and then will patch it back into master once you test it out on the alpha. Sound ok?
@shilman yep, sounds cool! 👍🏼 |
@sergeyzwezdin ready for testing 🔍 |
@shilman Works like a charm. When do you plan to release it? |
Super. I've been doing alpha releases every other day (ish) and stable releases once or twice a week (ish) so probably tomorrow. I'll post on the issue when it's live |
Cool! Waiting for that then. Thank you for your help. |
Issue: Support for CRA fork packages on Windows (#5801)
What I did
I've added parsing of
.bin/react-scripts
file to find out actualreact-scripts
package path.