Skip to content

Commit 4d769b9

Browse files
committed
Bundle new graphql-react inside electron
1 parent d859500 commit 4d769b9

File tree

5 files changed

+16
-8248
lines changed

5 files changed

+16
-8248
lines changed

packages/graphql-playground-electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"graphcool-ui": "^0.0.13",
9696
"graphql-config": "^1.1.2",
9797
"graphql-config-extension-graphcool": "1.0.0",
98-
"graphql-playground-react": "1.3.20",
98+
"graphql-playground-react": "^1.3.20",
9999
"js-yaml": "^3.10.0",
100100
"lodash.merge": "^4.6.0",
101101
"minimist": "^1.2.0",

packages/graphql-playground-electron/src/renderer/components/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import * as React from 'react'
22
import { remote, ipcRenderer } from 'electron'
33
import { Provider } from 'react-redux'
44
import * as cx from 'classnames'
5-
import { Playground as IPlayground } from 'graphql-playground/lib/components/Playground'
6-
import Playground from 'graphql-playground'
5+
import { Playground as IPlayground } from 'graphql-playground-react/lib/components/Playground'
6+
import Playground from 'graphql-playground-react'
77
import {
88
getGraphQLConfig,
99
findGraphQLConfigFile,

packages/graphql-playground-electron/src/renderer/redux/reducers/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { combineReducers } from 'redux'
2-
import graphiqlDocs from 'graphql-playground/lib/reducers/graphiql-docs'
2+
import graphiqlDocs from 'graphql-playground-react/lib/reducers/graphiql-docs'
33
import history from './history'
44

55
const combinedReducers = combineReducers({

0 commit comments

Comments
 (0)