Skip to content

Commit f48af78

Browse files
refactor(graphql): remove GraphQL stack and related dependencies
1 parent 1bdd3ed commit f48af78

29 files changed

Lines changed: 17 additions & 1293 deletions

default.json

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -82,19 +82,5 @@
8282
"port": 5672,
8383
"username": "admin",
8484
"password": "password"
85-
},
86-
"GRAPHQL_SETTINGS": {
87-
"playground": true,
88-
"debug": true,
89-
"introspection": true,
90-
"installSubscriptionHandlers": true
91-
},
92-
"GRAPHQL_APIS": {
93-
"api_1": "http://localhost:8090/graphql",
94-
"api_2": "http://localhost:8091/graphql"
95-
},
96-
"GRAPHQL_GUARD": {
97-
"username": "admin",
98-
"password": "password"
9985
}
10086
}

nest-cli.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"deleteOutDir": true,
77
"builder": "swc",
88
"typeCheck": true,
9-
"plugins": ["@nestjs/swagger/plugin", "@nestjs/graphql/plugin"]
9+
"plugins": ["@nestjs/swagger/plugin"]
1010
},
1111
"paths": {
1212
"@/*": ["./src/*"]

package.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"private": true,
77
"license": "DWTFYW License.",
88
"scripts": {
9+
"dev": "pnpm start:dev",
910
"build": "nest build",
1011
"docker-build": "docker-compose down api && docker-compose up -d --build api",
1112
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
@@ -21,13 +22,10 @@
2122
"test:e2e": "jest --config ./test/jest-e2e.json"
2223
},
2324
"dependencies": {
24-
"@apollo/server": "^5.2.0",
2525
"@metinseylan/nestjs-opentelemetry": "^3.0.0",
26-
"@nestjs/apollo": "^13.2.3",
2726
"@nestjs/common": "^11.1.12",
2827
"@nestjs/config": "^4.0.2",
2928
"@nestjs/core": "^11.1.12",
30-
"@nestjs/graphql": "^13.2.3",
3129
"@nestjs/jwt": "^11.0.2",
3230
"@nestjs/passport": "^11.0.5",
3331
"@nestjs/platform-express": "^11.1.12",
@@ -55,9 +53,6 @@
5553
"dotenv": "^17.2.3",
5654
"firebase-admin": "^13.6.0",
5755
"google-auth-library": "^10.5.0",
58-
"graphql": "^16.12.0",
59-
"graphql-scalars": "^1.25.0",
60-
"graphql-subscriptions": "^3.0.0",
6156
"helmet": "^8.1.0",
6257
"ioredis": "^5.9.2",
6358
"joi": "^18.0.2",
@@ -69,7 +64,6 @@
6964
"pino": "^10.2.0",
7065
"pino-pretty": "^13.1.3",
7166
"prisma-dbml-generator": "^0.12.0",
72-
"prisma-graphql-type-decimal": "^3.0.1",
7367
"reflect-metadata": "^0.2.2",
7468
"rxjs": "^7.8.2",
7569
"semver": "^7.7.3",

0 commit comments

Comments
 (0)