graphql-jit 0.6.0 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphql-jit",
3
- "version": "0.6.0",
3
+ "version": "0.7.3",
4
4
  "description": "GraphQL JIT Compiler to JS",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -8,16 +8,16 @@
8
8
  "license": "MIT",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git@github.com:ruiaraujo/graphql-jit.git"
11
+ "url": "https://github.com/zalando-incubator/graphql-jit.git"
12
12
  },
13
13
  "scripts": {
14
14
  "precommit": "lint-staged",
15
15
  "prepublishOnly": "yarn && yarn build",
16
- "format": "prettier --no-config --write 'src/**/*.ts' '*.js'",
17
- "check-format": "prettier --no-config -l 'src/**/*.ts' '*.js'",
18
- "lint": "tslint --project .",
19
- "lint-fix": "tslint --project . --fix",
20
- "build": "tsc",
16
+ "format": "prettier --write 'src/**/*.ts' '*.js'",
17
+ "check-format": "prettier -l 'src/**/*.ts' '*.js'",
18
+ "lint": "eslint --ext .ts .",
19
+ "lint-fix": "eslint --ext .ts . --fix",
20
+ "build": "tsc --project tsconfig.build.json",
21
21
  "test": "jest",
22
22
  "mutation-test": "stryker run",
23
23
  "codecov": "codecov",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "coverageThreshold": {
41
41
  "global": {
42
- "branches": 94,
42
+ "branches": 92,
43
43
  "functions": 96,
44
44
  "lines": 96,
45
45
  "statements": 96
@@ -50,34 +50,41 @@
50
50
  "graphql": ">=15"
51
51
  },
52
52
  "devDependencies": {
53
- "@graphql-tools/schema": "^6.0.10",
53
+ "@graphql-tools/schema": "^8.3.1",
54
54
  "@stryker-mutator/core": "^2.0.0",
55
55
  "@stryker-mutator/jest-runner": "^2.0.0",
56
56
  "@stryker-mutator/typescript": "^2.0.0",
57
57
  "@types/benchmark": "^1.0.31",
58
- "@types/jest": "^24.0.11",
58
+ "@types/jest": "^27.0.3",
59
59
  "@types/json-schema": "^7.0.1",
60
60
  "@types/lodash.memoize": "^4.1.6",
61
61
  "@types/lodash.merge": "^4.6.6",
62
62
  "@types/lodash.mergewith": "^4.6.6",
63
63
  "@types/node": "^10.17.26",
64
+ "@typescript-eslint/eslint-plugin": "5.2.0",
65
+ "@typescript-eslint/parser": "5.2.0",
64
66
  "benchmark": "^2.1.4",
65
67
  "codecov": "^3.3.0",
66
- "graphql": "^15.1.0",
67
- "jest": "^24.7.1",
68
+ "eslint": "^8.1.0",
69
+ "eslint-config-prettier": "^8.3.0",
70
+ "eslint-config-standard": "^16.0.3",
71
+ "eslint-plugin-import": "^2.25.2",
72
+ "eslint-plugin-node": "^11.1.0",
73
+ "eslint-plugin-promise": "^5.1.1",
74
+ "eslint-plugin-standard": "^5.0.0",
75
+ "graphql": "^16.0.0",
76
+ "jest": "^27.4.3",
68
77
  "lint-staged": "^8.1.5",
69
- "prettier": "^1.19.1",
70
- "ts-jest": "^24.0.2",
78
+ "prettier": "^2.4.1",
79
+ "ts-jest": "^27.0.7",
71
80
  "ts-node": "^8.0.3",
72
- "tslint": "^5.15.0",
73
- "tslint-config-prettier": "^1.18.0",
74
- "tslint-plugin-prettier": "^2.0.1",
75
- "typescript": "^3.9.5"
81
+ "typescript": "^4.4.4"
76
82
  },
77
83
  "dependencies": {
84
+ "@graphql-typed-document-node/core": "^3.1.1",
78
85
  "fast-json-stringify": "^1.13.0",
79
86
  "generate-function": "^2.3.1",
80
- "json-schema": "^0.2.3",
87
+ "json-schema": "^0.4.0",
81
88
  "lodash.memoize": "^4.1.2",
82
89
  "lodash.merge": "4.6.2",
83
90
  "lodash.mergewith": "4.6.2"
@@ -85,7 +92,7 @@
85
92
  "lint-staged": {
86
93
  "linters": {
87
94
  "*.ts": [
88
- "tslint -c tslint.json -p tsconfig.json --fix",
95
+ "eslint --fix",
89
96
  "prettier --no-config --write",
90
97
  "git add"
91
98
  ],