From 30c931a01c48535e8ff6f1741c82f67dbd74b7cc Mon Sep 17 00:00:00 2001 From: Arda TANRIKULU Date: Fri, 3 Jan 2025 14:00:20 +0300 Subject: [PATCH] Go --- dev-test/githunt/types.urql.tsx | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-test/githunt/types.urql.tsx b/dev-test/githunt/types.urql.tsx index 18b76205b..4d5657794 100644 --- a/dev-test/githunt/types.urql.tsx +++ b/dev-test/githunt/types.urql.tsx @@ -533,12 +533,15 @@ export default { __schema: { queryType: { name: 'Query', + kind: 'OBJECT', }, mutationType: { name: 'Mutation', + kind: 'OBJECT', }, subscriptionType: { name: 'Subscription', + kind: 'OBJECT', }, types: [ { diff --git a/package.json b/package.json index b8b18d5b6..0a8696249 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "build": "bob build", "ci:lint": "cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --cache --ignore-path .gitignore --output-file eslint_report.json --format json .", "clean": "rimraf node_modules/", - "generate:examples": "yarn generate:examples:cjs", + "generate:examples": "yarn generate:examples:cjs && yarn generate:examples:esm", "generate:examples:cjs": "graphql-codegen --require dotenv/config --config ./dev-test/codegen.ts dotenv_config_path=dev-test/.env", "generate:examples:esm": "graphql-codegen-esm --require dotenv/config --config ./dev-test/codegen.ts dotenv_config_path=dev-test/.env", "lint": "cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --cache --ignore-path .gitignore .",