@aleleba/create-node-ts-graphql-server 1.2.10 → 1.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +5 -5
- package/src/tests/server/index.test.ts +2 -2
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aleleba/create-node-ts-graphql-server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.11",
|
|
4
4
|
"description": "Node with Typescript and GraphQL Server",
|
|
5
5
|
"bin": "./bin/cli.js",
|
|
6
6
|
"main": "index.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"graphql-playground-middleware-express": "^1.7.23",
|
|
45
45
|
"graphql-subscriptions": "^2.0.0",
|
|
46
46
|
"graphql-tools": "^8.3.18",
|
|
47
|
-
"graphql-ws": "^5.
|
|
47
|
+
"graphql-ws": "^5.12.0",
|
|
48
48
|
"web-push": "^3.5.0",
|
|
49
49
|
"ws": "^8.12.1"
|
|
50
50
|
},
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@babel/preset-typescript": "^7.21.0",
|
|
55
55
|
"@babel/register": "^7.21.0",
|
|
56
56
|
"@types/jest": "^29.4.0",
|
|
57
|
-
"@types/node": "^18.14.
|
|
57
|
+
"@types/node": "^18.14.6",
|
|
58
58
|
"@types/webpack": "^5.28.0",
|
|
59
59
|
"@types/webpack-node-externals": "^3.0.0",
|
|
60
60
|
"@typescript-eslint/eslint-plugin": "^5.54.0",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"compression-webpack-plugin": "^10.0.0",
|
|
65
65
|
"eslint": "^8.35.0",
|
|
66
66
|
"eslint-webpack-plugin": "^4.0.0",
|
|
67
|
-
"jest": "^29.
|
|
68
|
-
"nodemon": "^2.0.
|
|
67
|
+
"jest": "^29.5.0",
|
|
68
|
+
"nodemon": "^2.0.21",
|
|
69
69
|
"supertest": "^6.3.3",
|
|
70
70
|
"ts-jest": "^29.0.5",
|
|
71
71
|
"ts-loader": "^9.4.2",
|
|
@@ -5,7 +5,7 @@ describe('global server tests', () => {
|
|
|
5
5
|
beforeEach(() => {
|
|
6
6
|
request = supertest(server);
|
|
7
7
|
});
|
|
8
|
-
|
|
8
|
+
it('should return Test data from test Query', async () => {
|
|
9
9
|
const bodyResponse = {
|
|
10
10
|
data: {
|
|
11
11
|
test: { test: 'This is the text response for Test Query from a model' }
|
|
@@ -18,7 +18,7 @@ describe('global server tests', () => {
|
|
|
18
18
|
expect(response.body).toEqual(bodyResponse);
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
it('should return Test data from test Mutation', async () => {
|
|
22
22
|
const bodyResponse = {
|
|
23
23
|
data: {
|
|
24
24
|
testMutation: {
|