-
Notifications
You must be signed in to change notification settings - Fork 735
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
Fix Electron build #1279
Fix Electron build #1279
Conversation
thanks so much for working on this @vardhanapoorv ! hoping to finally check this out this weekend and give it a local run through |
That's great! |
wasn't able to get it running last weekend, hopefully I can get to it tonight! |
@acao Let me know if anymore changes are needed, when you get a chance to review it. |
@vardhanapoorv nice! it works in terms of fixing the initial schema choice screen on |
@acao I build it using |
@acao just tested with |
so, when I run to try and simulate the situation I'm having, try cloning this repo into a new folder, and running what that indicates to me is that the node_modules you have locally are working, but whats in the yarn.lock and in the package.json files is not adding up |
@acao oh yeah right makes sense, thanks. This reminds me that I was facing some issue with global lockfile so I installed the dependencies for electron package from there which created a separate lockfile in that folder, which I'm thinking is wrong since no file existed before. I'm a bit confused with the build process of the packages in this repo. |
@acao please ignore the above questions, I actually managed to update it correctly I think. Take a look and let me know if you still face any errors. |
awesome! also, can you sign the CLA for GraphQL Foundation? this is a new thing now that playground is a GraphQL Foundation project, instead of Prisma's CLA bot. |
Done! |
@vardhanapoorv it works great for me locally! excellent work. not easy to deal with all these package resolutions! |
@@ -18,6 +18,7 @@ if (!fs.existsSync(appEntrypoint)) { | |||
|
|||
module.exports = { | |||
devtool: 'source-map', | |||
mode: 'production', |
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.
🥇
@@ -2,7 +2,7 @@ | |||
"compilerOptions": { | |||
"removeComments": true, | |||
"module": "commonjs", | |||
"jsx": "preserve", | |||
"jsx": "react", |
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.
🥇
That's great, thanks for helping me out with my questions throughout this issue! |
@vardhanapoorv glad to help! the contribution effort is very welcome! if you'd like to help accelerate the follow up, here's what I had in mind for next:
|
Absolutely, sounds good. I can tackle these next. As a separate PR right? |
@vardhanapoorv yes! separate PR for sure. I will merge this one now. Again, thanks so much! |
Fixes #1273 .
Changes proposed in this pull request:
Upgrade
electron-builder
,electron-devtools-installer
&webpack-dev-server
packages.Fix Babel config.