Skip to content

Commit 77f3462

Browse files
committedMay 24, 2018
fix(lambda): fixed lambda playground. Closes #267
1 parent 64f9efc commit 77f3462

File tree

3 files changed

+22
-14
lines changed

3 files changed

+22
-14
lines changed
 

‎package.json

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,20 @@
33
"version": "0.0.0-semantic-release",
44
"main": "dist/index.js",
55
"typings": "dist/index.d.ts",
6-
"files": ["dist"],
6+
"files": [
7+
"dist"
8+
],
79
"repository": {
810
"type": "git",
911
"url": "git+https://github.com/graphcool/graphql-yoga.git"
1012
},
11-
"keywords": ["graphql", "server", "api", "graphql-server", "apollo"],
13+
"keywords": [
14+
"graphql",
15+
"server",
16+
"api",
17+
"graphql-server",
18+
"apollo"
19+
],
1220
"author": "Johannes Schickling <johannes@graph.cool>",
1321
"license": "MIT",
1422
"bugs": {
@@ -18,8 +26,7 @@
1826
"scripts": {
1927
"prepublish": "yarn build",
2028
"build": "rm -rf dist && tsc -d",
21-
"lint":
22-
"tslint --project tsconfig.json {src,test}/**/*.ts && prettier-check --ignore-path .gitignore {src,.}/{*.ts,*.js}",
29+
"lint": "tslint --project tsconfig.json {src,test}/**/*.ts && prettier-check --ignore-path .gitignore {src,.}/{*.ts,*.js}",
2330
"format": "prettier --write --ignore-path .gitignore {src,.}/{*.ts,*.js}",
2431
"test": "yarn lint && yarn build && ava",
2532
"watch:tsc": "tsc --watch",
@@ -30,7 +37,9 @@
3037
"branch": "master"
3138
},
3239
"ava": {
33-
"files": ["dist/**/*.test.js"]
40+
"files": [
41+
"dist/**/*.test.js"
42+
]
3443
},
3544
"dependencies": {
3645
"@types/cors": "^2.8.4",
@@ -49,8 +58,8 @@
4958
"graphql-deduplicator": "^2.0.1",
5059
"graphql-import": "^0.6.0",
5160
"graphql-middleware": "1.2.1",
52-
"graphql-playground-middleware-express": "1.6.2",
53-
"graphql-playground-middleware-lambda": "1.6.0",
61+
"graphql-playground-middleware-express": "1.6.3",
62+
"graphql-playground-middleware-lambda": "1.6.1",
5463
"graphql-subscriptions": "^0.5.8",
5564
"graphql-tools": "^2.23.1",
5665
"subscriptions-transport-ws": "^0.9.8"

‎src/lambda.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export class GraphQLServerLambda {
1919
constructor(props: LambdaProps) {
2020
const defaultOptions: LambdaOptions = {
2121
tracing: { mode: 'http-header' },
22-
endpoint: '/',
2322
deduplicator: true,
2423
}
2524
this.options = { ...defaultOptions, ...props.options }

‎yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,15 +1837,15 @@ graphql-playground-html@1.5.5:
18371837
dependencies:
18381838
graphql-config "2.0.0"
18391839

1840-
graphql-playground-middleware-express@1.6.2:
1841-
version "1.6.2"
1842-
resolved "https://registry.yarnpkg.com/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.6.2.tgz#3efe103cd222d6cf39e71f70c48be550c47b7a9b"
1840+
graphql-playground-middleware-express@1.6.3:
1841+
version "1.6.3"
1842+
resolved "https://registry.yarnpkg.com/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.6.3.tgz#0f75b5b139edb2d1079208af59d158caba2309d1"
18431843
dependencies:
18441844
graphql-playground-html "1.5.5"
18451845

1846-
graphql-playground-middleware-lambda@1.6.0:
1847-
version "1.6.0"
1848-
resolved "https://registry.yarnpkg.com/graphql-playground-middleware-lambda/-/graphql-playground-middleware-lambda-1.6.0.tgz#5d28c4f0318916fb77c09ee72374cfaeba7c1186"
1846+
graphql-playground-middleware-lambda@1.6.1:
1847+
version "1.6.1"
1848+
resolved "https://registry.yarnpkg.com/graphql-playground-middleware-lambda/-/graphql-playground-middleware-lambda-1.6.1.tgz#e0f1944558136dd3975570c92c702d6009cc779c"
18491849
dependencies:
18501850
graphql-playground-html "1.5.5"
18511851

0 commit comments

Comments
 (0)
Please sign in to comment.