Skip to content

Commit 2e11c91

Browse files
committed
more updates for lambda function
1 parent f9f1443 commit 2e11c91

File tree

8 files changed

+61
-242
lines changed

8 files changed

+61
-242
lines changed

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
10.16.2

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build]
22
command = "npm run build" # the command you run to build this file
3-
functions = "built-lambda" # netlify-lambda builds to this folder AND Netlify reads functions from here
3+
functions = "src/lambda" # netlify-lambda builds to this folder AND Netlify reads functions from here
44
publish = "build" # create-react-app builds to this folder, Netlify should serve all these files statically
55

package-lock.json

Lines changed: 39 additions & 223 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
"private": true,
55
"dependencies": {
66
"apollo-server-lambda": "2.9.3",
7+
"encoding": "0.1.12",
78
"graphql": "14.5.4",
9+
"graphql-tag-pluck": "0.8.4",
810
"merge-graphql-schemas": "1.7.0",
9-
"netlify-lambda": "1.6.3",
1011
"react": "^16.9.0",
1112
"react-dom": "^16.9.0",
1213
"react-scripts": "3.1.1"
@@ -15,8 +16,6 @@
1516
"start": "react-scripts start",
1617
"build": "run-p build:**",
1718
"build:app": "react-scripts build",
18-
"start:lambda": "netlify-lambda serve src/lambda",
19-
"build:lambda": "netlify-lambda build src/lambda",
2019
"test": "react-scripts test",
2120
"eject": "react-scripts eject"
2221
},

0 commit comments

Comments
 (0)