Skip to content

Commit 9f42807

Browse files
committed
chore: update dependencies
1 parent b189c63 commit 9f42807

File tree

6 files changed

+377
-335
lines changed

6 files changed

+377
-335
lines changed

.eslintrc

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,25 @@
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",
3834
"prettier"
3935
],
4036
"globals": {
4137
"$Shape": true,
42-
"$FlowFixMe": true,
38+
"$FlowFixMe": true
4339
}
4440
}

.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: 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: 17 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -25,50 +25,39 @@
2525
},
2626
"homepage": "https://github.com/graphql-compose/graphql-compose-aws#readme",
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",
31+
"@babel/cli": "^7.4.4",
32+
"@babel/core": "^7.4.4",
3333
"@babel/node": "^7.2.2",
34-
"@babel/plugin-proposal-class-properties": "^7.4.0",
35-
"@babel/plugin-proposal-object-rest-spread": "^7.4.3",
36-
"@babel/plugin-transform-flow-strip-types": "^7.4.0",
37-
"@babel/plugin-transform-runtime": "^7.4.3",
38-
"@babel/preset-env": "^7.4.3",
34+
"@babel/plugin-proposal-class-properties": "^7.4.4",
35+
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
36+
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
37+
"@babel/plugin-transform-runtime": "^7.4.4",
38+
"@babel/preset-env": "^7.4.4",
3939
"@babel/preset-flow": "^7.0.0",
40-
"aws-sdk": "^2.437.0",
40+
"aws-sdk": "^2.444.0",
4141
"babel-core": "^7.0.0-bridge.0",
4242
"babel-eslint": "^10.0.1",
4343
"babel-jest": "^24.7.1",
44-
"cz-conventional-changelog": "^2.1.0",
4544
"eslint": "^5.16.0",
4645
"eslint-config-airbnb-base": "^13.1.0",
47-
"eslint-config-prettier": "^4.1.0",
48-
"eslint-plugin-flowtype": "^3.5.1",
49-
"eslint-plugin-import": "^2.16.0",
46+
"eslint-config-prettier": "^4.2.0",
47+
"eslint-plugin-flowtype": "^3.6.1",
48+
"eslint-plugin-import": "^2.17.2",
5049
"eslint-plugin-prettier": "^3.0.1",
5150
"express": "^4.16.4",
52-
"express-graphql": "^0.7.1",
53-
"flow-bin": "^0.96.0",
51+
"express-graphql": "^0.8.0",
52+
"flow-bin": "^0.98.0",
5453
"graphql": "14.2.1",
55-
"graphql-compose": "^6.2.0",
54+
"graphql-compose": "^6.3.2",
5655
"jest": "^24.7.1",
57-
"nodemon": "^1.18.10",
58-
"prettier": "^1.16.4",
56+
"nodemon": "^1.18.11",
57+
"prettier": "^1.17.0",
5958
"rimraf": "^2.6.3",
6059
"semantic-release": "^15.13.3"
6160
},
62-
"config": {
63-
"commitizen": {
64-
"path": "./node_modules/cz-conventional-changelog"
65-
}
66-
},
67-
"jest": {
68-
"roots": [
69-
"<rootDir>/src"
70-
]
71-
},
7261
"scripts": {
7362
"build": "npm run build-cjs && npm run build-mjs",
7463
"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)