mirror of
https://github.com/aleleba/create-node-ts-graphql-server.git
synced 2025-01-08 04:56:46 -06:00
PR-022271: updating packages.
This commit is contained in:
parent
d622a3c007
commit
978e5c9590
@ -4,10 +4,10 @@ This project aims to have a starter kit for creating a new Node with typescript,
|
||||
|
||||
Tech(Library or Framework) | Version |
|
||||
--- | --- |
|
||||
Jest (Testing) | 29.6.4
|
||||
Jest (Testing) | 29.7.0
|
||||
Typescript | 5.2.2
|
||||
GraphQL | 16.8.0
|
||||
Type GraphQL | 2.0.0-beta.2
|
||||
GraphQL | 16.8.1
|
||||
Type GraphQL | 2.0.0-beta.3
|
||||
|
||||
## Setup
|
||||
To create a new project run in the terminal:
|
||||
|
1985
package-lock.json
generated
1985
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
44
package.json
44
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@aleleba/create-node-ts-graphql-server",
|
||||
"version": "1.5.7",
|
||||
"version": "1.5.8",
|
||||
"description": "Node with Typescript and GraphQL Server",
|
||||
"bin": "./bin/cli.js",
|
||||
"main": "index.js",
|
||||
@ -41,45 +41,45 @@
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^16.3.1",
|
||||
"express": "^4.18.2",
|
||||
"graphql": "^16.8.0",
|
||||
"graphql": "^16.8.1",
|
||||
"graphql-http": "^1.22.0",
|
||||
"graphql-playground-middleware-express": "^1.7.23",
|
||||
"graphql-subscriptions": "^2.0.0",
|
||||
"graphql-tools": "^9.0.0",
|
||||
"graphql-ws": "^5.14.0",
|
||||
"graphql-ws": "^5.14.1",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"type-graphql": "^2.0.0-beta.2",
|
||||
"web-push": "^3.6.5",
|
||||
"ws": "^8.14.1"
|
||||
"type-graphql": "^2.0.0-beta.3",
|
||||
"web-push": "^3.6.6",
|
||||
"ws": "^8.14.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.22.17",
|
||||
"@babel/preset-env": "^7.22.15",
|
||||
"@babel/preset-typescript": "^7.22.15",
|
||||
"@babel/core": "^7.23.0",
|
||||
"@babel/preset-env": "^7.22.20",
|
||||
"@babel/preset-typescript": "^7.23.0",
|
||||
"@babel/register": "^7.22.15",
|
||||
"@types/body-parser": "^1.19.2",
|
||||
"@types/body-parser": "^1.19.3",
|
||||
"@types/cookie-parser": "^1.4.4",
|
||||
"@types/cors": "^2.8.14",
|
||||
"@types/express": "^4.17.17",
|
||||
"@types/jest": "^29.5.4",
|
||||
"@types/node": "^20.6.0",
|
||||
"@types/supertest": "^2.0.12",
|
||||
"@types/webpack": "^5.28.2",
|
||||
"@types/webpack-node-externals": "^3.0.0",
|
||||
"@types/ws": "^8.5.5",
|
||||
"@typescript-eslint/eslint-plugin": "^6.6.0",
|
||||
"@typescript-eslint/parser": "^6.6.0",
|
||||
"@types/express": "^4.17.18",
|
||||
"@types/jest": "^29.5.5",
|
||||
"@types/node": "^20.8.4",
|
||||
"@types/supertest": "^2.0.14",
|
||||
"@types/webpack": "^5.28.3",
|
||||
"@types/webpack-node-externals": "^3.0.2",
|
||||
"@types/ws": "^8.5.6",
|
||||
"@typescript-eslint/eslint-plugin": "^6.7.5",
|
||||
"@typescript-eslint/parser": "^6.7.5",
|
||||
"babel-loader": "^9.1.3",
|
||||
"clean-webpack-plugin": "^4.0.0",
|
||||
"compression-webpack-plugin": "^10.0.0",
|
||||
"eslint": "^8.49.0",
|
||||
"eslint": "^8.51.0",
|
||||
"eslint-webpack-plugin": "^4.0.1",
|
||||
"jest": "^29.6.4",
|
||||
"jest": "^29.7.0",
|
||||
"nodemon": "^3.0.1",
|
||||
"resolve-ts-aliases": "^1.0.1",
|
||||
"supertest": "^6.3.3",
|
||||
"ts-jest": "^29.1.1",
|
||||
"ts-loader": "^9.4.4",
|
||||
"ts-loader": "^9.5.0",
|
||||
"typescript": "^5.2.2",
|
||||
"webpack": "^5.88.2",
|
||||
"webpack-cli": "^5.1.4",
|
||||
|
20
schema.graphql
Normal file
20
schema.graphql
Normal file
@ -0,0 +1,20 @@
|
||||
# -----------------------------------------------
|
||||
# !!! THIS FILE WAS GENERATED BY TYPE-GRAPHQL !!!
|
||||
# !!! DO NOT MODIFY THIS FILE BY YOURSELF !!!
|
||||
# -----------------------------------------------
|
||||
|
||||
type Mutation {
|
||||
testMutation: TestMutation!
|
||||
}
|
||||
|
||||
type Query {
|
||||
test: Test!
|
||||
}
|
||||
|
||||
type Test {
|
||||
text: String!
|
||||
}
|
||||
|
||||
type TestMutation {
|
||||
text(text: String!): String!
|
||||
}
|
Loading…
Reference in New Issue
Block a user