Skip to content

Commit 7b8b701

Browse files
committed
Fix errors & build
1 parent 71fc40b commit 7b8b701

File tree

3 files changed

+894
-507
lines changed

3 files changed

+894
-507
lines changed

packages/graphql-playground-electron/.babelrc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
2-
"presets": ["@babel/preset-env", "@babel/preset-react"],
2+
"presets": [
3+
["@babel/preset-env", {
4+
"targets": {
5+
"esmodules": true
6+
}
7+
}], "@babel/preset-react"
8+
],
39
"plugins": [
410
"@babel/plugin-proposal-object-rest-spread",
511
"babel-plugin-styled-components"

packages/graphql-playground-electron/package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"electron-is-dev": "0.3.0",
9090
"electron-localshortcut": "3.1.0",
9191
"electron-log": "2.2.14",
92-
"electron-updater": "3.2.3",
92+
"electron-updater": "^4.0.0",
9393
"find-up": "^2.1.0",
9494
"graphcool-styles": "0.2.7",
9595
"graphcool-ui": "^0.0.14",
@@ -126,6 +126,7 @@
126126
"@babel/plugin-proposal-json-strings": "^7.0.0",
127127
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
128128
"@babel/plugin-syntax-import-meta": "^7.0.0",
129+
"@babel/plugin-transform-runtime": "^7.11.5",
129130
"@babel/preset-env": "^7.0.0",
130131
"@babel/preset-react": "^7.0.0",
131132
"@types/classnames": "2.2.3",
@@ -146,8 +147,8 @@
146147
"concurrently": "3.5.1",
147148
"css-loader": "0.28.11",
148149
"electron": "2.0.18",
149-
"electron-builder": "^20.34.0",
150-
"electron-devtools-installer": "2.2.4",
150+
"electron-builder": "^22.8.1",
151+
"electron-devtools-installer": "3.1.1",
151152
"extract-text-webpack-plugin": "3.0.2",
152153
"file-loader": "1.1.11",
153154
"fork-ts-checker-webpack-plugin": "0.4.1",
@@ -178,7 +179,8 @@
178179
"wait-on": "2.1.0",
179180
"webpack": "3.10.0",
180181
"webpack-bundle-analyzer": "3.3.2",
181-
"webpack-dev-server": "3.1.11",
182+
"webpack-cli": "^3.3.12",
183+
"webpack-dev-server": "2.9.1",
182184
"webpack-uglify-parallel": "0.1.4"
183185
},
184186
"resolutions": {

0 commit comments

Comments
 (0)