@aleleba/create-node-ts-graphql-server 1.5.15 → 1.5.17

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 CHANGED
@@ -5,9 +5,9 @@ This project aims to have a starter kit for creating a new Node with typescript,
5
5
  Tech(Library or Framework) | Version |
6
6
  --- | --- |
7
7
  Jest (Testing) | 29.7.0
8
- Typescript | 5.3.3
9
- GraphQL | 16.8.1
10
- Type GraphQL | 2.0.0-beta.6
8
+ Typescript | 5.6.2
9
+ GraphQL | 16.9.0
10
+ Type GraphQL | 2.0.0-rc.2
11
11
 
12
12
  ## Setup
13
13
  To create a new project run in the terminal:
package/bin/cli.js CHANGED
@@ -67,7 +67,7 @@ if(!checkedOut) process.exit(-1);
67
67
 
68
68
  const actualVersion = runCommandWithOutput(`cd ${repoName} && node -p "require('./package.json').version"`).toString().trim()
69
69
 
70
- const installDepsCommand = `cd ${repoName} && npm install`;
70
+ const installDepsCommand = `cd ${repoName} && npm install --legacy-peer-deps`;
71
71
  const cleanGitHistoryCommand = `cd ${repoName} && rm -rf .git && git init && git add --all -- ":!.github" ":!bin" && git commit -m "Initial commit"`
72
72
  const cleanGitHistoryCommandWindows = `cd ${repoName} && rmdir .git /s /q && git init && git add --all -- ":!.github" ":!bin" && git commit -m "Initial commit"`
73
73
  const deleteFoldersCommand = `cd ${repoName} && rm -rf .github && rm -rf bin`
package/config/index.ts CHANGED
@@ -6,7 +6,7 @@ export const deFaultValues = {
6
6
  ENV: 'production',
7
7
  PLAYGROUND_GRAPHQL: 'false',
8
8
  WHITELIST_URLS: 'http://localhost',
9
- PORT: 4000,
9
+ PORT: '4000',
10
10
  };
11
11
 
12
12
  export const config = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aleleba/create-node-ts-graphql-server",
3
- "version": "1.5.15",
3
+ "version": "1.5.17",
4
4
  "description": "Node with Typescript and GraphQL Server",
5
5
  "bin": "./bin/cli.js",
6
6
  "main": "index.js",
@@ -13,7 +13,7 @@
13
13
  "lint:fix": "eslint ./ --ext .js --ext .ts --fix",
14
14
  "test": "jest",
15
15
  "test:watch": "jest --watch",
16
- "check-updates": "npx npm-check-updates -u && npm i"
16
+ "check-updates": "npx npm-check-updates -u && npm i --legacy-peer-deps"
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",
@@ -33,58 +33,59 @@
33
33
  },
34
34
  "homepage": "https://github.com/aleleba/node-ts-graphql-server#readme",
35
35
  "dependencies": {
36
- "@graphql-tools/schema": "^10.0.2",
37
- "body-parser": "^1.20.2",
36
+ "@graphql-tools/schema": "^10.0.6",
37
+ "body-parser": "^1.20.3",
38
38
  "class-validator": "^0.14.1",
39
39
  "cookie-parse": "^0.4.0",
40
40
  "cookie-parser": "^1.4.6",
41
41
  "cors": "^2.8.5",
42
- "dotenv": "^16.4.4",
43
- "express": "^4.18.2",
44
- "graphql": "^16.8.1",
45
- "graphql-http": "^1.22.0",
42
+ "dotenv": "^16.4.5",
43
+ "express": "^4.21.0",
44
+ "graphql": "^16.9.0",
45
+ "graphql-http": "^1.22.1",
46
46
  "graphql-playground-middleware-express": "^1.7.23",
47
+ "graphql-scalars": "^1.23.0",
47
48
  "graphql-subscriptions": "^2.0.0",
48
- "graphql-tools": "^9.0.0",
49
- "graphql-ws": "^5.15.0",
50
- "reflect-metadata": "^0.2.1",
51
- "type-graphql": "^2.0.0-beta.6",
49
+ "graphql-tools": "^9.0.1",
50
+ "graphql-ws": "^5.16.0",
51
+ "reflect-metadata": "^0.2.2",
52
+ "type-graphql": "^2.0.0-rc.2",
52
53
  "web-push": "^3.6.7",
53
- "ws": "^8.16.0"
54
+ "ws": "^8.18.0"
54
55
  },
55
56
  "devDependencies": {
56
- "@babel/core": "^7.23.9",
57
- "@babel/preset-env": "^7.23.9",
58
- "@babel/preset-typescript": "^7.23.3",
59
- "@babel/register": "^7.23.7",
57
+ "@babel/core": "^7.25.2",
58
+ "@babel/preset-env": "^7.25.4",
59
+ "@babel/preset-typescript": "^7.24.7",
60
+ "@babel/register": "^7.24.6",
60
61
  "@types/body-parser": "^1.19.5",
61
- "@types/cookie-parser": "^1.4.6",
62
+ "@types/cookie-parser": "^1.4.7",
62
63
  "@types/cors": "^2.8.17",
63
64
  "@types/express": "^4.17.21",
64
- "@types/jest": "^29.5.12",
65
- "@types/node": "^20.11.17",
65
+ "@types/jest": "^29.5.13",
66
+ "@types/node": "^22.5.5",
66
67
  "@types/supertest": "^6.0.2",
67
68
  "@types/webpack": "^5.28.5",
68
69
  "@types/webpack-node-externals": "^3.0.4",
69
- "@types/ws": "^8.5.10",
70
- "@typescript-eslint/eslint-plugin": "^7.0.1",
71
- "@typescript-eslint/parser": "^7.0.1",
72
- "babel-loader": "^9.1.3",
70
+ "@types/ws": "^8.5.12",
71
+ "@typescript-eslint/eslint-plugin": "^8.6.0",
72
+ "@typescript-eslint/parser": "^8.6.0",
73
+ "babel-loader": "^9.2.1",
73
74
  "clean-webpack-plugin": "^4.0.0",
74
- "compression-webpack-plugin": "^11.0.0",
75
- "eslint": "^8.56.0",
76
- "eslint-webpack-plugin": "^4.0.1",
75
+ "compression-webpack-plugin": "^11.1.0",
76
+ "eslint": "^9.10.0",
77
+ "eslint-webpack-plugin": "^4.2.0",
77
78
  "jest": "^29.7.0",
78
- "nodemon": "^3.0.3",
79
+ "nodemon": "^3.1.5",
79
80
  "resolve-ts-aliases": "^1.0.1",
80
- "supertest": "^6.3.4",
81
- "ts-jest": "^29.1.2",
81
+ "supertest": "^7.0.0",
82
+ "ts-jest": "^29.2.5",
82
83
  "ts-loader": "^9.5.1",
83
- "typescript": "^5.3.3",
84
- "webpack": "^5.90.1",
84
+ "typescript": "^5.6.2",
85
+ "webpack": "^5.94.0",
85
86
  "webpack-cli": "^5.1.4",
86
87
  "webpack-manifest-plugin": "^5.0.0",
87
88
  "webpack-node-externals": "^3.0.0",
88
- "webpack-shell-plugin-next": "^2.3.1"
89
+ "webpack-shell-plugin-next": "^2.3.2"
89
90
  }
90
91
  }