Skip to content
This repository was archived by the owner on Jul 11, 2024. It is now read-only.

Commit df7aef6

Browse files
chore: update deps (#78)
* chore: update deps * fix: profile doesn't exist error * chore: set node version to 10.16.3
1 parent 4c27180 commit df7aef6

File tree

6 files changed

+9932
-8822
lines changed

6 files changed

+9932
-8822
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ version: 2
22
jobs:
33
build:
44
docker:
5-
- image: circleci/node:8.10
5+
- image: circleci/node:10.16
66
steps:
77
- checkout
88
- run: yarn install
99
- run: yarn build
1010
test:
1111
docker:
12-
- image: circleci/node:8.10
12+
- image: circleci/node:10.16
1313
steps:
1414
- checkout
1515
- run: yarn install

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v8.10.0
1+
v10.16.3

package.json

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -19,41 +19,42 @@
1919
"watch:hello": "serverless invoke local --watch --function hello --path fixtures/event.json"
2020
},
2121
"devDependencies": {
22-
"@babel/core": "7.4.4",
23-
"@babel/preset-env": "7.4.4",
24-
"@babel/preset-typescript": "^7.3.3",
25-
"@types/jest": "^24.0.0",
26-
"@typescript-eslint/eslint-plugin": "^1.6.0",
27-
"@typescript-eslint/parser": "^1.6.0",
22+
"@babel/core": "7.6.0",
23+
"@babel/preset-env": "7.6.0",
24+
"@babel/preset-typescript": "^7.6.0",
25+
"@types/jest": "^24.0.18",
26+
"@typescript-eslint/eslint-plugin": "^2.2.0",
27+
"@typescript-eslint/parser": "^2.2.0",
2828
"babel-core": "^7.0.0-bridge.0",
29-
"babel-jest": "^23.4.2",
30-
"babel-loader": "^8.0.0",
31-
"eslint": "^5.16.0",
32-
"eslint-config-airbnb": "^17.1.0",
33-
"eslint-config-prettier": "^4.0.0",
29+
"babel-jest": "^24.9.0",
30+
"babel-loader": "^8.0.6",
31+
"eslint": "^6.3.0",
32+
"eslint-config-airbnb": "^18.0.1",
33+
"eslint-config-prettier": "^6.3.0",
3434
"eslint-import-resolver-typescript": "^1.1.1",
35-
"eslint-plugin-import": "^2.14.0",
36-
"eslint-plugin-jsx-a11y": "^6.1.1",
37-
"eslint-plugin-react": "^7.11.0",
38-
"husky": "^2.0.0",
39-
"jest": "^23.5.0",
40-
"lint-staged": "^8.0.0",
41-
"nodemon": "^1.18.9",
42-
"prettier": "^1.14.2",
43-
"serverless": "^1.40.0",
44-
"serverless-dotenv-plugin": "^2.0.1",
45-
"serverless-offline": "^4.0.0",
46-
"serverless-plugin-warmup": "^4.5.3-rc.1",
47-
"serverless-webpack": "^5.2.0",
48-
"ts-jest": "^24.0.0",
49-
"ts-loader": "^5.3.1",
50-
"typescript": "^3.2.1",
51-
"webpack": "^4.17.1",
35+
"eslint-plugin-import": "^2.18.2",
36+
"eslint-plugin-jsx-a11y": "^6.2.3",
37+
"eslint-plugin-react": "^7.14.3",
38+
"eslint-plugin-react-hooks": "1.7.0",
39+
"husky": "^3.0.5",
40+
"jest": "^24.9.0",
41+
"lint-staged": "^9.2.5",
42+
"nodemon": "^1.19.2",
43+
"prettier": "^1.18.2",
44+
"serverless": "^1.51.0",
45+
"serverless-dotenv-plugin": "^2.1.1",
46+
"serverless-offline": "^5.10.1",
47+
"serverless-plugin-warmup": "^4.7.0-rc.1",
48+
"serverless-webpack": "^5.3.1",
49+
"ts-jest": "^24.0.2",
50+
"ts-loader": "^6.1.0",
51+
"typescript": "^3.6.3",
52+
"webpack": "^4.39.3",
5253
"webpack-node-externals": "^1.7.2"
5354
},
5455
"dependencies": {
55-
"@types/aws-lambda": "^8.10.15",
56-
"@types/node": "^12.0.0",
56+
"@types/aws-lambda": "^8.10.31",
57+
"@types/node": "^12.7.5",
5758
"debug": "^4.1.1"
5859
},
5960
"husky": {

serverless.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ package:
2424

2525
provider:
2626
name: aws
27-
runtime: nodejs8.10
28-
# If you want to change to a different AWS profile
29-
# from ~/.aws/credentials, you can do so here
30-
profile: default
27+
runtime: nodejs10.x
3128
# you can overwrite defaults here
3229
# stage: dev
3330
# region: us-east-1
@@ -38,9 +35,9 @@ provider:
3835
Resource: '*'
3936

4037
custom:
41-
webpackIncludeModules: true
4238
webpack:
4339
webpackConfig: ./webpack.config.js
40+
includeModules: true
4441
packager: 'yarn' # Packager that will be used to package your external modules
4542
warmup:
4643
enabled: true

src/__snapshots__/hello.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exports[`hello executes as expected 1`] = `
1313
],
1414
"results": Array [
1515
Object {
16-
"isThrow": false,
16+
"type": "return",
1717
"value": undefined,
1818
},
1919
],

0 commit comments

Comments
 (0)