PR-131297: removing express-graphql and use instead graphql-http, removing GraphiQL because of the lack of express middleware.

This commit is contained in:
2023-03-23 20:17:50 +00:00
parent 8e5b26ce96
commit 6a3458e022
7 changed files with 239 additions and 316 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@aleleba/create-node-ts-graphql-server",
"version": "1.4.2",
"version": "1.4.3",
"description": "Node with Typescript and GraphQL Server",
"bin": "./bin/cli.js",
"main": "index.js",
@ -13,7 +13,7 @@
"lint:fix": "eslint ./ --ext .js --ext .ts --fix",
"test": "jest",
"test:watch": "jest --watch",
"check-updates": "npx npm-check-updates -u && npm i --legacy-peer-deps"
"check-updates": "npx npm-check-updates -u && npm i"
},
"repository": {
"type": "git",
@ -40,8 +40,8 @@
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-graphql": "^0.12.0",
"graphql": "^16.6.0",
"graphql-http": "^1.16.0",
"graphql-playground-middleware-express": "^1.7.23",
"graphql-subscriptions": "^2.0.0",
"graphql-tools": "^8.3.19",
@ -52,7 +52,7 @@
"ws": "^8.13.0"
},
"devDependencies": {
"@babel/core": "^7.21.0",
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@babel/register": "^7.21.0",
@ -60,27 +60,27 @@
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/jest": "^29.4.1",
"@types/node": "^18.15.3",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.5",
"@types/supertest": "^2.0.12",
"@types/webpack": "^5.28.0",
"@types/webpack-node-externals": "^3.0.0",
"@types/ws": "^8.5.4",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"babel-loader": "^9.1.2",
"clean-webpack-plugin": "^4.0.0",
"compression-webpack-plugin": "^10.0.0",
"eslint": "^8.36.0",
"eslint-webpack-plugin": "^4.0.0",
"jest": "^29.5.0",
"nodemon": "^2.0.21",
"nodemon": "^2.0.22",
"resolve-ts-aliases": "^1.0.1",
"supertest": "^6.3.3",
"ts-jest": "^29.0.5",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"webpack": "^5.76.1",
"typescript": "^5.0.2",
"webpack": "^5.76.3",
"webpack-cli": "^5.0.1",
"webpack-manifest-plugin": "^5.0.0",
"webpack-node-externals": "^3.0.0",