Skip to content

Commit 9c85e15

Browse files
author
jack
committed
v1.4.2
1 parent eeb4813 commit 9c85e15

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-schema-typescript",
3-
"version": "1.3.2",
3+
"version": "1.4.2",
44
"description": "Generate TypeScript from GraphQL's schema type definitions",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",
@@ -24,7 +24,7 @@
2424
"@types/fs-extra": "4.0.4",
2525
"@types/graphql": "0.11.5",
2626
"@types/jest": "21.1.5",
27-
"@types/node": "8.0.50",
27+
"@types/node": "^14.14.25",
2828
"@types/yargs": "^15.0.0",
2929
"del-cli": "^2.0.0",
3030
"fs-extra": "4.0.2",
@@ -34,7 +34,7 @@
3434
"lodash": "^4.17.13",
3535
"ts-jest": "^26.0.0",
3636
"tslint": "5.8.0",
37-
"typescript": "4.1.2"
37+
"typescript": "^4.1.3"
3838
},
3939
"dependencies": {
4040
"yargs": "^16.0.0"
@@ -45,6 +45,9 @@
4545
},
4646
"jest": {
4747
"testEnvironment": "node",
48+
"setupFilesAfterEnv": [
49+
"./src/setupTest.ts"
50+
],
4851
"transform": {
4952
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
5053
},

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ yargs
9898
'generate-ts <folderPath>',
9999
'Generate typescript definitions from a local folder that cointains `.graphql` type definitions',
100100
{},
101-
async argv => {
101+
async (argv: any) => {
102102
const { folderPath, output } = argv;
103103

104104
const options: GenerateTypescriptOptions = {};

src/setupTest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;

yarn.lock

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -606,10 +606,10 @@
606606
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.10.tgz#5958a82e41863cfc71f2307b3748e3491ba03785"
607607
integrity sha512-J32dgx2hw8vXrSbu4ZlVhn1Nm3GbeCFNw2FWL8S5QKucHGY0cyNwjdQdO+KMBZ4wpmC7KhLCiNsdk1RFRIYUQQ==
608608

609-
"@types/node@8.0.50":
610-
version "8.0.50"
611-
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.50.tgz#dc545448e128c88c4eec7cd64025fcc3b7604541"
612-
integrity sha512-N9OVsMBspboNvYaLAQnLEhb2eQ96lavogMR5LoH5k8nb1PvBZHSBFhzhsq2LNzGTBBOtBviOc1GiSu+wlM/pGw==
609+
"@types/node@^14.14.25":
610+
version "14.14.25"
611+
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.25.tgz#15967a7b577ff81383f9b888aa6705d43fbbae93"
612+
integrity sha512-EPpXLOVqDvisVxtlbvzfyqSsFeQxltFbluZNRndIb8tr9KiBnYNLzrc1N3pyKUCww2RNrfHDViqDWWE1LCJQtQ==
613613

614614
"@types/normalize-package-data@^2.4.0":
615615
version "2.4.0"
@@ -2159,6 +2159,7 @@ inherits@2:
21592159
version "2.0.4"
21602160
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
21612161
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
2162+
21622163
21632164
version "2.2.2"
21642165
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360"
@@ -4581,10 +4582,10 @@ typedarray-to-buffer@^3.1.5:
45814582
dependencies:
45824583
is-typedarray "^1.0.0"
45834584

4584-
4585-
version "4.1.2"
4586-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.2.tgz#6369ef22516fe5e10304aae5a5c4862db55380e9"
4587-
integrity sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ==
4585+
typescript@^4.1.3:
4586+
version "4.1.3"
4587+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.3.tgz#519d582bd94cba0cf8934c7d8e8467e473f53bb7"
4588+
integrity sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==
45884589

45894590
union-value@^1.0.0:
45904591
version "1.0.1"

0 commit comments

Comments
 (0)