-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Make package.json cross platform #8035
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.
since you're adding a new dependency, you need to run npm install
and commit the lockfile changes as well
Also, what about other commands other than |
It looks like build is the only command that sets an env variable, so i assume all the others work cross platform already |
Codecov Report
@@ Coverage Diff @@
## master #8035 +/- ##
==========================================
+ Coverage 65.54% 65.54% +<.01%
==========================================
Files 469 469
Lines 22475 22487 +12
Branches 2440 2446 +6
==========================================
+ Hits 14731 14739 +8
- Misses 7624 7628 +4
Partials 120 120
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.
lgtm, thanks for this!
CATEGORY
Choose one
SUMMARY
Make package.json cross platform (so besides Linux and Mac, it will work on Windows with cmd or powershell without modifications). Tested on Linux and Windows. Though webpack builds successfully on windows, the minified output is different.
Attempt at redemption after #8024 ^^
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
ADDITIONAL INFORMATION
REVIEWERS
etr2460