Skip to content

Commit 1b77296

Browse files
committed
chore(version): bump versions
1 parent 0356557 commit 1b77296

File tree

4 files changed

+101
-68
lines changed

4 files changed

+101
-68
lines changed

packages/graphql-playground-electron/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"homepage": "https://github.com/graphcool/graphql-playground",
55
"repository": "graphcool/graphql-playground",
66
"description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)",
7-
"version": "1.4.2",
7+
"version": "1.4.3",
88
"author": {
99
"name": "Graphcool",
1010
"email": "[email protected]",
@@ -93,10 +93,10 @@
9393
"graphcool-styles": "0.2.7",
9494
"graphcool-tmp-ui": "^0.0.11",
9595
"graphcool-ui": "^0.0.14",
96-
"graphql-config": "^1.1.7",
96+
"graphql-config": "^1.2.1",
9797
"graphql-config-extension-graphcool": "1.0.6",
98-
"graphql-config-extension-prisma": "0.0.3",
99-
"graphql-playground-react": "1.4.2",
98+
"graphql-config-extension-prisma": "0.0.4",
99+
"graphql-playground-react": "1.4.3",
100100
"js-yaml": "^3.10.0",
101101
"lodash.merge": "^4.6.0",
102102
"minimist": "^1.2.0",

packages/graphql-playground-electron/yarn.lock

Lines changed: 66 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,7 @@ ajv-keywords@^2.0.0, ajv-keywords@^2.1.0:
111111
version "2.1.1"
112112
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.1.tgz#617997fc5f60576894c435f940d819e135b80762"
113113

114-
ajv@^4.9.1:
115-
version "4.11.8"
116-
resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536"
117-
dependencies:
118-
co "^4.6.0"
119-
json-stable-stringify "^1.0.1"
120-
121-
ajv@^5.0.0, ajv@^5.1.0, ajv@^5.1.5, ajv@^5.5.0, ajv@^5.5.1:
114+
ajv@5, ajv@^5.0.0, ajv@^5.1.0, ajv@^5.1.5, ajv@^5.5.0, ajv@^5.5.1:
122115
version "5.5.2"
123116
resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965"
124117
dependencies:
@@ -127,6 +120,13 @@ ajv@^5.0.0, ajv@^5.1.0, ajv@^5.1.5, ajv@^5.5.0, ajv@^5.5.1:
127120
fast-json-stable-stringify "^2.0.0"
128121
json-schema-traverse "^0.3.0"
129122

123+
ajv@^4.9.1:
124+
version "4.11.8"
125+
resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536"
126+
dependencies:
127+
co "^4.6.0"
128+
json-stable-stringify "^1.0.1"
129+
130130
align-text@^0.1.1, align-text@^0.1.3:
131131
version "0.1.4"
132132
resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117"
@@ -3486,12 +3486,12 @@ [email protected]:
34863486
graphcool-yml "0.4.15"
34873487
graphql-config "1.2.0"
34883488

3489-
3490-
version "0.0.3"
3491-
resolved "https://registry.yarnpkg.com/graphql-config-extension-prisma/-/graphql-config-extension-prisma-0.0.3.tgz#2fea0a34ef128e1763cb3ebfa6becd99549fe1ef"
3489+
3490+
version "0.0.4"
3491+
resolved "https://registry.yarnpkg.com/graphql-config-extension-prisma/-/graphql-config-extension-prisma-0.0.4.tgz#5b86a272ebfbecea32c38c71f2d0cbb9a0be9362"
34923492
dependencies:
3493-
graphql-config "^1.1.4"
3494-
prisma-yml "0.0.4"
3493+
graphql-config "^1.2.0"
3494+
prisma-yml "1.0.16"
34953495

34963496
34973497
version "1.1.4"
@@ -3504,35 +3504,35 @@ [email protected]:
35043504
minimatch "^3.0.4"
35053505
rimraf "^2.6.2"
35063506

3507-
graphql-config@1.2.0:
3508-
version "1.2.0"
3509-
resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-1.2.0.tgz#c1396e7705ce82870923134426d1b19b2de6c326"
3507+
graphql-config@1.1.7:
3508+
version "1.1.7"
3509+
resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-1.1.7.tgz#546c443d3ad877ceb8e13f40fbc8937af0d35dbe"
35103510
dependencies:
35113511
graphql "^0.12.3"
35123512
graphql-import "^0.4.0"
35133513
graphql-request "^1.4.0"
35143514
js-yaml "^3.10.0"
35153515
minimatch "^3.0.4"
35163516

3517-
graphql-config@^1.1.4:
3518-
version "1.1.5"
3519-
resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-1.1.5.tgz#c8de9cdaef946ceb4c4ab0acc970db5805c90dbf"
3517+
graphql-config@1.2.0:
3518+
version "1.2.0"
3519+
resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-1.2.0.tgz#c1396e7705ce82870923134426d1b19b2de6c326"
35203520
dependencies:
35213521
graphql "^0.12.3"
3522-
graphql-import "^0.2.0"
3522+
graphql-import "^0.4.0"
35233523
graphql-request "^1.4.0"
35243524
js-yaml "^3.10.0"
35253525
minimatch "^3.0.4"
3526-
rimraf "^2.6.2"
35273526

3528-
graphql-config@^1.1.7:
3529-
version "1.1.7"
3530-
resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-1.1.7.tgz#546c443d3ad877ceb8e13f40fbc8937af0d35dbe"
3527+
graphql-config@^1.2.0, graphql-config@^1.2.1:
3528+
version "1.2.1"
3529+
resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-1.2.1.tgz#97b4403707db408feb335fbc159651f2a36cb558"
35313530
dependencies:
35323531
graphql "^0.12.3"
35333532
graphql-import "^0.4.0"
35343533
graphql-request "^1.4.0"
35353534
js-yaml "^3.10.0"
3535+
lodash "^4.17.4"
35363536
minimatch "^3.0.4"
35373537

35383538
graphql-import@^0.1.7:
@@ -3544,13 +3544,6 @@ graphql-import@^0.1.7:
35443544
graphql "^0.12.3"
35453545
lodash "^4.17.4"
35463546

3547-
graphql-import@^0.2.0:
3548-
version "0.2.1"
3549-
resolved "https://registry.yarnpkg.com/graphql-import/-/graphql-import-0.2.1.tgz#96b11fbd180e169500c1a76dbcfa05ec8672e94c"
3550-
dependencies:
3551-
graphql "^0.12.3"
3552-
lodash "^4.17.4"
3553-
35543547
graphql-import@^0.4.0:
35553548
version "0.4.1"
35563549
resolved "https://registry.yarnpkg.com/graphql-import/-/graphql-import-0.4.1.tgz#ef1c047d6250bc8c009b12b64c26924ac4f4716c"
@@ -3597,9 +3590,15 @@ graphql-language-service-utils@^1.0.18:
35973590
graphql-config "1.1.4"
35983591
graphql-language-service-types "^1.0.18"
35993592

3600-
3601-
version "1.4.2"
3602-
resolved "https://registry.yarnpkg.com/graphql-playground-react/-/graphql-playground-react-1.4.2.tgz#7fca83656655d5b32acfddd4b8f98506d8751bac"
3593+
3594+
version "1.5.2"
3595+
resolved "https://registry.yarnpkg.com/graphql-playground-html/-/graphql-playground-html-1.5.2.tgz#ccd97ac1960cfb1872b314bafb1957e7a6df7984"
3596+
dependencies:
3597+
graphql-config "1.1.7"
3598+
3599+
3600+
version "1.4.3"
3601+
resolved "https://registry.yarnpkg.com/graphql-playground-react/-/graphql-playground-react-1.4.3.tgz#5eb9e8333c8bc9f3b2d5e18c9029297a92e3cf1e"
36033602
dependencies:
36043603
calculate-size "^1.1.1"
36053604
classnames "^2.2.5"
@@ -3638,7 +3637,7 @@ [email protected]:
36383637
redux-localstorage-filter "^0.1.1"
36393638
rxjs "^5.0.3"
36403639
seamless-immutable "^7.0.1"
3641-
styled-components "^2.4.0"
3640+
styled-components "^3.0.1"
36423641
styled-jsx "^2.2.1"
36433642
styled-jsx-postcss "git+https://github.com/timsuchanek/styled-jsx-postcss#build3"
36443643
styled-theming "^2.2.0"
@@ -6106,16 +6105,16 @@ prisma-json-schema@^0.0.1:
61066105
version "0.0.1"
61076106
resolved "https://registry.yarnpkg.com/prisma-json-schema/-/prisma-json-schema-0.0.1.tgz#0802e156a293faefdf21e5e41beb8d3681f45cb1"
61086107

6109-
prisma-yml@0.0.4:
6110-
version "0.0.4"
6111-
resolved "https://registry.yarnpkg.com/prisma-yml/-/prisma-yml-0.0.4.tgz#66b54f5056f087ff548719bb62e5251ca49fe4b1"
6108+
prisma-yml@1.0.16:
6109+
version "1.0.16"
6110+
resolved "https://registry.yarnpkg.com/prisma-yml/-/prisma-yml-1.0.16.tgz#7d49a69977cccc416347dc9884a503eab13c3ee8"
61126111
dependencies:
6113-
ajv "^5.5.1"
6112+
ajv "5"
61146113
bluebird "^3.5.1"
61156114
chalk "^2.3.0"
61166115
debug "^3.1.0"
61176116
dotenv "^4.0.0"
6118-
fs-extra "^4.0.3"
6117+
fs-extra "^5.0.0"
61196118
isomorphic-fetch "^2.2.1"
61206119
js-yaml "^3.10.0"
61216120
json-stable-stringify "^1.0.1"
@@ -7410,6 +7409,20 @@ styled-components@^2.4.0:
74107409
stylis "^3.4.0"
74117410
supports-color "^3.2.3"
74127411

7412+
styled-components@^3.0.1:
7413+
version "3.1.4"
7414+
resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-3.1.4.tgz#1bdc1409c9bacafee3510c573d23b73039b0d875"
7415+
dependencies:
7416+
buffer "^5.0.3"
7417+
css-to-react-native "^2.0.3"
7418+
fbjs "^0.8.9"
7419+
hoist-non-react-statics "^1.2.0"
7420+
is-plain-object "^2.0.1"
7421+
prop-types "^15.5.4"
7422+
stylis "^3.4.0"
7423+
stylis-rule-sheet "^0.0.7"
7424+
supports-color "^3.2.3"
7425+
74137426
"styled-jsx-postcss@git+https://github.com/timsuchanek/styled-jsx-postcss#build3":
74147427
version "0.2.0"
74157428
resolved "git+https://github.com/timsuchanek/styled-jsx-postcss#677ee0fb7f9138047a00e03c8c3e44adbb33cf2a"
@@ -7421,6 +7434,18 @@ styled-components@^2.4.0:
74217434
postcss-load-plugins "^2.2.0"
74227435
styled-jsx "^0.5.7"
74237436

7437+
"styled-jsx-postcss@git+https://github.com/timsuchanek/styled-jsx-postcss.git#build3":
7438+
version "0.2.0"
7439+
uid "677ee0fb7f9138047a00e03c8c3e44adbb33cf2a"
7440+
resolved "git+https://github.com/timsuchanek/styled-jsx-postcss.git#677ee0fb7f9138047a00e03c8c3e44adbb33cf2a"
7441+
dependencies:
7442+
babel-traverse "^6.21.0"
7443+
babylon "^6.14.1"
7444+
deasync "^0.1.9"
7445+
postcss "^5.2.8"
7446+
postcss-load-plugins "^2.2.0"
7447+
styled-jsx "^0.5.7"
7448+
74247449
[email protected], styled-jsx@^2.2.1:
74257450
version "2.2.1"
74267451
resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-2.2.1.tgz#8b38b9e53e5d9767e392595ab1afdc8426b3ba5d"
@@ -7450,7 +7475,7 @@ styled-theming@^2.2.0:
74507475
version "2.2.0"
74517476
resolved "https://registry.yarnpkg.com/styled-theming/-/styled-theming-2.2.0.tgz#3084e43d40eaab4bc11ebafd3de04e3622fee37e"
74527477

7453-
7478+
[email protected], stylis-rule-sheet@^0.0.7:
74547479
version "0.0.7"
74557480
resolved "https://registry.yarnpkg.com/stylis-rule-sheet/-/stylis-rule-sheet-0.0.7.tgz#5c51dc879141a61821c2094ba91d2cbcf2469c6c"
74567481

packages/graphql-playground-html/package.json

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
22
"name": "graphql-playground-html",
3-
"version": "1.5.2",
4-
"homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-html",
5-
"description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).",
3+
"version": "1.5.3",
4+
"homepage":
5+
"https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-html",
6+
"description":
7+
"GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).",
68
"contributors": [
79
"Tim Suchanek <[email protected]>",
810
"Johannes Schickling <[email protected]>",
@@ -11,19 +13,12 @@
1113
"repository": "http://github.com/graphcool/graphql-playground.git",
1214
"license": "SEE LICENSE IN LICENSE",
1315
"main": "dist/index.js",
14-
"files": [
15-
"dist"
16-
],
16+
"files": ["dist"],
1717
"scripts": {
1818
"build": "rimraf dist && tsc",
1919
"prepare": "npm run build"
2020
},
21-
"keywords": [
22-
"graphql",
23-
"graphiql",
24-
"playground",
25-
"graphcool"
26-
],
21+
"keywords": ["graphql", "graphiql", "playground", "graphcool"],
2722
"devDependencies": {
2823
"@types/node": "9.4.0",
2924
"graphql-config": "1.1.7",

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

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ export interface MiddlewareOptions {
88
workspaceName?: string
99
env?: any
1010
config?: GraphQLConfigData
11+
settings?: ISettings
12+
}
13+
14+
export type Theme = 'dark' | 'light'
15+
export interface ISettings {
16+
['general.betaUpdates']: boolean
17+
['editor.theme']: Theme
18+
['editor.reuseHeaders']: boolean
19+
['tracing.hideTracingResponse']: boolean
1120
}
1221

1322
export interface RenderPageOptions extends MiddlewareOptions {
@@ -19,14 +28,14 @@ const loading = getLoadingMarkup()
1928

2029
const getCdnMarkup = options => `
2130
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/graphql-playground-react@${
22-
options.version
23-
}/build/static/css/index.css" />
31+
options.version
32+
}/build/static/css/index.css" />
2433
<link rel="shortcut icon" href="//cdn.jsdelivr.net/npm/graphql-playground-react@${
25-
options.version
26-
}/build/favicon.png" />
34+
options.version
35+
}/build/favicon.png" />
2736
<script src="//cdn.jsdelivr.net/npm/graphql-playground-react@${
28-
options.version
29-
}/build/static/js/middleware.js"></script>
37+
options.version
38+
}/build/static/js/middleware.js"></script>
3039
`
3140

3241
export function renderPlaygroundPage(options: RenderPageOptions) {
@@ -58,7 +67,11 @@ export function renderPlaygroundPage(options: RenderPageOptions) {
5867
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui">
5968
<link rel="shortcut icon" href="https://graphcool-playground.netlify.com/favicon.png">
6069
<title>${extendedOptions.title}</title>
61-
${extendedOptions.env === 'react' || extendedOptions.env === 'electron' ? '' : getCdnMarkup(extendedOptions)}
70+
${
71+
extendedOptions.env === 'react' || extendedOptions.env === 'electron'
72+
? ''
73+
: getCdnMarkup(extendedOptions)
74+
}
6275
</head>
6376
<body>
6477
<style type="text/css">
@@ -117,10 +130,10 @@ export function renderPlaygroundPage(options: RenderPageOptions) {
117130
root.classList.add('playgroundIn');
118131
119132
GraphQLPlayground.init(root, ${JSON.stringify(
120-
extendedOptions,
121-
null,
122-
2,
123-
)})
133+
extendedOptions,
134+
null,
135+
2,
136+
)})
124137
})
125138
</script>
126139
</body>

0 commit comments

Comments
 (0)