Skip to content

Commit 9297cce

Browse files
committed
chore: update dependencies
BREAKING CHANGE: drop Node 4 support, requires `node >= v6.0.0`
1 parent 0a1fe7c commit 9297cce

File tree

5 files changed

+2864
-1269
lines changed

5 files changed

+2864
-1269
lines changed

.babelrc

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
11
{
22
"plugins": [
3-
"transform-object-rest-spread",
4-
"transform-flow-strip-types",
3+
"@babel/plugin-proposal-object-rest-spread",
4+
"@babel/plugin-transform-flow-strip-types"
55
],
66
"env": {
77
"cjs": {
88
"plugins": [
9-
"transform-class-properties",
10-
["transform-runtime", { "polyfill": false }]
9+
"@babel/plugin-proposal-class-properties"
1110
],
1211
"presets": [
13-
["env", {
14-
"targets": {
15-
"node": 4
16-
},
17-
}]
18-
],
12+
[
13+
"@babel/preset-env",
14+
{
15+
"targets": {
16+
"node": 6
17+
}
18+
}
19+
]
20+
]
1921
},
2022
"mjs": {
21-
"plugins": ["transform-class-properties"],
23+
"plugins": [
24+
"@babel/plugin-proposal-class-properties"
25+
],
2226
"presets": [
2327
[
24-
"env",
28+
"@babel/preset-env",
2529
{
2630
"targets": {
2731
"node": "8.0.0"
@@ -33,13 +37,18 @@
3337
]
3438
},
3539
"test": {
36-
"plugins": ["transform-class-properties"],
40+
"plugins": [
41+
"@babel/plugin-proposal-class-properties"
42+
],
3743
"presets": [
38-
["env", {
39-
"targets": {
40-
"node": "current"
41-
},
42-
}]
44+
[
45+
"@babel/preset-env",
46+
{
47+
"targets": {
48+
"node": "current"
49+
}
50+
}
51+
]
4352
]
4453
}
4554
}

.flowconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
.*/node_modules/travis.*
3434
.*/node_modules/uglify.*
3535
.*/node_modules/yargs.*
36+
.*/node_modules/express-graphql/dist/index.js.flow
3637

3738
[include]
3839

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cache:
77
notifications:
88
email: true
99
node_js:
10-
- "9"
10+
- "10"
1111
- "8"
1212
before_install: yarn global add greenkeeper-lockfile@1
1313
before_script: greenkeeper-lockfile-update

package.json

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -24,39 +24,40 @@
2424
"url": "https://github.com/graphql-compose/graphql-compose-aws/issues"
2525
},
2626
"homepage": "https://github.com/graphql-compose/graphql-compose-aws#readme",
27-
"dependencies": {
28-
"babel-runtime": "^6.26.0"
29-
},
3027
"peerDependencies": {
31-
"graphql-compose": ">=2.10.1 || >=3.0.0 || >=4.0.0"
28+
"graphql-compose": ">=5.0.1 || >=4.0.0 || >=3.0.0 || >=2.10.1"
3229
},
3330
"devDependencies": {
34-
"aws-sdk": "^2.263.1",
35-
"babel-cli": "^6.26.0",
36-
"babel-eslint": "^8.2.5",
37-
"babel-jest": "^23.2.0",
38-
"babel-plugin-transform-class-properties": "^6.24.1",
39-
"babel-plugin-transform-flow-strip-types": "^6.22.0",
40-
"babel-plugin-transform-object-rest-spread": "^6.26.0",
41-
"babel-plugin-transform-runtime": "^6.23.0",
42-
"babel-preset-env": "^1.7.0",
31+
"@babel/cli": "^7.0.0",
32+
"@babel/core": "^7.0.0",
33+
"@babel/node": "^7.0.0",
34+
"@babel/plugin-proposal-class-properties": "^7.0.0",
35+
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
36+
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
37+
"@babel/plugin-transform-runtime": "^7.0.0",
38+
"@babel/preset-env": "^7.0.0",
39+
"@babel/preset-flow": "^7.0.0",
40+
"aws-sdk": "^2.308.0",
41+
"babel-core": "^7.0.0-bridge.0",
42+
"babel-eslint": "^9.0.0",
43+
"babel-jest": "^23.4.2",
4344
"cz-conventional-changelog": "^2.1.0",
44-
"eslint": "^5.0.1",
45+
"eslint": "^5.5.0",
4546
"eslint-config-airbnb-base": "^13.0.0",
46-
"eslint-config-prettier": "^2.9.0",
47-
"eslint-plugin-flowtype": "^2.49.3",
48-
"eslint-plugin-import": "^2.13.0",
49-
"eslint-plugin-prettier": "^2.6.1",
47+
"eslint-config-prettier": "^3.0.1",
48+
"eslint-plugin-flowtype": "^2.50.0",
49+
"eslint-plugin-import": "^2.14.0",
50+
"eslint-plugin-prettier": "^2.6.2",
5051
"express": "^4.16.3",
5152
"express-graphql": "^0.6.12",
52-
"flow-bin": "^0.75.0",
53-
"graphql": "0.13.2",
54-
"graphql-compose": "^4.4.1",
55-
"jest": "^23.2.0",
56-
"nodemon": "^1.17.5",
57-
"prettier": "^1.13.6",
53+
"flow-bin": "^0.80.0",
54+
"graphql": "14.0.0",
55+
"graphql-compose": "^5.0.2",
56+
"jest": "^23.5.0",
57+
"nodemon": "^1.18.4",
58+
"prettier": "^1.14.2",
5859
"rimraf": "^2.6.2",
59-
"semantic-release": "^15.6.0"
60+
"semantic-release": "^15.9.12"
6061
},
6162
"config": {
6263
"commitizen": {

0 commit comments

Comments
 (0)