Updating packages and Readme file.

This commit is contained in:
Alejandro Lembke Barrientos 2022-05-26 13:15:12 +00:00
parent 45ca8c6aa4
commit 45763ff6e6
4 changed files with 19 additions and 18 deletions

View File

@ -1,11 +1,8 @@
#ENVIRONMENT Defauld production #ENVIRONMENT Defauld production
ENVIRONMENT= ENVIRONMENT=
#WHITELIST URLS Default to http://localhost #WHITELIST URLS Default to http://localhost
WHITELIST_URLS= WHITELIST_URLS=
#GRAPHIQL Default to "false" #GRAPHIQL Default to "false"
GRAPHIQL= GRAPHIQL=
# PORT EXPOSE APP Default to 4000 # PORT EXPOSE APP Default to 4000
PORT= PORT=

View File

@ -1,11 +1,12 @@
# Create Node TS GraphQL Server # 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 | Tech(Library or Framework) | Version |
--- | --- | --- | --- |
Jest (Testing) | 28.1.0 Jest (Testing) | 28.1.0
Typescript | 4.7.2 Typescript | 4.7.2
GraphQL | 16.5.0
## Setup ## Setup
To create a new project run in the terminal: To create a new project run in the terminal:

27
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "ts-graphql-server", "name": "@aleleba/create-node-ts-graphql-server",
"version": "0.0.1", "version": "1.0.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "ts-graphql-server", "name": "@aleleba/create-node-ts-graphql-server",
"version": "0.0.1", "version": "1.0.3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@graphql-tools/schema": "^8.3.13", "@graphql-tools/schema": "^8.3.13",
@ -16,13 +16,16 @@
"dotenv": "^16.0.1", "dotenv": "^16.0.1",
"express": "^4.18.1", "express": "^4.18.1",
"express-graphql": "^0.12.0", "express-graphql": "^0.12.0",
"graphql": "^15.8.0", "graphql": "^16.5.0",
"graphql-subscriptions": "^2.0.0", "graphql-subscriptions": "^2.0.0",
"graphql-tools": "^8.2.11", "graphql-tools": "^8.2.11",
"graphql-ws": "^5.8.2", "graphql-ws": "^5.8.2",
"web-push": "^3.5.0", "web-push": "^3.5.0",
"ws": "^8.6.0" "ws": "^8.6.0"
}, },
"bin": {
"create-node-ts-graphql-server": "bin/cli.js"
},
"devDependencies": { "devDependencies": {
"@babel/core": "^7.18.2", "@babel/core": "^7.18.2",
"@babel/preset-env": "^7.18.2", "@babel/preset-env": "^7.18.2",
@ -6579,11 +6582,11 @@
"dev": true "dev": true
}, },
"node_modules/graphql": { "node_modules/graphql": {
"version": "15.8.0", "version": "16.5.0",
"resolved": "https://registry.npmjs.org/graphql/-/graphql-15.8.0.tgz", "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.5.0.tgz",
"integrity": "sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw==", "integrity": "sha512-qbHgh8Ix+j/qY+a/ZcJnFQ+j8ezakqPiHwPiZhV/3PgGlgf96QMBB5/f2rkiC9sgLoy/xvT6TSiaf2nTHJh5iA==",
"engines": { "engines": {
"node": ">= 10.x" "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0"
} }
}, },
"node_modules/graphql-subscriptions": { "node_modules/graphql-subscriptions": {
@ -17225,9 +17228,9 @@
"dev": true "dev": true
}, },
"graphql": { "graphql": {
"version": "15.8.0", "version": "16.5.0",
"resolved": "https://registry.npmjs.org/graphql/-/graphql-15.8.0.tgz", "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.5.0.tgz",
"integrity": "sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw==" "integrity": "sha512-qbHgh8Ix+j/qY+a/ZcJnFQ+j8ezakqPiHwPiZhV/3PgGlgf96QMBB5/f2rkiC9sgLoy/xvT6TSiaf2nTHJh5iA=="
}, },
"graphql-subscriptions": { "graphql-subscriptions": {
"version": "2.0.0", "version": "2.0.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "@aleleba/create-node-ts-graphql-server", "name": "@aleleba/create-node-ts-graphql-server",
"version": "1.0.3", "version": "1.0.4",
"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",
@ -39,7 +39,7 @@
"dotenv": "^16.0.1", "dotenv": "^16.0.1",
"express": "^4.18.1", "express": "^4.18.1",
"express-graphql": "^0.12.0", "express-graphql": "^0.12.0",
"graphql": "^15.8.0", "graphql": "^16.5.0",
"graphql-subscriptions": "^2.0.0", "graphql-subscriptions": "^2.0.0",
"graphql-tools": "^8.2.11", "graphql-tools": "^8.2.11",
"graphql-ws": "^5.8.2", "graphql-ws": "^5.8.2",