Skip to content

Commit

Permalink
feat: added graphql->sdk script
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth9890 committed Mar 9, 2024
1 parent bb7e443 commit 574488a
Show file tree
Hide file tree
Showing 9 changed files with 1,753 additions and 29 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ coverage/*
commitlint.config.js
release.config.js
.husky/*
scripts/*
scripts/*
gatewaySdk/
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ node_modules/
dist/
*.tgz
coverage/
.DS_STORE
.DS_STORE
gatewaySdk/
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"format": "prettier --write .",
"prepare": "husky install",
"build": "rm -rf dist && tsc && scripts/compress.sh && node scripts/compress.js",
"dev": "ts-node-dev src/testMutationsAndQuery.ts"
"dev": "ts-node-dev src/testMutationsAndQuery.ts",
"generate:sdk": "ts-node-dev scripts/generateSdk/index.ts"
},
"engines": {
"node": ">=18.0.0"
Expand All @@ -32,6 +33,7 @@
],
"license": "MIT",
"dependencies": {
"@graphql-typed-document-node/core": "^3.2.0",
"@solana/web3.js": "^1.87.6",
"ethers": "^5.7.2",
"graphql": "^16.8.1",
Expand All @@ -40,9 +42,17 @@
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@graphql-codegen/core": "^4.0.2",
"@graphql-codegen/typed-document-node": "^5.0.6",
"@graphql-codegen/typescript": "^4.0.6",
"@graphql-codegen/typescript-graphql-request": "^6.2.0",
"@graphql-codegen/typescript-operations": "^4.2.0",
"@graphql-codegen/typescript-resolvers": "^4.0.6",
"@graphql-tools/utils": "^10.1.0",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.4",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"change-case": "^5.4.3",
"dts-minify": "^0.3.2",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
Expand All @@ -53,7 +63,9 @@
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"json5": "^2.2.3",
"lint-staged": "^15.2.0",
"minimatch": "^9.0.3",
"prettier": "^3.1.1",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
Expand Down
Loading

0 comments on commit 574488a

Please sign in to comment.