Refactor code structure and dependencies

This commit is contained in:
2024-09-29 21:46:03 +07:00
parent 34d9ee63e6
commit 88176bddc1
12 changed files with 500 additions and 45 deletions

View File

@@ -19,11 +19,13 @@
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"
"test:e2e": "jest --config ./test/jest-e2e.json",
"codegen": "graphql-codegen --config codegen.ts"
},
"dependencies": {
"@apollo/server": "^4.11.0",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/introspection": "^4.0.3",
"@graphql-codegen/typescript": "^4.0.9",
"@graphql-codegen/typescript-operations": "^4.2.3",
"@graphql-codegen/typescript-resolvers": "^4.2.1",
@@ -78,7 +80,10 @@
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3",
"ws": "^8.18.0"
"ws": "^8.18.0",
"@graphql-codegen/typescript-resolvers": "4.2.1",
"@graphql-codegen/typescript": "4.0.9",
"@graphql-codegen/cli": "5.0.2"
},
"jest": {
"moduleFileExtensions": [
@@ -97,4 +102,4 @@
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}
}