Skip to content

Commit 7ed9b45

Browse files
committed
chore: update dependencies
1 parent b1c1740 commit 7ed9b45

File tree

7 files changed

+356
-292
lines changed

7 files changed

+356
-292
lines changed

.eslintrc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,7 @@
3131
"functions": "ignore"
3232
}
3333
],
34-
"prettier/prettier": [
35-
"error",
36-
{
37-
"printWidth": 100,
38-
"singleQuote": true,
39-
"trailingComma": "es5"
40-
}
41-
],
34+
"prettier/prettier": ["error"],
4235
"import/prefer-default-export": 0,
4336
"arrow-parens": 0,
4437
"prefer-destructuring": 0,

.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+
}

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"eslint.validate": [
44
"javascript",
55
],
6-
"javascript.validate.enable": false
6+
"javascript.validate.enable": false,
7+
"javascript.autoClosingTags": false,
78
}

jest.config.js

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

package.json

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -23,48 +23,37 @@
2323
},
2424
"homepage": "https://github.com/graphql-compose/graphql-compose-json",
2525
"peerDependencies": {
26-
"graphql-compose": ">=6.0.0"
26+
"graphql-compose": ">=7.0.0"
2727
},
2828
"devDependencies": {
29-
"@babel/cli": "^7.4.3",
30-
"@babel/core": "^7.4.3",
29+
"@babel/cli": "^7.4.4",
30+
"@babel/core": "^7.4.4",
3131
"@babel/node": "^7.2.2",
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",
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",
4746
"express": "^4.16.4",
48-
"express-graphql": "^0.7.1",
49-
"flow-bin": "^0.96.0",
47+
"express-graphql": "^0.8.0",
48+
"flow-bin": "^0.98.0",
5049
"graphql": "14.2.1",
51-
"graphql-compose": "^6.2.0",
50+
"graphql-compose": "^6.3.2",
5251
"jest": "^24.7.1",
53-
"node-fetch": "^2.3.0",
54-
"prettier": "^1.16.4",
52+
"node-fetch": "^2.4.1",
53+
"prettier": "^1.17.0",
5554
"rimraf": "^2.6.3",
5655
"semantic-release": "^15.13.3"
5756
},
58-
"config": {
59-
"commitizen": {
60-
"path": "./node_modules/cz-conventional-changelog"
61-
}
62-
},
63-
"jest": {
64-
"roots": [
65-
"<rootDir>/src"
66-
]
67-
},
6857
"scripts": {
6958
"build": "npm run build-cjs && npm run build-mjs",
7059
"build-cjs": "rimraf lib && BABEL_ENV=cjs babel src --ignore __tests__,__mocks__,__fixtures__ -d lib && COPY_TO_FOLDER=lib npm run build-flow",

0 commit comments

Comments
 (0)