Skip to content

Commit 68534ea

Browse files
committed
chore(versions): update middlewares
1 parent 86b92d9 commit 68534ea

File tree

19 files changed

+3063
-10389
lines changed

19 files changed

+3063
-10389
lines changed

packages/graphql-playground-electron/package.json

Lines changed: 2 additions & 1 deletion
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.3.23",
7+
"version": "1.3.24",
88
"author": {
99
"name": "Graphcool",
1010
"email": "[email protected]",
@@ -95,6 +95,7 @@
9595
"graphcool-ui": "^0.0.13",
9696
"graphql-config": "^1.1.2",
9797
"graphql-config-extension-graphcool": "1.0.4",
98+
"graphql-config-extension-prisma": "0.0.1",
9899
"graphql-playground-react": "1.3.22",
99100
"js-yaml": "^3.10.0",
100101
"lodash.merge": "^4.6.0",

packages/graphql-playground-electron/yarn.lock

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3513,6 +3513,13 @@ [email protected]:
35133513
graphcool-yml "0.4.8"
35143514
graphql-config "^1.1.4"
35153515

3516+
3517+
version "0.0.1"
3518+
resolved "https://registry.yarnpkg.com/graphql-config-extension-prisma/-/graphql-config-extension-prisma-0.0.1.tgz#ab02d0aa80bc12883e4c898b04e0db5e73ed1936"
3519+
dependencies:
3520+
graphql-config "^1.1.4"
3521+
prisma-yml "0.0.2"
3522+
35163523
35173524
version "1.1.4"
35183525
resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-1.1.4.tgz#af09659f877b96451838de456e4e4f4be45be6dd"
@@ -6139,6 +6146,29 @@ pretty-format@^21.2.1:
61396146
ansi-regex "^3.0.0"
61406147
ansi-styles "^3.2.0"
61416148

6149+
prisma-json-schema@^0.0.1:
6150+
version "0.0.1"
6151+
resolved "https://registry.yarnpkg.com/prisma-json-schema/-/prisma-json-schema-0.0.1.tgz#0802e156a293faefdf21e5e41beb8d3681f45cb1"
6152+
6153+
6154+
version "0.0.2"
6155+
resolved "https://registry.yarnpkg.com/prisma-yml/-/prisma-yml-0.0.2.tgz#7f86e5fcb7dfe4a8cbf104a8b36ea9de69a9c0d3"
6156+
dependencies:
6157+
ajv "^5.5.1"
6158+
bluebird "^3.5.1"
6159+
debug "^3.1.0"
6160+
dotenv "^4.0.0"
6161+
fs-extra "^4.0.3"
6162+
isomorphic-fetch "^2.2.1"
6163+
js-yaml "^3.10.0"
6164+
json-stable-stringify "^1.0.1"
6165+
jsonwebtoken "^8.1.0"
6166+
lodash "^4.17.4"
6167+
prisma-json-schema "^0.0.1"
6168+
replaceall "^0.1.6"
6169+
scuid "^1.0.2"
6170+
yaml-ast-parser "^0.0.40"
6171+
61426172
private@^0.1.6, private@^0.1.7:
61436173
version "0.1.8"
61446174
resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"

packages/graphql-playground-html/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-playground-html",
3-
"version": "1.4.3",
3+
"version": "1.4.4",
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": [
@@ -36,6 +36,7 @@
3636
"dependencies": {
3737
"dotenv": "^4.0.0",
3838
"graphql-config": "^1.1.1",
39-
"graphql-config-extension-graphcool": "1.0.4"
39+
"graphql-config-extension-graphcool": "1.0.4",
40+
"graphql-config-extension-prisma": "0.0.3"
4041
}
4142
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
resolveEnvsInValues,
88
} from 'graphql-config'
99
import { patchEndpointsToConfigData } from 'graphql-config-extension-graphcool'
10+
import { patchEndpointsToConfigData as patchPrismaEndpointsToConfigData } from 'graphql-config-extension-prisma'
1011
import * as dotenv from 'dotenv'
1112

1213
import getLoadingMarkup from './get-loading-markup'
@@ -43,6 +44,7 @@ export async function renderPlaygroundPage(options: RenderPageOptions) {
4344
let config = getGraphQLConfig().config
4445
config = resolveEnvsInValues(config, env)
4546
config = await patchEndpointsToConfigData(config, process.cwd(), env)
47+
config = await patchPrismaEndpointsToConfigData(config, process.cwd(), env)
4648
const configPath = findGraphQLConfigFile(process.cwd())
4749
const configString = fs.readFileSync(configPath, 'utf-8')
4850
const folderName = path.basename(process.cwd())

0 commit comments

Comments
 (0)