Skip to content

Commit 45cd046

Browse files
committed
chore: update dependencies
1 parent ac03898 commit 45cd046

File tree

6 files changed

+363
-347
lines changed

6 files changed

+363
-347
lines changed

.eslintrc

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,21 @@
1515
"import/no-extraneous-dependencies": 0,
1616
"import/prefer-default-export": 0,
1717
"import/no-cycle": 0,
18-
"prettier/prettier": ["error", {
19-
"printWidth": 100,
20-
"singleQuote": true,
21-
"trailingComma": "es5",
22-
}],
18+
"prettier/prettier": ["error"],
2319
"no-unused-expressions": 0,
2420
"no-restricted-syntax": 0,
25-
"prefer-destructuring": 0,
21+
"prefer-destructuring": 0
2622
},
2723
"env": {
2824
"jasmine": true,
2925
"jest": true
3026
},
3127
"globals": {
3228
"Class": true,
33-
"$Shape": true,
29+
"$Shape": true
3430
},
3531
"plugins": [
3632
"flowtype",
3733
"prettier"
38-
],
34+
]
3935
}

.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: 16 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -28,46 +28,35 @@
2828
},
2929
"homepage": "https://github.com/graphql-compose/graphql-compose-pagination",
3030
"peerDependencies": {
31-
"graphql-compose": ">=6.0.0"
31+
"graphql-compose": ">=7.0.0"
3232
},
3333
"devDependencies": {
34-
"@babel/cli": "^7.4.3",
35-
"@babel/core": "^7.4.3",
36-
"@babel/plugin-proposal-object-rest-spread": "^7.4.3",
37-
"@babel/plugin-transform-flow-strip-types": "^7.4.0",
38-
"@babel/plugin-transform-runtime": "^7.4.3",
39-
"@babel/preset-env": "^7.4.3",
34+
"@babel/cli": "^7.4.4",
35+
"@babel/core": "^7.4.4",
36+
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
37+
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
38+
"@babel/plugin-transform-runtime": "^7.4.4",
39+
"@babel/preset-env": "^7.4.4",
4040
"@babel/preset-flow": "^7.0.0",
41-
"@types/graphql": "^14.0.7",
41+
"@types/graphql": "^14.2.0",
4242
"babel-core": "^7.0.0-bridge.0",
4343
"babel-eslint": "^10.0.1",
4444
"babel-jest": "^24.7.1",
45-
"cz-conventional-changelog": "^2.1.0",
4645
"eslint": "^5.16.0",
4746
"eslint-config-airbnb-base": "^13.1.0",
48-
"eslint-config-prettier": "^4.1.0",
49-
"eslint-plugin-flowtype": "^3.5.1",
50-
"eslint-plugin-import": "^2.16.0",
47+
"eslint-config-prettier": "^4.2.0",
48+
"eslint-plugin-flowtype": "^3.6.1",
49+
"eslint-plugin-import": "^2.17.2",
5150
"eslint-plugin-prettier": "^3.0.1",
52-
"flow-bin": "^0.96.0",
51+
"flow-bin": "^0.98.0",
5352
"graphql": "14.2.1",
54-
"graphql-compose": "^6.2.0",
53+
"graphql-compose": "^6.3.2",
5554
"jest": "^24.7.1",
56-
"prettier": "^1.16.4",
55+
"prettier": "^1.17.0",
5756
"rimraf": "^2.6.3",
5857
"semantic-release": "^15.13.3",
59-
"tslint": "^5.14.0",
60-
"typescript": "^3.3.4000"
61-
},
62-
"config": {
63-
"commitizen": {
64-
"path": "./node_modules/cz-conventional-changelog"
65-
}
66-
},
67-
"jest": {
68-
"roots": [
69-
"<rootDir>/src"
70-
]
58+
"tslint": "^5.16.0",
59+
"typescript": "^3.4.5"
7160
},
7261
"scripts": {
7362
"build": "npm run build-cjs && npm run build-mjs",

0 commit comments

Comments
 (0)