From 45763ff6e6edd97d0c9175419956ef27575caa0a Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Thu, 26 May 2022 13:15:12 +0000 Subject: [PATCH] Updating packages and Readme file. --- .env.example | 3 --- README.md | 3 ++- package-lock.json | 27 +++++++++++++++------------ package.json | 4 ++-- 4 files changed, 19 insertions(+), 18 deletions(-) diff --git a/.env.example b/.env.example index 66da8f5..1034c9a 100644 --- a/.env.example +++ b/.env.example @@ -1,11 +1,8 @@ #ENVIRONMENT Defauld production ENVIRONMENT= - #WHITELIST URLS Default to http://localhost WHITELIST_URLS= - #GRAPHIQL Default to "false" GRAPHIQL= - # PORT EXPOSE APP Default to 4000 PORT= \ No newline at end of file diff --git a/README.md b/README.md index 604ec65..ad0673a 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ # Create Node TS GraphQL Server -This project aims to have a starter kit for creating a new Node with typescript, GraphQl server and tools that generally go along with it. +This project aims to have a starter kit for creating a new Node with typescript, GraphQL server and tools that generally go along with it. Tech(Library or Framework) | Version | --- | --- | Jest (Testing) | 28.1.0 Typescript | 4.7.2 +GraphQL | 16.5.0 ## Setup To create a new project run in the terminal: diff --git a/package-lock.json b/package-lock.json index e9198d1..732981d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "ts-graphql-server", - "version": "0.0.1", + "name": "@aleleba/create-node-ts-graphql-server", + "version": "1.0.3", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "ts-graphql-server", - "version": "0.0.1", + "name": "@aleleba/create-node-ts-graphql-server", + "version": "1.0.3", "license": "MIT", "dependencies": { "@graphql-tools/schema": "^8.3.13", @@ -16,13 +16,16 @@ "dotenv": "^16.0.1", "express": "^4.18.1", "express-graphql": "^0.12.0", - "graphql": "^15.8.0", + "graphql": "^16.5.0", "graphql-subscriptions": "^2.0.0", "graphql-tools": "^8.2.11", "graphql-ws": "^5.8.2", "web-push": "^3.5.0", "ws": "^8.6.0" }, + "bin": { + "create-node-ts-graphql-server": "bin/cli.js" + }, "devDependencies": { "@babel/core": "^7.18.2", "@babel/preset-env": "^7.18.2", @@ -6579,11 +6582,11 @@ "dev": true }, "node_modules/graphql": { - "version": "15.8.0", - "resolved": "https://registry.npmjs.org/graphql/-/graphql-15.8.0.tgz", - "integrity": "sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw==", + "version": "16.5.0", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.5.0.tgz", + "integrity": "sha512-qbHgh8Ix+j/qY+a/ZcJnFQ+j8ezakqPiHwPiZhV/3PgGlgf96QMBB5/f2rkiC9sgLoy/xvT6TSiaf2nTHJh5iA==", "engines": { - "node": ">= 10.x" + "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" } }, "node_modules/graphql-subscriptions": { @@ -17225,9 +17228,9 @@ "dev": true }, "graphql": { - "version": "15.8.0", - "resolved": "https://registry.npmjs.org/graphql/-/graphql-15.8.0.tgz", - "integrity": "sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw==" + "version": "16.5.0", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.5.0.tgz", + "integrity": "sha512-qbHgh8Ix+j/qY+a/ZcJnFQ+j8ezakqPiHwPiZhV/3PgGlgf96QMBB5/f2rkiC9sgLoy/xvT6TSiaf2nTHJh5iA==" }, "graphql-subscriptions": { "version": "2.0.0", diff --git a/package.json b/package.json index 43c57ee..64451e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aleleba/create-node-ts-graphql-server", - "version": "1.0.3", + "version": "1.0.4", "description": "Node with Typescript and GraphQL Server", "bin": "./bin/cli.js", "main": "index.js", @@ -39,7 +39,7 @@ "dotenv": "^16.0.1", "express": "^4.18.1", "express-graphql": "^0.12.0", - "graphql": "^15.8.0", + "graphql": "^16.5.0", "graphql-subscriptions": "^2.0.0", "graphql-tools": "^8.2.11", "graphql-ws": "^5.8.2",