Skip to content

Commit 030c553

Browse files
committed
chore: update dependencies
1 parent 61b7bd8 commit 030c553

File tree

6 files changed

+383
-338
lines changed

6 files changed

+383
-338
lines changed

.eslintrc

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,18 @@
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-
}],
30-
"lines-between-class-members": ["error", "always", { exceptAfterSingleLine: true }]
25+
"prettier/prettier": ["error"],
26+
"lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }]
3127
},
3228
"env": {
3329
"jasmine": true,
34-
"jest": true,
30+
"jest": true
3531
},
3632
"plugins": [
3733
"flowtype",
@@ -40,5 +36,6 @@
4036
"globals": {
4137
"$Shape": true,
4238
"$FlowFixMe": true,
39+
"$ReadOnlyArray": true
4340
}
4441
}

.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: 17 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -28,52 +28,41 @@
2828
},
2929
"peerDependencies": {
3030
"elasticsearch": ">=15.0.0 || >=14.0.0 || >=13.0.0 || >=12.0.0",
31-
"graphql-compose": ">=6.2.0"
31+
"graphql-compose": ">=7.0.0"
3232
},
3333
"devDependencies": {
34-
"@babel/cli": "^7.4.3",
35-
"@babel/core": "^7.4.3",
34+
"@babel/cli": "^7.4.4",
35+
"@babel/core": "^7.4.4",
3636
"@babel/node": "^7.2.2",
37-
"@babel/plugin-proposal-class-properties": "^7.4.0",
38-
"@babel/plugin-proposal-object-rest-spread": "^7.4.3",
39-
"@babel/plugin-transform-flow-strip-types": "^7.4.0",
40-
"@babel/plugin-transform-runtime": "^7.4.3",
41-
"@babel/preset-env": "^7.4.3",
37+
"@babel/plugin-proposal-class-properties": "^7.4.4",
38+
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
39+
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
40+
"@babel/plugin-transform-runtime": "^7.4.4",
41+
"@babel/preset-env": "^7.4.4",
4242
"@babel/preset-flow": "^7.0.0",
43-
"aws-sdk": "^2.437.0",
43+
"aws-sdk": "^2.444.0",
4444
"babel-core": "^7.0.0-bridge.0",
4545
"babel-eslint": "^10.0.1",
4646
"babel-jest": "^24.7.1",
47-
"cz-conventional-changelog": "^2.1.0",
4847
"elasticsearch": "^15.4.1",
4948
"eslint": "^5.16.0",
5049
"eslint-config-airbnb-base": "^13.1.0",
51-
"eslint-config-prettier": "^4.1.0",
52-
"eslint-plugin-flowtype": "^3.5.1",
53-
"eslint-plugin-import": "^2.16.0",
50+
"eslint-config-prettier": "^4.2.0",
51+
"eslint-plugin-flowtype": "^3.6.1",
52+
"eslint-plugin-import": "^2.17.2",
5453
"eslint-plugin-prettier": "^3.0.1",
5554
"express": "^4.16.4",
56-
"express-graphql": "^0.7.1",
57-
"flow-bin": "^0.96.0",
55+
"express-graphql": "^0.8.0",
56+
"flow-bin": "^0.98.0",
5857
"graphql": "^14.2.1",
59-
"graphql-compose": "^6.2.0",
58+
"graphql-compose": "^6.3.2",
6059
"jest": "^24.7.1",
61-
"nodemon": "^1.18.10",
60+
"nodemon": "^1.18.11",
6261
"npm-run-all": "^4.1.5",
63-
"prettier": "^1.16.4",
62+
"prettier": "^1.17.0",
6463
"rimraf": "^2.6.3",
6564
"semantic-release": "^15.13.3"
6665
},
67-
"config": {
68-
"commitizen": {
69-
"path": "./node_modules/cz-conventional-changelog"
70-
}
71-
},
72-
"jest": {
73-
"roots": [
74-
"<rootDir>/src"
75-
]
76-
},
7766
"scripts": {
7867
"build": "npm run build-cjs && npm run build-mjs",
7968
"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)