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=
#WHITELIST URLS Default to http://localhost
WHITELIST_URLS=
#GRAPHIQL Default to "false"
GRAPHIQL=
# PORT EXPOSE APP Default to 4000
PORT=

View File

@ -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:

27
package-lock.json generated
View File

@ -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",

View File

@ -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",