Skip to content

Commit f83844e

Browse files
committed
chore: update dependencies
1 parent 61747fa commit f83844e

File tree

6 files changed

+342
-284
lines changed

6 files changed

+342
-284
lines changed

.eslintrc

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,26 @@
1616
"objects": "always-multiline",
1717
"imports": "always-multiline",
1818
"exports": "always-multiline",
19-
"functions": "ignore",
19+
"functions": "ignore"
2020
}],
2121
"no-plusplus": 0,
2222
"import/no-extraneous-dependencies": 0,
2323
"import/prefer-default-export": 0,
2424
"import/no-cycle": 0,
25-
"prettier/prettier": ["error", {
26-
"printWidth": 100,
27-
"singleQuote": true,
28-
"trailingComma": "es5",
29-
}],
25+
"prettier/prettier": ["error"],
3026
"no-unused-expressions": 0,
31-
"no-restricted-syntax": 0,
27+
"no-restricted-syntax": 0
3228
},
3329
"env": {
3430
"jasmine": true,
3531
"jest": true
3632
},
3733
"globals": {
3834
"Class": true,
39-
"$Shape": true,
35+
"$Shape": true
4036
},
4137
"plugins": [
4238
"flowtype",
4339
"prettier"
44-
],
40+
]
4541
}

.prettierrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"singleQuote": true,
3+
"tabWidth": 2,
4+
"useTabs": false,
5+
"printWidth": 100,
6+
"trailingComma": "es5"
7+
}

.vscode/launch.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Jest",
9+
"type": "node",
10+
"request": "launch",
11+
"program": "${workspaceFolder}/node_modules/.bin/jest",
12+
"args": ["--runInBand", "--watch"],
13+
"cwd": "${workspaceFolder}",
14+
"console": "integratedTerminal",
15+
"internalConsoleOptions": "neverOpen",
16+
"disableOptimisticBPs": true
17+
},
18+
{
19+
"name": "Jest Current File",
20+
"type": "node",
21+
"request": "launch",
22+
"program": "${workspaceFolder}/node_modules/.bin/jest",
23+
"args": [
24+
"${fileBasenameNoExtension}",
25+
"--config",
26+
"jest.config.js"
27+
],
28+
"console": "integratedTerminal",
29+
"internalConsoleOptions": "neverOpen",
30+
"disableOptimisticBPs": true
31+
}
32+
]
33+
}

jest.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
roots: ['<rootDir>/src'],
3+
testMatch: ['**/__tests__/**/*-test.(ts|js)'],
4+
testEnvironment: 'node',
5+
};

package.json

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -25,44 +25,33 @@
2525
},
2626
"homepage": "https://github.com/graphql-compose/graphql-compose-connection",
2727
"peerDependencies": {
28-
"graphql-compose": ">=6.0.0"
28+
"graphql-compose": ">=7.0.0"
2929
},
3030
"devDependencies": {
31-
"@babel/cli": "^7.4.3",
32-
"@babel/core": "^7.4.3",
33-
"@babel/plugin-proposal-object-rest-spread": "^7.4.3",
34-
"@babel/plugin-transform-flow-strip-types": "^7.4.0",
35-
"@babel/plugin-transform-runtime": "^7.4.3",
36-
"@babel/preset-env": "^7.4.3",
31+
"@babel/cli": "^7.4.4",
32+
"@babel/core": "^7.4.4",
33+
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
34+
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
35+
"@babel/plugin-transform-runtime": "^7.4.4",
36+
"@babel/preset-env": "^7.4.4",
3737
"@babel/preset-flow": "^7.0.0",
3838
"babel-core": "^7.0.0-bridge.0",
3939
"babel-eslint": "^10.0.1",
4040
"babel-jest": "^24.7.1",
41-
"cz-conventional-changelog": "^2.1.0",
4241
"eslint": "^5.16.0",
4342
"eslint-config-airbnb-base": "^13.1.0",
44-
"eslint-config-prettier": "^4.1.0",
45-
"eslint-plugin-flowtype": "^3.5.1",
46-
"eslint-plugin-import": "^2.16.0",
43+
"eslint-config-prettier": "^4.2.0",
44+
"eslint-plugin-flowtype": "^3.6.1",
45+
"eslint-plugin-import": "^2.17.2",
4746
"eslint-plugin-prettier": "^3.0.1",
48-
"flow-bin": "^0.96.0",
47+
"flow-bin": "^0.98.0",
4948
"graphql": "14.2.1",
50-
"graphql-compose": "^6.2.0",
49+
"graphql-compose": "^6.3.2",
5150
"jest": "^24.7.1",
52-
"prettier": "^1.16.4",
51+
"prettier": "^1.17.0",
5352
"rimraf": "^2.6.3",
5453
"semantic-release": "^15.13.3"
5554
},
56-
"config": {
57-
"commitizen": {
58-
"path": "./node_modules/cz-conventional-changelog"
59-
}
60-
},
61-
"jest": {
62-
"roots": [
63-
"<rootDir>/src"
64-
]
65-
},
6655
"scripts": {
6756
"build": "npm run build-cjs && npm run build-mjs",
6857
"build-cjs": "rimraf lib && BABEL_ENV=cjs babel src --ignore __tests__,__mocks__ -d lib && COPY_TO_FOLDER=lib npm run build-flow",

0 commit comments

Comments
 (0)