Skip to content

Commit 39c3f8e

Browse files
committed
fixed some configs
1 parent 81e0f3c commit 39c3f8e

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ dist
33
.npmignore
44
gen/*.ts
55
package-lock.json
6-
.DS_Store
6+
.DS_Store
7+
tsconfig.tsbuildinfo

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"url": "https://github.com/Code-Hex/graphql-codegen-validation-schema.git"
88
},
99
"main": "dist/index.js",
10+
"typings": "dist/index.d.ts",
1011
"files": [
1112
"dist/*.{js,ts}"
1213
],
@@ -47,6 +48,9 @@
4748
"@graphql-tools/utils": "^8.6.1",
4849
"graphql": "^15.8.0"
4950
},
51+
"peerDependencies": {
52+
"graphql": "^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
53+
},
5054
"bugs": {
5155
"url": "https://github.com/Code-Hex/graphql-codegen-validation-schema/issues"
5256
}

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "@tsconfig/recommended/tsconfig.json",
33
"compilerOptions": {
4+
"incremental": true,
45
"declaration": true,
56
"outDir": "./dist",
67
"baseUrl": ".",

0 commit comments

Comments
 (0)