PR-393405:

chore: update dependencies and version to 1.6.0

feat: refactor GraphQL resolvers for improved structure and functionality
- Split TestResolver into TestResolverQuery and TestResolverMutation
- Implement FieldResolvers for dynamic data fetching

fix: update import paths for graphql-ws to use new module structure

chore: add ESLint configuration for improved code quality
- Migrate from previous ESLint config to a new structure with TypeScript support

style: update TypeScript target to ES2021 for better compatibility
This commit is contained in:
2025-04-21 18:47:45 +00:00
parent f8cc416737
commit e7fc85ea83
15 changed files with 2318 additions and 2708 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@aleleba/create-node-ts-graphql-server",
"version": "1.5.19",
"version": "1.6.0",
"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"
"check-updates": "npx npm-check-updates -u && npm i --legacy-peer-deps"
},
"repository": {
"type": "git",
@ -33,58 +33,58 @@
},
"homepage": "https://github.com/aleleba/node-ts-graphql-server#readme",
"dependencies": {
"@graphql-tools/schema": "^10.0.8",
"body-parser": "^1.20.3",
"@graphql-tools/schema": "^10.0.23",
"body-parser": "^2.2.0",
"class-validator": "^0.14.1",
"cookie-parse": "^0.4.0",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"graphql": "^16.9.0",
"graphql-http": "^1.22.2",
"dotenv": "^16.5.0",
"express": "^5.1.0",
"graphql": "^16.10.0",
"graphql-http": "^1.22.4",
"graphql-playground-middleware-express": "^1.7.23",
"graphql-scalars": "^1.23.0",
"graphql-scalars": "^1.24.2",
"graphql-subscriptions": "^3.0.0",
"graphql-tools": "^9.0.3",
"graphql-ws": "^5.16.0",
"graphql-tools": "^9.0.18",
"graphql-ws": "^6.0.4",
"reflect-metadata": "^0.2.2",
"type-graphql": "^2.0.0-rc.2",
"web-push": "^3.6.7",
"ws": "^8.18.0"
"ws": "^8.18.1"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@babel/preset-typescript": "^7.27.0",
"@babel/register": "^7.25.9",
"@types/body-parser": "^1.19.5",
"@types/cookie-parser": "^1.4.7",
"@types/cookie-parser": "^1.4.8",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/express": "^5.0.1",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.0",
"@types/supertest": "^6.0.2",
"@types/node": "^22.14.1",
"@types/supertest": "^6.0.3",
"@types/webpack": "^5.28.5",
"@types/webpack-node-externals": "^3.0.4",
"@types/ws": "^8.5.13",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"babel-loader": "^9.2.1",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^8.30.1",
"@typescript-eslint/parser": "^8.30.1",
"babel-loader": "^10.0.0",
"clean-webpack-plugin": "^4.0.0",
"compression-webpack-plugin": "^11.1.0",
"eslint": "^9.14.0",
"eslint-webpack-plugin": "^4.2.0",
"eslint": "^9.25.0",
"eslint-webpack-plugin": "^5.0.1",
"jest": "^29.7.0",
"nodemon": "^3.1.7",
"nodemon": "^3.1.9",
"resolve-ts-aliases": "^1.0.1",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"typescript": "^5.6.3",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4",
"webpack-manifest-plugin": "^5.0.0",
"supertest": "^7.1.0",
"ts-jest": "^29.3.2",
"ts-loader": "^9.5.2",
"typescript": "^5.8.3",
"webpack": "^5.99.6",
"webpack-cli": "^6.0.1",
"webpack-manifest-plugin": "^5.0.1",
"webpack-node-externals": "^3.0.0",
"webpack-shell-plugin-next": "^2.3.2"
}