Merge pull request #47 from aleleba/PR-073904

PR-073904: updating packages.
This commit is contained in:
Alejandro Lembke Barrientos 2024-08-28 21:28:47 -06:00 committed by GitHub
commit 9831ff031c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 2731 additions and 2544 deletions

View File

@ -5,8 +5,8 @@ This project aims to have a starter kit for creating a new Node with typescript,
Tech(Library or Framework) | Version | Tech(Library or Framework) | Version |
--- | --- | --- | --- |
Jest (Testing) | 29.7.0 Jest (Testing) | 29.7.0
Typescript | 5.3.3 Typescript | 5.5.4
GraphQL | 16.8.1 GraphQL | 16.9.0
Type GraphQL | 2.0.0-beta.6 Type GraphQL | 2.0.0-beta.6
## Setup ## Setup

View File

@ -67,7 +67,7 @@ if(!checkedOut) process.exit(-1);
const actualVersion = runCommandWithOutput(`cd ${repoName} && node -p "require('./package.json').version"`).toString().trim() const actualVersion = runCommandWithOutput(`cd ${repoName} && node -p "require('./package.json').version"`).toString().trim()
const installDepsCommand = `cd ${repoName} && npm install`; const installDepsCommand = `cd ${repoName} && npm install --legacy-peer-deps`;
const cleanGitHistoryCommand = `cd ${repoName} && rm -rf .git && git init && git add --all -- ":!.github" ":!bin" && git commit -m "Initial commit"` const cleanGitHistoryCommand = `cd ${repoName} && rm -rf .git && git init && git add --all -- ":!.github" ":!bin" && git commit -m "Initial commit"`
const cleanGitHistoryCommandWindows = `cd ${repoName} && rmdir .git /s /q && git init && git add --all -- ":!.github" ":!bin" && git commit -m "Initial commit"` const cleanGitHistoryCommandWindows = `cd ${repoName} && rmdir .git /s /q && git init && git add --all -- ":!.github" ":!bin" && git commit -m "Initial commit"`
const deleteFoldersCommand = `cd ${repoName} && rm -rf .github && rm -rf bin` const deleteFoldersCommand = `cd ${repoName} && rm -rf .github && rm -rf bin`

View File

@ -6,7 +6,7 @@ export const deFaultValues = {
ENV: 'production', ENV: 'production',
PLAYGROUND_GRAPHQL: 'false', PLAYGROUND_GRAPHQL: 'false',
WHITELIST_URLS: 'http://localhost', WHITELIST_URLS: 'http://localhost',
PORT: 4000, PORT: '4000',
}; };
export const config = { export const config = {

5207
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "@aleleba/create-node-ts-graphql-server", "name": "@aleleba/create-node-ts-graphql-server",
"version": "1.5.15", "version": "1.5.16",
"description": "Node with Typescript and GraphQL Server", "description": "Node with Typescript and GraphQL Server",
"bin": "./bin/cli.js", "bin": "./bin/cli.js",
"main": "index.js", "main": "index.js",
@ -13,7 +13,7 @@
"lint:fix": "eslint ./ --ext .js --ext .ts --fix", "lint:fix": "eslint ./ --ext .js --ext .ts --fix",
"test": "jest", "test": "jest",
"test:watch": "jest --watch", "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": { "repository": {
"type": "git", "type": "git",
@ -33,58 +33,58 @@
}, },
"homepage": "https://github.com/aleleba/node-ts-graphql-server#readme", "homepage": "https://github.com/aleleba/node-ts-graphql-server#readme",
"dependencies": { "dependencies": {
"@graphql-tools/schema": "^10.0.2", "@graphql-tools/schema": "^10.0.6",
"body-parser": "^1.20.2", "body-parser": "^1.20.2",
"class-validator": "^0.14.1", "class-validator": "^0.14.1",
"cookie-parse": "^0.4.0", "cookie-parse": "^0.4.0",
"cookie-parser": "^1.4.6", "cookie-parser": "^1.4.6",
"cors": "^2.8.5", "cors": "^2.8.5",
"dotenv": "^16.4.4", "dotenv": "^16.4.5",
"express": "^4.18.2", "express": "^4.19.2",
"graphql": "^16.8.1", "graphql": "^16.9.0",
"graphql-http": "^1.22.0", "graphql-http": "^1.22.1",
"graphql-playground-middleware-express": "^1.7.23", "graphql-playground-middleware-express": "^1.7.23",
"graphql-subscriptions": "^2.0.0", "graphql-subscriptions": "^2.0.0",
"graphql-tools": "^9.0.0", "graphql-tools": "^9.0.1",
"graphql-ws": "^5.15.0", "graphql-ws": "^5.16.0",
"reflect-metadata": "^0.2.1", "reflect-metadata": "^0.2.2",
"type-graphql": "^2.0.0-beta.6", "type-graphql": "^2.0.0-rc.2",
"web-push": "^3.6.7", "web-push": "^3.6.7",
"ws": "^8.16.0" "ws": "^8.18.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.23.9", "@babel/core": "^7.25.2",
"@babel/preset-env": "^7.23.9", "@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.23.3", "@babel/preset-typescript": "^7.24.7",
"@babel/register": "^7.23.7", "@babel/register": "^7.24.6",
"@types/body-parser": "^1.19.5", "@types/body-parser": "^1.19.5",
"@types/cookie-parser": "^1.4.6", "@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17", "@types/cors": "^2.8.17",
"@types/express": "^4.17.21", "@types/express": "^4.17.21",
"@types/jest": "^29.5.12", "@types/jest": "^29.5.12",
"@types/node": "^20.11.17", "@types/node": "^22.5.1",
"@types/supertest": "^6.0.2", "@types/supertest": "^6.0.2",
"@types/webpack": "^5.28.5", "@types/webpack": "^5.28.5",
"@types/webpack-node-externals": "^3.0.4", "@types/webpack-node-externals": "^3.0.4",
"@types/ws": "^8.5.10", "@types/ws": "^8.5.12",
"@typescript-eslint/eslint-plugin": "^7.0.1", "@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^7.0.1", "@typescript-eslint/parser": "^8.3.0",
"babel-loader": "^9.1.3", "babel-loader": "^9.1.3",
"clean-webpack-plugin": "^4.0.0", "clean-webpack-plugin": "^4.0.0",
"compression-webpack-plugin": "^11.0.0", "compression-webpack-plugin": "^11.1.0",
"eslint": "^8.56.0", "eslint": "^9.9.1",
"eslint-webpack-plugin": "^4.0.1", "eslint-webpack-plugin": "^4.2.0",
"jest": "^29.7.0", "jest": "^29.7.0",
"nodemon": "^3.0.3", "nodemon": "^3.1.4",
"resolve-ts-aliases": "^1.0.1", "resolve-ts-aliases": "^1.0.1",
"supertest": "^6.3.4", "supertest": "^7.0.0",
"ts-jest": "^29.1.2", "ts-jest": "^29.2.5",
"ts-loader": "^9.5.1", "ts-loader": "^9.5.1",
"typescript": "^5.3.3", "typescript": "^5.5.4",
"webpack": "^5.90.1", "webpack": "^5.94.0",
"webpack-cli": "^5.1.4", "webpack-cli": "^5.1.4",
"webpack-manifest-plugin": "^5.0.0", "webpack-manifest-plugin": "^5.0.0",
"webpack-node-externals": "^3.0.0", "webpack-node-externals": "^3.0.0",
"webpack-shell-plugin-next": "^2.3.1" "webpack-shell-plugin-next": "^2.3.2"
} }
} }