mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-02-09 13:35:09 -05:00
Fix graphql codegen
This commit is contained in:
@@ -2,16 +2,21 @@
|
||||
"name": "@the-game/graphql-codegen",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=12.x.x"
|
||||
},
|
||||
"scripts": {
|
||||
"generate": "graphql-codegen --config=graphql-codegen-gql.yaml; graphql-codegen --config=graphql-codegen-typescript.yaml",
|
||||
"get-schema": "env-cmd -f ../../.env -x get-graphql-schema -h x-hasura-admin-secret=\\$HASURA_GRAPHQL_ADMIN_SECRET http://localhost:8080/v1/graphql > schema.graphql",
|
||||
"generate": "yarn get-schema && graphql-codegen --config=graphql-codegen-gql.yaml && graphql-codegen --config=graphql-codegen-typescript.yaml",
|
||||
"typecheck": "echo noop"
|
||||
},
|
||||
"dependencies": {
|
||||
"devDependencies": {
|
||||
"@graphql-codegen/cli": "^1.13.2",
|
||||
"@graphql-codegen/introspection": "^1.13.2",
|
||||
"@graphql-codegen/typescript": "^1.13.2",
|
||||
"@graphql-codegen/typescript-operations": "^1.13.2",
|
||||
"@graphql-codegen/typescript-react-apollo": "^1.13.2",
|
||||
"env-cmd": "^10.1.0",
|
||||
"graphql-codegen-hasura-client-config": "^4.8.3",
|
||||
"graphql-codegen-hasura-core": "^4.8.3",
|
||||
"graphql-codegen-hasura-gql": "^4.8.3",
|
||||
|
||||
Reference in New Issue
Block a user