Skip to content

Commit 126922b

Browse files
committed
Merge remote-tracking branch 'node-aws-lambda-sapling/master'
2 parents fb964c1 + 1738fd9 commit 126922b

9 files changed

+22433
-7389
lines changed

.eslintrc.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
env:
2+
browser: true
3+
es2021: true
4+
parser: '@typescript-eslint/parser'
5+
parserOptions:
6+
ecmaVersion: 12
7+
sourceType: module
8+
plugins:
9+
- '@typescript-eslint'
10+
- prettier
11+
rules:
12+
'prettier/prettier': error

.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
node_modules
33
spec
44
src
5+
.editorconfig
6+
.eslintrc.yml
57
.gitignore
68
.prettierrc
79
npm-debug.log
810
tsconfig.json
9-
tslint.json
1011

1112
*.map

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v12.16.1
1+
16.5.0

README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ AWS_SDK_LOAD_CONFIG=true npx serverless offline
5858
Use serverless to run the server against the test environment:
5959
6060
```
61-
npx serverless invoke -f graphql -p examples/invoke-data/query.json
61+
npx serverless invoke --stage test -f graphql -p examples/invoke-data/query.json
6262
```
6363
6464
### Prettier
@@ -89,18 +89,10 @@ Many IDEs and editors support TSLint.
8989
9090
This project uses [Jest](https://jestjs.io/) for testing. Run tests before checking in.
9191
92-
### Unit Tests
93-
9492
```
9593
npm test
9694
```
9795
98-
### Integration Tests
99-
100-
```
101-
npm run test:integration
102-
```
103-
10496
## Building
10597
10698
```
@@ -118,19 +110,19 @@ npm run build
118110
### Test
119111
120112
```
121-
npm run deploy:test
113+
npm run deploy
122114
```
123115
124116
#### Checking logs
125117
126118
```
127-
npx serverless logs -t -f graphql
119+
npx serverless logs --stage test -t -f graphql
128120
```
129121
130122
### Production
131123
132124
```
133-
npm run deploy
125+
npm run deploy:prod
134126
```
135127
136128
#### Checking logs

0 commit comments

Comments
 (0)