Skip to content

Commit bae4231

Browse files
committed
fix render-playground: usage graphql-playground-react
1 parent 5942251 commit bae4231

File tree

4 files changed

+16
-65
lines changed

4 files changed

+16
-65
lines changed

packages/graphql-playground-html/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-playground-html",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-html",
55
"description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).",
66
"contributors": [

packages/graphql-playground-html/src/render-playground-page.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ export async function renderPlaygroundPage(options: RenderPageOptions) {
6666
<meta charset=utf-8 />
6767
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui">
6868
<title>GraphQL Playground</title>
69-
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/graphql-playground@${
69+
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/graphql-playground-react@${
7070
options.version
7171
}/build/static/css/index.css" />
72-
<link rel="shortcut icon" href="//cdn.jsdelivr.net/npm/graphql-playground@${
72+
<link rel="shortcut icon" href="//cdn.jsdelivr.net/npm/graphql-playground-react@${
7373
options.version
7474
}/build/favicon.png" />
75-
<script src="//cdn.jsdelivr.net/npm/graphql-playground@${
75+
<script src="//cdn.jsdelivr.net/npm/graphql-playground-react@${
7676
options.version
7777
}/build/static/js/middleware.js"></script>
7878
</head>

packages/graphql-playground-middleware-express/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-playground-middleware-express",
3-
"version": "1.4.2",
3+
"version": "1.4.3",
44
"homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-express",
55
"description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).",
66
"contributors": [
@@ -14,7 +14,7 @@
1414
"files": [
1515
"dist"
1616
],
17-
"playgroundVersion": "1.3.10",
17+
"playgroundVersion": "1.3.20",
1818
"scripts": {
1919
"build": "rimraf dist && tsc",
2020
"prepare": "npm run build"
@@ -34,9 +34,8 @@
3434
"typescript": "^2.6.2"
3535
},
3636
"dependencies": {
37-
"graphql-playground-html": "1.4.1",
38-
"graphql-playground-middleware": "^1.2.1-beta.6",
39-
"graphql-playground-react": "1.3.18"
37+
"graphql-playground-html": "1.4.2",
38+
"graphql-playground-middleware": "^1.2.1-beta.6"
4039
},
4140
"typings": "dist/index.d.ts",
4241
"typescript": {

yarn.lock

Lines changed: 8 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -4192,56 +4192,20 @@ graphql-language-service-utils@^1.0.16:
41924192
graphql-config "1.0.8"
41934193
graphql-language-service-types "^0.1.14"
41944194

4195+
4196+
version "1.4.1"
4197+
resolved "https://registry.yarnpkg.com/graphql-playground-html/-/graphql-playground-html-1.4.1.tgz#0094054258c9b1a94062952c0a76b1a45e9a2771"
4198+
dependencies:
4199+
dotenv "^4.0.0"
4200+
graphql-config "^1.1.1"
4201+
graphql-config-extension-graphcool "^1.0.0"
4202+
41954203
graphql-playground-middleware@^1.2.1-beta.6:
41964204
version "1.2.1-beta.6"
41974205
resolved "https://registry.yarnpkg.com/graphql-playground-middleware/-/graphql-playground-middleware-1.2.1-beta.6.tgz#b302bda88d28fae716d127a483659c8e70a18776"
41984206
dependencies:
41994207
find-up "^2.1.0"
42004208

4201-
4202-
version "1.3.18"
4203-
resolved "https://registry.yarnpkg.com/graphql-playground-react/-/graphql-playground-react-1.3.18.tgz#491d4a5f24cbbda09c83aafbd8e5d5896f25bcd3"
4204-
dependencies:
4205-
calculate-size "^1.1.1"
4206-
classnames "^2.2.5"
4207-
codemirror "^5.27.4"
4208-
codemirror-graphql "^0.6.12"
4209-
cuid "^1.3.8"
4210-
graphcool-styles "0.2.4"
4211-
graphcool-tmp-ui "^0.0.11"
4212-
graphiql "^0.11.2"
4213-
graphql "^0.10.5"
4214-
isomorphic-fetch "^2.2.1"
4215-
js-yaml "^3.10.0"
4216-
json-stable-stringify "^1.0.1"
4217-
keycode "^2.1.9"
4218-
lodash "^4.17.4"
4219-
lodash.debounce "^4.0.8"
4220-
marked "^0.3.9"
4221-
polished "^1.9.0"
4222-
postcss-modules "^0.6.4"
4223-
prop-types "^15.6.0"
4224-
react "^16.2.0"
4225-
react-addons-shallow-compare "^15.6.2"
4226-
react-codemirror "^1.0.0"
4227-
react-copy-to-clipboard "^5.0.1"
4228-
react-dom "^16.2.0"
4229-
react-helmet "^5.2.0"
4230-
react-modal "^3.1.10"
4231-
react-redux "^5.0.6"
4232-
react-router-dom "^4.2.2"
4233-
react-transition-group "^1.1.3"
4234-
react-virtualized "^9.12.0"
4235-
redux "^3.7.2"
4236-
redux-localstorage rc
4237-
redux-localstorage-filter "^0.1.1"
4238-
rxjs "^5.0.3"
4239-
seamless-immutable "^7.0.1"
4240-
styled-components "^2.4.0"
4241-
styled-jsx-postcss "git+https://github.com/timsuchanek/styled-jsx-postcss#build3"
4242-
styled-theming "^2.2.0"
4243-
subscriptions-transport-ws "^0.8.1"
4244-
42454209
graphql-playground@^1.3.17:
42464210
version "1.3.17"
42474211
resolved "https://registry.yarnpkg.com/graphql-playground/-/graphql-playground-1.3.17.tgz#1584bbcc948a7f9bac9399b9c269439da3086791"
@@ -9106,18 +9070,6 @@ styled-components@^2.4.0:
91069070
postcss-load-plugins "^2.2.0"
91079071
styled-jsx "^0.5.7"
91089072

9109-
"styled-jsx-postcss@git+https://github.com/timsuchanek/styled-jsx-postcss.git#build3":
9110-
version "0.2.0"
9111-
uid "677ee0fb7f9138047a00e03c8c3e44adbb33cf2a"
9112-
resolved "git+https://github.com/timsuchanek/styled-jsx-postcss.git#677ee0fb7f9138047a00e03c8c3e44adbb33cf2a"
9113-
dependencies:
9114-
babel-traverse "^6.21.0"
9115-
babylon "^6.14.1"
9116-
deasync "^0.1.9"
9117-
postcss "^5.2.8"
9118-
postcss-load-plugins "^2.2.0"
9119-
styled-jsx "^0.5.7"
9120-
91219073
91229074
version "0.5.2"
91239075
resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-0.5.2.tgz#59740216c3db371636f9beec02149f9da5ea02e5"

0 commit comments

Comments
 (0)