-
Notifications
You must be signed in to change notification settings - Fork 134
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 support for backend custom plugins #2217
Conversation
Hey nwmac! Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA. |
Codecov Report
@@ Coverage Diff @@
## v2-master #2217 +/- ##
=============================================
+ Coverage 72.3% 72.32% +0.02%
=============================================
Files 559 559
Lines 22796 22796
Branches 5121 5121
=============================================
+ Hits 16482 16487 +5
+ Misses 6314 6309 -5 |
Merge upstream/v2-master
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, I think we should create a backup of the existing proxy.conf.js in case there is already one
if (!fs.existsSync(proxyConf)) { | ||
fs.copySync(localProxyConf, proxyConf); | ||
} | ||
|
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.
If there is already a proxy.conf.js we could make a backup by renaming it to proxy.conf.js.bk
and write out the new one. This would preserve the file in case someone wants to go back to it.
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.
This won't overwrite one if there is already one there - this is just there for the first time, of-out-box case.
This PR: