Skip to content

Commit

Permalink
Merge pull request #4 from wallabag/node-10
Browse files Browse the repository at this point in the history
Jump to node 10
  • Loading branch information
j0k3r authored Nov 15, 2019
2 parents 9001631 + ec9c67a commit a83fdfa
Show file tree
Hide file tree
Showing 7 changed files with 2,097 additions and 1,734 deletions.
7 changes: 2 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@
"comments": false,
"plugins": [
"source-map-support",
"@babel/plugin-transform-runtime",
"@babel/plugin-syntax-import-meta",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-json-strings"
"@babel/plugin-proposal-class-properties"
],
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "8.10"
"node": "10.17"
}
}
]
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10.17
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ env:
- NODE_ENV=test
- TZ=Europe/Paris

node_js:
- "8.10"

script:
- yarn lint
- yarn test
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Available lambdas:

## Prerequisites

- Node.js 8.10
- Serverless CLI v1.35.1 or later (`npm install -g serverless`)
- Node.js 10.17
- Serverless CLI v1.54.0 or later (`npm install -g serverless`)
- An AWS account
- Defined [provider credentials](https://serverless.com/framework/docs/providers/aws/guide/credentials/)

Expand Down
40 changes: 18 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,39 +9,35 @@
"author": "wallabag <[email protected]>",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.1.5",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"@babel/core": "^7.7.2",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.4",
"babel-plugin-source-map-support": "^2.0.1",
"eslint": "^5.9.0",
"babel-plugin-source-map-support": "^2.1.1",
"eslint": "^6.6.0",
"eslint-config-20minutes": "^1.0.8",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-babel": "^5.2.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"jest": "^24.8.0",
"jest-cli": "^24.8.0",
"nock": "^10.0.4",
"regenerator-runtime": "^0.13.1",
"serverless-offline": "^3.25.6",
"eslint-plugin-react": "^7.16.0",
"jest": "^24.9.0",
"jest-cli": "^24.9.0",
"nock": "^11.7.0",
"regenerator-runtime": "^0.13.3",
"serverless-offline": "^5.12.0",
"serverless-webpack": "^5.1.0",
"webpack": "^4.28.1",
"webpack": "^4.41.2",
"webpack-node-externals": "^1.6.0"
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"@babel/runtime": "^7.7.2",
"diffparser": "^2.0.1",
"got": "^9.5.0",
"octonode": "^0.9.5",
"source-map-support": "^0.5.9"
"source-map-support": "^0.5.16"
},
"jest": {
"clearMocks": true,
Expand Down
4 changes: 2 additions & 2 deletions serverless.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
frameworkVersion: ">=1.35.1 <2.0.0"
frameworkVersion: ">=1.54.0 <2.0.0"

service: serverless-site-config-github-check

Expand All @@ -15,7 +15,7 @@ custom:

provider:
name: aws
runtime: nodejs8.10
runtime: nodejs10.x
profile: default
region: ${opt:region, 'eu-west-1'}
environment:
Expand Down
Loading

0 comments on commit a83fdfa

Please sign in to comment.