Skip to content

Commit 43e081a

Browse files
committed
prepare middlewares for publishing
1 parent 0b63ba4 commit 43e081a

File tree

18 files changed

+358
-2170
lines changed

18 files changed

+358
-2170
lines changed

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,11 @@
22
"_workspaces": [
33
"packages/*"
44
],
5-
"homepage": "https://github.com/graphcool/graphql-playground"
5+
"homepage": "https://github.com/graphcool/graphql-playground",
6+
"devDependencies": {
7+
"aws-lambda": "^0.1.2",
8+
"express": "^4.16.2",
9+
"hapi": "^16.6.2",
10+
"koa": "^2.4.1"
11+
}
612
}

packages/graphql-playground-middleware-express/examples/basic/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const express = require('express')
22
const bodyParser = require('body-parser')
33
const {graphqlExpress} = require('apollo-server-express')
44
const {makeExecutableSchema} = require('graphql-tools')
5-
const expressPlayground = require('graphql-playground-middleware-express')
5+
const expressPlayground = require('graphql-playground-middleware-express').default
66

77
const schema = makeExecutableSchema({
88
typeDefs: `

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"cors": "^2.8.4",
1616
"express": "^4.16.2",
1717
"graphql": "^0.11.7",
18-
"graphql-playground-middleware-express": "^1.0.0",
18+
"graphql-playground-middleware-express": "1.1.2",
1919
"graphql-tools": "^2.7.1"
2020
}
2121
}

packages/graphql-playground-middleware-express/examples/basic/yarn.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ graphql-extensions@^0.0.x:
190190
core-js "^2.5.1"
191191
source-map-support "^0.5.0"
192192

193+
194+
version "1.1.2"
195+
resolved "https://registry.yarnpkg.com/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.1.2.tgz#7ca11f1c388ed5cc4ae2e3801bff2c69051f392a"
196+
193197
graphql-tools@^2.7.1:
194198
version "2.7.1"
195199
resolved "https://registry.yarnpkg.com/graphql-tools/-/graphql-tools-2.7.1.tgz#9875ef1a83134db3e998349e1e909944bf8b9ebb"

packages/graphql-playground-middleware-express/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-middleware-express",
3-
"version": "1.0.0",
3+
"version": "1.1.2",
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": [

0 commit comments

Comments
 (0)