Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 94fca97

Browse files
committedApr 7, 2025·
chore(gql): remove codegen introspection plugin
1 parent 6b31dbe commit 94fca97

File tree

4 files changed

+27
-90
lines changed

4 files changed

+27
-90
lines changed
 

‎ee/tabby-ui/codegen.ts

-6
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ const config: CodegenConfig = {
1010
"lib/gql/generates/": {
1111
preset: "client",
1212
plugins: []
13-
},
14-
"lib/gql/generates/schema.json": {
15-
plugins: ['introspection'],
16-
config: {
17-
minify: true
18-
}
1913
}
2014
},
2115
hooks: { afterAllFileWrite: ['prettier --write'] }

‎ee/tabby-ui/lib/tabby/gql.ts

-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ import {
1818
useMutation as useUrqlMutation
1919
} from 'urql'
2020

21-
import schema from '@/lib/gql/generates/schema.json'
22-
2321
import {
2422
DeleteUserGroupMembershipMutationVariables,
2523
GitRepositoriesQueryVariables,
@@ -126,7 +124,6 @@ const client = new Client({
126124
requestPolicy: 'cache-and-network',
127125
exchanges: [
128126
cacheExchange({
129-
schema,
130127
keys: {
131128
CompletionStats: () => null,
132129
ServerInfo: () => null,

‎ee/tabby-ui/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"@codemirror/theme-one-dark": "^6.1.2",
2727
"@codemirror/view": "^6.23.0",
2828
"@curvenote/ansi-to-react": "^7.0.0",
29-
"@graphql-codegen/introspection": "^4.0.3",
3029
"@hookform/resolvers": "^3.3.2",
3130
"@radix-ui/react-accordion": "^1.1.2",
3231
"@radix-ui/react-alert-dialog": "1.0.4",

‎pnpm-lock.yaml

+27-80
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.