Skip to content

Commit 277ee78

Browse files
taeyzzzThanetpon Kultontikorn
andauthored
update version (#8)
Co-authored-by: Thanetpon Kultontikorn <[email protected]>
1 parent 813f75e commit 277ee78

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "agoda-graphql-csharp-generator",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"main": "index.js",
55
"files": [
66
"dist"
@@ -22,9 +22,7 @@
2222
"typescript": "^5.8.3"
2323
},
2424
"dependencies": {
25-
"agoda-graphql-codegen-csharp": "^1.1.318"
26-
},
27-
"bundledDependencies": [
28-
"agoda-graphql-codegen-csharp"
29-
]
25+
"agoda-graphql-codegen-csharp": "^1.1.318",
26+
"graphql-code-generator": "^0.10.7"
27+
}
3028
}

src/generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const generateGraphql = async (schemaUrl: string, filePath: string): Promise<voi
4747

4848
await new Promise<void>((resolve, reject) => {
4949
exec(
50-
`npx gql-gen --schema '${schemaUrl}' --template agoda-graphql-codegen-csharp --out ${folder} ${filePath}`,
50+
`gql-gen --schema '${schemaUrl}' --template agoda-graphql-codegen-csharp --out ${folder} ${filePath}`,
5151
(error, stdout, stderr) => {
5252
if (error) {
5353
console.error(`Error: ${error.message}`);

0 commit comments

Comments
 (0)