Skip to content

Commit dbfe926

Browse files
committed
chore: update dependencies
1 parent 4b20ac8 commit dbfe926

File tree

6 files changed

+341
-283
lines changed

6 files changed

+341
-283
lines changed

.eslintrc

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,15 @@
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-
"prefer-destructuring": 0,
27+
"prefer-destructuring": 0
3228
},
3329
"env": {
3430
"jasmine": true,
@@ -37,7 +33,7 @@
3733
"globals": {
3834
"Class": true,
3935
"$Shape": true,
40-
"$FlowFixMe": true,
36+
"$FlowFixMe": true
4137
},
4238
"plugins": [
4339
"flowtype",

.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
@@ -24,44 +24,33 @@
2424
},
2525
"homepage": "https://github.com/graphql-compose/graphql-compose-relay",
2626
"peerDependencies": {
27-
"graphql-compose": ">=6.0.0"
27+
"graphql-compose": ">=7.0.0"
2828
},
2929
"devDependencies": {
30-
"@babel/cli": "^7.4.3",
31-
"@babel/core": "^7.4.3",
32-
"@babel/plugin-proposal-object-rest-spread": "^7.4.3",
33-
"@babel/plugin-transform-flow-strip-types": "^7.4.0",
34-
"@babel/plugin-transform-runtime": "^7.4.3",
35-
"@babel/preset-env": "^7.4.3",
30+
"@babel/cli": "^7.4.4",
31+
"@babel/core": "^7.4.4",
32+
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
33+
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
34+
"@babel/plugin-transform-runtime": "^7.4.4",
35+
"@babel/preset-env": "^7.4.4",
3636
"@babel/preset-flow": "^7.0.0",
3737
"babel-core": "^7.0.0-bridge.0",
3838
"babel-eslint": "^10.0.1",
3939
"babel-jest": "^24.7.1",
40-
"cz-conventional-changelog": "^2.1.0",
4140
"eslint": "^5.16.0",
4241
"eslint-config-airbnb-base": "^13.1.0",
43-
"eslint-config-prettier": "^4.1.0",
44-
"eslint-plugin-flowtype": "^3.5.1",
45-
"eslint-plugin-import": "^2.16.0",
42+
"eslint-config-prettier": "^4.2.0",
43+
"eslint-plugin-flowtype": "^3.6.1",
44+
"eslint-plugin-import": "^2.17.2",
4645
"eslint-plugin-prettier": "^3.0.1",
47-
"flow-bin": "^0.96.0",
46+
"flow-bin": "^0.98.0",
4847
"graphql": "14.2.1",
49-
"graphql-compose": "^6.2.0",
48+
"graphql-compose": "^6.3.2",
5049
"jest": "^24.7.1",
51-
"prettier": "^1.16.4",
50+
"prettier": "^1.17.0",
5251
"rimraf": "^2.6.3",
5352
"semantic-release": "^15.13.3"
5453
},
55-
"config": {
56-
"commitizen": {
57-
"path": "./node_modules/cz-conventional-changelog"
58-
}
59-
},
60-
"jest": {
61-
"roots": [
62-
"<rootDir>/src"
63-
]
64-
},
6554
"scripts": {
6655
"build": "npm run build-cjs && npm run build-mjs",
6756
"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)