Skip to content

Commit 0347a2c

Browse files
committed
build: update dependencies
1 parent 9417358 commit 0347a2c

File tree

6 files changed

+1286
-957
lines changed

6 files changed

+1286
-957
lines changed

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"functions": "ignore"
2020
}],
2121
"no-plusplus": 0,
22+
"max-classes-per-file": 0,
2223
"import/no-extraneous-dependencies": 0,
2324
"import/prefer-default-export": 0,
2425
"import/no-cycle": 0,

.vscode/settings.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
2-
"prettier.eslintIntegration": true,
3-
"eslint.validate": [
4-
"javascript",
5-
],
6-
"javascript.validate.enable": false
2+
"eslint.validate": ["javascript"],
3+
"javascript.validate.enable": false,
4+
"javascript.autoClosingTags": false,
5+
"eslint.autoFixOnSave": true
76
}

examples/fullApi/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ const expressPort = process.env.port || process.env.PORT || 4000;
1010
const server = express();
1111
server.use(
1212
'/',
13-
graphqlHTTP({
13+
(graphqlHTTP({
1414
schema: (schema: any),
1515
graphiql: true,
1616
formatError: error => ({
1717
message: error.message,
1818
stack: error.stack.split('\n'),
1919
}),
20-
})
20+
}): any)
2121
);
2222

2323
server.listen(expressPort, () => {

examples/partialApi/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ const expressPort = process.env.port || process.env.PORT || 4000;
1010
const server = express();
1111
server.use(
1212
'/',
13-
graphqlHTTP({
13+
(graphqlHTTP({
1414
schema: (schema: any),
1515
graphiql: true,
1616
formatError: error => ({
1717
message: error.message,
1818
stack: error.stack.split('\n'),
1919
}),
20-
})
20+
}): any)
2121
);
2222

2323
server.listen(expressPort, () => {

package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -28,35 +28,35 @@
2828
"graphql-compose": "^7.0.4"
2929
},
3030
"devDependencies": {
31-
"@babel/cli": "^7.4.4",
32-
"@babel/core": "^7.4.5",
33-
"@babel/node": "^7.4.5",
34-
"@babel/plugin-proposal-class-properties": "^7.4.4",
35-
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
36-
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
37-
"@babel/plugin-transform-runtime": "^7.4.4",
38-
"@babel/preset-env": "^7.4.5",
31+
"@babel/cli": "^7.6.4",
32+
"@babel/core": "^7.6.4",
33+
"@babel/node": "^7.6.3",
34+
"@babel/plugin-proposal-class-properties": "^7.5.5",
35+
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
36+
"@babel/plugin-transform-flow-strip-types": "^7.6.3",
37+
"@babel/plugin-transform-runtime": "^7.6.2",
38+
"@babel/preset-env": "^7.6.3",
3939
"@babel/preset-flow": "^7.0.0",
40-
"aws-sdk": "^2.467.0",
40+
"aws-sdk": "^2.561.0",
4141
"babel-core": "^7.0.0-bridge.0",
42-
"babel-eslint": "^10.0.1",
43-
"babel-jest": "^24.8.0",
44-
"eslint": "^5.16.0",
45-
"eslint-config-airbnb-base": "^13.1.0",
46-
"eslint-config-prettier": "^4.3.0",
47-
"eslint-plugin-flowtype": "^3.9.1",
48-
"eslint-plugin-import": "^2.17.3",
49-
"eslint-plugin-prettier": "^3.1.0",
42+
"babel-eslint": "^10.0.3",
43+
"babel-jest": "^24.9.0",
44+
"eslint": "^6.6.0",
45+
"eslint-config-airbnb-base": "^14.0.0",
46+
"eslint-config-prettier": "^6.5.0",
47+
"eslint-plugin-flowtype": "^4.3.0",
48+
"eslint-plugin-import": "^2.18.2",
49+
"eslint-plugin-prettier": "^3.1.1",
5050
"express": "^4.17.1",
51-
"express-graphql": "^0.8.0",
52-
"flow-bin": "^0.100.0",
53-
"graphql": "14.3.1",
54-
"graphql-compose": "^7.0.4",
55-
"jest": "^24.8.0",
56-
"nodemon": "^1.19.1",
57-
"prettier": "^1.17.1",
58-
"rimraf": "^2.6.3",
59-
"semantic-release": "^15.13.12"
51+
"express-graphql": "^0.9.0",
52+
"flow-bin": "^0.110.0",
53+
"graphql": "14.5.8",
54+
"graphql-compose": "^7.4.2",
55+
"jest": "^24.9.0",
56+
"nodemon": "^1.19.4",
57+
"prettier": "^1.18.2",
58+
"rimraf": "^3.0.0",
59+
"semantic-release": "^15.13.28"
6060
},
6161
"scripts": {
6262
"build": "npm run build-cjs && npm run build-mjs",

0 commit comments

Comments
 (0)