chore: remove unwanted logs & use new gql generation for selfhosted-web (#65)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
overwrite: true
|
||||
schema:
|
||||
- ${VITE_BACKEND_GQL_URL}
|
||||
schema: "../../gql-gen/*.gql"
|
||||
generates:
|
||||
src/api/generated/graphql.ts:
|
||||
documents: "src/**/*.graphql"
|
||||
@@ -14,6 +13,6 @@ generates:
|
||||
- typed-document-node
|
||||
- typescript-urql-graphcache
|
||||
|
||||
src/helpers/backend/backend-schema.json:
|
||||
src/api/generated/backend-schema.json:
|
||||
plugins:
|
||||
- urql-introspection
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
"do-lint": "pnpm run prod-lint",
|
||||
"do-typecheck": "pnpm run lint",
|
||||
"do-lintfix": "pnpm run lintfix",
|
||||
"gql-codegen": "graphql-codegen --require dotenv/config --config gql-codegen.yml dotenv_config_path=\"../../.env\""
|
||||
"gql-codegen": "graphql-codegen --require dotenv/config --config gql-codegen.yml dotenv_config_path=\"../../.env\"",
|
||||
"postinstall": "pnpm run gql-codegen"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hoppscotch/common": "workspace:^",
|
||||
|
||||
Reference in New Issue
Block a user