Skip to content

Commit

Permalink
tweaking backend GraphQL codegen 🚒
Browse files Browse the repository at this point in the history
  • Loading branch information
dysbulic committed Aug 13, 2024
1 parent 32e33ec commit 80ac8d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"dev": "nodemon",
"typecheck": "tsc --noEmit --pretty",
"precommit": "yarn typecheck",
"generate": "yarn dlx graphql-codegen && yarn fix:daohaus-types",
"generate": "graphql-codegen && yarn fix:daohaus-types",
"fix:daohaus-types": "bash -c 'export OUT=src/lib/autogen/daohaus-sdk.ts && awk \"!/MolochVersion = .molochVersion/\" $OUT > $OUT.filtered && mv $OUT.filtered $OUT'",
"fix:lint": "eslint --fix",
"test": "jest --passWithNoTests"
Expand Down Expand Up @@ -52,6 +52,7 @@
},
"devDependencies": {
"@composedb/types": "^0.7.1",
"@graphql-codegen/cli": "^5.0.2",
"@types/bluebird": "3.5.36",
"@types/body-parser": "1.19.2",
"@types/cors": "2.8.12",
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6193,6 +6193,7 @@ __metadata:
"@ceramicnetwork/stream-caip10-link": "npm:^5.15.0"
"@composedb/client": "npm:^0.7.1"
"@composedb/types": "npm:^0.7.1"
"@graphql-codegen/cli": "npm:^5.0.2"
"@graphql-tools/schema": "npm:^10.0.4"
"@metafam/discord-bot": "workspace:*"
"@metafam/utils": "workspace:*"
Expand Down

0 comments on commit 80ac8d6

Please sign in to comment.