Skip to content

Commit d9b9d1f

Browse files
committed
feat: add graphql-compose@^8.0.0 to peer dependencies and update other dependencies
1 parent fe7c9f7 commit d9b9d1f

File tree

3 files changed

+3200
-4403
lines changed

3 files changed

+3200
-4403
lines changed

.eslintrc.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ const path = require('path');
33
module.exports = {
44
parser: '@typescript-eslint/parser',
55
plugins: ['@typescript-eslint', 'prettier'],
6-
extends: [
7-
'plugin:@typescript-eslint/recommended',
8-
'prettier/@typescript-eslint',
9-
'plugin:prettier/recommended',
10-
],
6+
extends: ['plugin:@typescript-eslint/recommended', 'prettier', 'plugin:prettier/recommended'],
117
parserOptions: {
128
sourceType: 'module',
139
useJSXTextNode: true,

package.json

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,34 @@
2222
},
2323
"homepage": "https://github.com/graphql-compose/graphql-compose-json",
2424
"peerDependencies": {
25-
"graphql-compose": "^7.0.4"
25+
"graphql-compose": "^7.0.4 || ^8.0.0"
2626
},
2727
"devDependencies": {
28-
"@types/express": "4.17.4",
28+
"@types/express": "4.17.11",
2929
"@types/express-graphql": "^0.9.0",
30-
"@types/graphql": "^14.5.0",
31-
"@types/jest": "26.0.10",
32-
"@types/node": "14.6.0",
33-
"@types/node-fetch": "2.5.7",
34-
"@typescript-eslint/eslint-plugin": "3.9.1",
35-
"@typescript-eslint/parser": "3.9.1",
36-
"cross-env": "7.0.2",
37-
"eslint": "7.7.0",
38-
"eslint-config-airbnb-base": "14.2.0",
39-
"eslint-config-prettier": "6.11.0",
40-
"eslint-plugin-import": "2.22.0",
41-
"eslint-plugin-prettier": "3.1.4",
30+
"@types/jest": "26.0.23",
31+
"@types/node": "15.0.1",
32+
"@types/node-fetch": "2.5.10",
33+
"@typescript-eslint/eslint-plugin": "4.22.0",
34+
"@typescript-eslint/parser": "4.22.0",
35+
"cross-env": "7.0.3",
36+
"eslint": "7.25.0",
37+
"eslint-config-airbnb-base": "14.2.1",
38+
"eslint-config-prettier": "8.3.0",
39+
"eslint-plugin-import": "2.22.1",
40+
"eslint-plugin-prettier": "3.4.0",
4241
"express": "^4.17.1",
43-
"express-graphql": "0.11.0",
44-
"graphql": "15.3.0",
45-
"graphql-compose": "7.19.4",
46-
"jest": "26.4.0",
47-
"node-fetch": "^2.6.0",
48-
"prettier": "2.0.5",
42+
"express-graphql": "0.12.0",
43+
"graphql": "15.5.0",
44+
"graphql-compose": "8.0.1",
45+
"jest": "26.6.3",
46+
"node-fetch": "2.6.1",
47+
"prettier": "2.2.1",
4948
"rimraf": "3.0.2",
50-
"semantic-release": "17.1.1",
51-
"ts-jest": "26.2.0",
52-
"ts-node": "8.10.2",
53-
"typescript": "3.9.7"
49+
"semantic-release": "17.4.2",
50+
"ts-jest": "26.5.5",
51+
"ts-node": "9.1.1",
52+
"typescript": "4.2.4"
5453
},
5554
"scripts": {
5655
"build": "rimraf lib && tsc -p ./tsconfig.build.json",
@@ -59,7 +58,7 @@
5958
"lint": "yarn eslint && yarn tscheck",
6059
"eslint": "eslint --ext .ts ./src",
6160
"tscheck": "tsc --noEmit",
62-
"test": "cross-env NODE_ENV=test npm run coverage && npm run lint",
61+
"test": "cross-env NODE_ENV=test yarn coverage && yarn lint",
6362
"semantic-release": "semantic-release",
6463
"fixture-demo": "ts-node ./src/__fixtures__/app.ts"
6564
}

0 commit comments

Comments
 (0)