feat: update wundergraph sdk and make changes in wundergraph config

This commit is contained in:
Suvij Surya 2022-12-07 17:35:00 +05:30
parent bf1e8afccd
commit 48b85c0fbd
3 changed files with 44 additions and 61 deletions

View File

@ -22,8 +22,6 @@ configureWunderGraphApplication({
{ {
templates: [ templates: [
...templates.typescript.all, ...templates.typescript.all,
templates.typescript.operations,
templates.typescript.linkBuilder,
], ],
}, },
], ],

101
package-lock.json generated
View File

@ -9,7 +9,7 @@
"version": "1.0.0", "version": "1.0.0",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@wundergraph/sdk": "^0.123.2" "@wundergraph/sdk": "^0.124.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^14.14.37", "@types/node": "^14.14.37",
@ -277,9 +277,9 @@
"integrity": "sha512-BEO6al7BYqcnfX15W2cnGR+Q566ACXAT9UQykORCWW80lmkpWsnEob6zJS1ZVBKsSJC8+7vJkHwlp+lXG1UCdw==" "integrity": "sha512-BEO6al7BYqcnfX15W2cnGR+Q566ACXAT9UQykORCWW80lmkpWsnEob6zJS1ZVBKsSJC8+7vJkHwlp+lXG1UCdw=="
}, },
"node_modules/@wundergraph/protobuf": { "node_modules/@wundergraph/protobuf": {
"version": "0.99.0", "version": "0.100.0",
"resolved": "https://registry.npmjs.org/@wundergraph/protobuf/-/protobuf-0.99.0.tgz", "resolved": "https://registry.npmjs.org/@wundergraph/protobuf/-/protobuf-0.100.0.tgz",
"integrity": "sha512-I2yWZsacC8rxeca49PB2umxLzjwHFM5lUjnF4+o1VQBwJAyJSl19UqDU1AgdmPz7JBYZ2YK8g87lZ6mIJ47MSw==", "integrity": "sha512-nWGdAU8MqLo7A3uzk/yFZ2OxzccLiPzLuVCXGaotYs5jITJFjsXj0uF5fvBttIlIZNWYgZbFlOcbnrNq2XasuQ==",
"dependencies": { "dependencies": {
"long": "^5.2.0", "long": "^5.2.0",
"protobufjs": "^6.11.2", "protobufjs": "^6.11.2",
@ -287,20 +287,19 @@
} }
}, },
"node_modules/@wundergraph/sdk": { "node_modules/@wundergraph/sdk": {
"version": "0.123.2", "version": "0.124.0",
"resolved": "https://registry.npmjs.org/@wundergraph/sdk/-/sdk-0.123.2.tgz", "resolved": "https://registry.npmjs.org/@wundergraph/sdk/-/sdk-0.124.0.tgz",
"integrity": "sha512-0KZrnDL2FLDhwKA7gM38OKTxNJfaJPQSxYyU/TUGvnququQt2g+AHlbu4hoxJJ2WVM8ixjjFqubTIW2moGHJSg==", "integrity": "sha512-sRz20cGI7beNCaxycov3G6F6YoeyLV1K2fzybkTbQ58mFaVLmt015sHFpJ2aQIOo2VyFETpH1R7f7GMVZWc8XQ==",
"dependencies": { "dependencies": {
"@fastify/formbody": "^7.3.0", "@fastify/formbody": "^7.3.0",
"@graphql-tools/schema": "^8.3.10", "@graphql-tools/schema": "^8.3.10",
"@prisma/generator-helper": "^3.9.2", "@prisma/generator-helper": "^3.9.2",
"@web-std/fetch": "^4.1.0", "@web-std/fetch": "^4.1.0",
"@wundergraph/protobuf": "^0.99.0", "@wundergraph/protobuf": "^0.100.0",
"@wundergraph/wunderctl": ">=0.118.1", "@wundergraph/wunderctl": ">=0.119.0",
"axios": "^0.26.1", "axios": "^0.26.1",
"axios-retry": "^3.3.1", "axios-retry": "^3.3.1",
"close-with-grace": "^1.1.0", "close-with-grace": "^1.1.0",
"colors": "^1.4.0",
"execa": "5.1.1", "execa": "5.1.1",
"fastify": "^4.9.2", "fastify": "^4.9.2",
"fastify-plugin": "^4.3.0", "fastify-plugin": "^4.3.0",
@ -325,9 +324,9 @@
} }
}, },
"node_modules/@wundergraph/wunderctl": { "node_modules/@wundergraph/wunderctl": {
"version": "0.118.1", "version": "0.119.0",
"resolved": "https://registry.npmjs.org/@wundergraph/wunderctl/-/wunderctl-0.118.1.tgz", "resolved": "https://registry.npmjs.org/@wundergraph/wunderctl/-/wunderctl-0.119.0.tgz",
"integrity": "sha512-oVNzSCXuk6LMUMQzF3tMLb8lO5aM+W0EQXFJjTQtcUMTzKHkNajIGqH6ynwUBJfGLtNMfr1cg80z7OMT8wOXPA==", "integrity": "sha512-BUWBpScOA20jTRR8a5Aw5btMtK7OGcClqmbEq9g64Vx7U+rdoho2lcWfU9G2lFbZxuWcXqIJuommCxZj2wyAHw==",
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"axios": "^0.26.1", "axios": "^0.26.1",
@ -613,14 +612,6 @@
"resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz", "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz",
"integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==" "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ=="
}, },
"node_modules/colors": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz",
"integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==",
"engines": {
"node": ">=0.1.90"
}
},
"node_modules/concat-map": { "node_modules/concat-map": {
"version": "0.0.1", "version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
@ -1375,9 +1366,9 @@
} }
}, },
"node_modules/minipass": { "node_modules/minipass": {
"version": "3.3.4", "version": "3.3.6",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.4.tgz", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
"integrity": "sha512-I9WPbWHCGu8W+6k1ZiGpPu0GkoKBeorkfKNuAFBNS1HNFJvke82sxvI5bzcCNpWPorkOO5QQ+zomzzwRxejXiw==", "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
"dependencies": { "dependencies": {
"yallist": "^4.0.0" "yallist": "^4.0.0"
}, },
@ -2226,23 +2217,23 @@
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
}, },
"node_modules/ts-poet": { "node_modules/ts-poet": {
"version": "6.1.0", "version": "6.3.0",
"resolved": "https://registry.npmjs.org/ts-poet/-/ts-poet-6.1.0.tgz", "resolved": "https://registry.npmjs.org/ts-poet/-/ts-poet-6.3.0.tgz",
"integrity": "sha512-PFwbNJjGrb44wzHUGQicG2/nhjR+3+k7zYLDTa8D61NVUitl7K/JgIc9/P+8oMNenntKzLc8tjLDOkPrxIhm6A==", "integrity": "sha512-RjS37SnXMa9En8xvQf//+rvNNNCB7x2TKP/ZfsiQFidtfN3A6FYgPDESe4r7YA3F663XO2ozx+2buQItGOLMxg==",
"dependencies": { "dependencies": {
"dprint-node": "^1.0.7" "dprint-node": "^1.0.7"
} }
}, },
"node_modules/ts-proto": { "node_modules/ts-proto": {
"version": "1.133.0", "version": "1.135.0",
"resolved": "https://registry.npmjs.org/ts-proto/-/ts-proto-1.133.0.tgz", "resolved": "https://registry.npmjs.org/ts-proto/-/ts-proto-1.135.0.tgz",
"integrity": "sha512-01cbHLUmRZuPCQvkA76hdZQqJQ65x/8NEBvHMaoYzL0lOMdoxWhvt6kubqmhr9dnUcveBb/pwxKH/f9pRSc2zw==", "integrity": "sha512-NwK+PcSiWZBzO8GFVID2Ig71vIZRCApTG8XDZIlQ3WabbJlbUx9zsrHcYNojcUENtqkiYywTp3uTP6dketiCpw==",
"dependencies": { "dependencies": {
"@types/object-hash": "^1.3.0", "@types/object-hash": "^1.3.0",
"dataloader": "^1.4.0", "dataloader": "^1.4.0",
"object-hash": "^1.3.1", "object-hash": "^1.3.1",
"protobufjs": "^6.11.3", "protobufjs": "^6.11.3",
"ts-poet": "^6.1.0", "ts-poet": "^6.2.0",
"ts-proto-descriptors": "1.7.1" "ts-proto-descriptors": "1.7.1"
}, },
"bin": { "bin": {
@ -2730,9 +2721,9 @@
"integrity": "sha512-BEO6al7BYqcnfX15W2cnGR+Q566ACXAT9UQykORCWW80lmkpWsnEob6zJS1ZVBKsSJC8+7vJkHwlp+lXG1UCdw==" "integrity": "sha512-BEO6al7BYqcnfX15W2cnGR+Q566ACXAT9UQykORCWW80lmkpWsnEob6zJS1ZVBKsSJC8+7vJkHwlp+lXG1UCdw=="
}, },
"@wundergraph/protobuf": { "@wundergraph/protobuf": {
"version": "0.99.0", "version": "0.100.0",
"resolved": "https://registry.npmjs.org/@wundergraph/protobuf/-/protobuf-0.99.0.tgz", "resolved": "https://registry.npmjs.org/@wundergraph/protobuf/-/protobuf-0.100.0.tgz",
"integrity": "sha512-I2yWZsacC8rxeca49PB2umxLzjwHFM5lUjnF4+o1VQBwJAyJSl19UqDU1AgdmPz7JBYZ2YK8g87lZ6mIJ47MSw==", "integrity": "sha512-nWGdAU8MqLo7A3uzk/yFZ2OxzccLiPzLuVCXGaotYs5jITJFjsXj0uF5fvBttIlIZNWYgZbFlOcbnrNq2XasuQ==",
"requires": { "requires": {
"long": "^5.2.0", "long": "^5.2.0",
"protobufjs": "^6.11.2", "protobufjs": "^6.11.2",
@ -2740,20 +2731,19 @@
} }
}, },
"@wundergraph/sdk": { "@wundergraph/sdk": {
"version": "0.123.2", "version": "0.124.0",
"resolved": "https://registry.npmjs.org/@wundergraph/sdk/-/sdk-0.123.2.tgz", "resolved": "https://registry.npmjs.org/@wundergraph/sdk/-/sdk-0.124.0.tgz",
"integrity": "sha512-0KZrnDL2FLDhwKA7gM38OKTxNJfaJPQSxYyU/TUGvnququQt2g+AHlbu4hoxJJ2WVM8ixjjFqubTIW2moGHJSg==", "integrity": "sha512-sRz20cGI7beNCaxycov3G6F6YoeyLV1K2fzybkTbQ58mFaVLmt015sHFpJ2aQIOo2VyFETpH1R7f7GMVZWc8XQ==",
"requires": { "requires": {
"@fastify/formbody": "^7.3.0", "@fastify/formbody": "^7.3.0",
"@graphql-tools/schema": "^8.3.10", "@graphql-tools/schema": "^8.3.10",
"@prisma/generator-helper": "^3.9.2", "@prisma/generator-helper": "^3.9.2",
"@web-std/fetch": "^4.1.0", "@web-std/fetch": "^4.1.0",
"@wundergraph/protobuf": "^0.99.0", "@wundergraph/protobuf": "^0.100.0",
"@wundergraph/wunderctl": ">=0.118.1", "@wundergraph/wunderctl": ">=0.119.0",
"axios": "^0.26.1", "axios": "^0.26.1",
"axios-retry": "^3.3.1", "axios-retry": "^3.3.1",
"close-with-grace": "^1.1.0", "close-with-grace": "^1.1.0",
"colors": "^1.4.0",
"execa": "5.1.1", "execa": "5.1.1",
"fastify": "^4.9.2", "fastify": "^4.9.2",
"fastify-plugin": "^4.3.0", "fastify-plugin": "^4.3.0",
@ -2775,9 +2765,9 @@
} }
}, },
"@wundergraph/wunderctl": { "@wundergraph/wunderctl": {
"version": "0.118.1", "version": "0.119.0",
"resolved": "https://registry.npmjs.org/@wundergraph/wunderctl/-/wunderctl-0.118.1.tgz", "resolved": "https://registry.npmjs.org/@wundergraph/wunderctl/-/wunderctl-0.119.0.tgz",
"integrity": "sha512-oVNzSCXuk6LMUMQzF3tMLb8lO5aM+W0EQXFJjTQtcUMTzKHkNajIGqH6ynwUBJfGLtNMfr1cg80z7OMT8wOXPA==", "integrity": "sha512-BUWBpScOA20jTRR8a5Aw5btMtK7OGcClqmbEq9g64Vx7U+rdoho2lcWfU9G2lFbZxuWcXqIJuommCxZj2wyAHw==",
"requires": { "requires": {
"axios": "^0.26.1", "axios": "^0.26.1",
"debug": "^4.3.4", "debug": "^4.3.4",
@ -2977,11 +2967,6 @@
"resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz", "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz",
"integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==" "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ=="
}, },
"colors": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz",
"integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA=="
},
"concat-map": { "concat-map": {
"version": "0.0.1", "version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
@ -3527,9 +3512,9 @@
"integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==" "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g=="
}, },
"minipass": { "minipass": {
"version": "3.3.4", "version": "3.3.6",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.4.tgz", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
"integrity": "sha512-I9WPbWHCGu8W+6k1ZiGpPu0GkoKBeorkfKNuAFBNS1HNFJvke82sxvI5bzcCNpWPorkOO5QQ+zomzzwRxejXiw==", "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
"requires": { "requires": {
"yallist": "^4.0.0" "yallist": "^4.0.0"
} }
@ -4173,23 +4158,23 @@
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
}, },
"ts-poet": { "ts-poet": {
"version": "6.1.0", "version": "6.3.0",
"resolved": "https://registry.npmjs.org/ts-poet/-/ts-poet-6.1.0.tgz", "resolved": "https://registry.npmjs.org/ts-poet/-/ts-poet-6.3.0.tgz",
"integrity": "sha512-PFwbNJjGrb44wzHUGQicG2/nhjR+3+k7zYLDTa8D61NVUitl7K/JgIc9/P+8oMNenntKzLc8tjLDOkPrxIhm6A==", "integrity": "sha512-RjS37SnXMa9En8xvQf//+rvNNNCB7x2TKP/ZfsiQFidtfN3A6FYgPDESe4r7YA3F663XO2ozx+2buQItGOLMxg==",
"requires": { "requires": {
"dprint-node": "^1.0.7" "dprint-node": "^1.0.7"
} }
}, },
"ts-proto": { "ts-proto": {
"version": "1.133.0", "version": "1.135.0",
"resolved": "https://registry.npmjs.org/ts-proto/-/ts-proto-1.133.0.tgz", "resolved": "https://registry.npmjs.org/ts-proto/-/ts-proto-1.135.0.tgz",
"integrity": "sha512-01cbHLUmRZuPCQvkA76hdZQqJQ65x/8NEBvHMaoYzL0lOMdoxWhvt6kubqmhr9dnUcveBb/pwxKH/f9pRSc2zw==", "integrity": "sha512-NwK+PcSiWZBzO8GFVID2Ig71vIZRCApTG8XDZIlQ3WabbJlbUx9zsrHcYNojcUENtqkiYywTp3uTP6dketiCpw==",
"requires": { "requires": {
"@types/object-hash": "^1.3.0", "@types/object-hash": "^1.3.0",
"dataloader": "^1.4.0", "dataloader": "^1.4.0",
"object-hash": "^1.3.1", "object-hash": "^1.3.1",
"protobufjs": "^6.11.3", "protobufjs": "^6.11.3",
"ts-poet": "^6.1.0", "ts-poet": "^6.2.0",
"ts-proto-descriptors": "1.7.1" "ts-proto-descriptors": "1.7.1"
}, },
"dependencies": { "dependencies": {

View File

@ -10,7 +10,7 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@wundergraph/sdk": "^0.123.2" "@wundergraph/sdk": "^0.124.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^14.14.37", "@types/node": "^14.14.37",