@aleleba/create-node-ts-graphql-server 1.5.17 → 1.5.19
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/.github/workflows/main-workflow.yml +3 -3
- package/bin/cli.js +1 -1
- package/package.json +22 -22
|
@@ -26,7 +26,7 @@ jobs:
|
|
|
26
26
|
node-version: 16
|
|
27
27
|
cache: 'npm'
|
|
28
28
|
registry-url: https://registry.npmjs.org/
|
|
29
|
-
- run: npm ci
|
|
29
|
+
- run: npm ci
|
|
30
30
|
- run: npm test
|
|
31
31
|
|
|
32
32
|
# Job to build the package
|
|
@@ -40,7 +40,7 @@ jobs:
|
|
|
40
40
|
with:
|
|
41
41
|
node-version: 16
|
|
42
42
|
registry-url: https://registry.npmjs.org/
|
|
43
|
-
- run: npm ci
|
|
43
|
+
- run: npm ci
|
|
44
44
|
- run: npm run build
|
|
45
45
|
|
|
46
46
|
# Job to publish the package to npm
|
|
@@ -54,7 +54,7 @@ jobs:
|
|
|
54
54
|
with:
|
|
55
55
|
node-version: 16
|
|
56
56
|
registry-url: https://registry.npmjs.org/
|
|
57
|
-
- run: npm ci
|
|
57
|
+
- run: npm ci
|
|
58
58
|
- run: npm publish --access=public
|
|
59
59
|
env:
|
|
60
60
|
NPM_PERSONAL_TOKEN: ${{secrets.npm_token}}
|
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
|
|
70
|
+
const installDepsCommand = `cd ${repoName} && npm i`;
|
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aleleba/create-node-ts-graphql-server",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.19",
|
|
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"
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
@@ -33,20 +33,20 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://github.com/aleleba/node-ts-graphql-server#readme",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@graphql-tools/schema": "^10.0.
|
|
36
|
+
"@graphql-tools/schema": "^10.0.8",
|
|
37
37
|
"body-parser": "^1.20.3",
|
|
38
38
|
"class-validator": "^0.14.1",
|
|
39
39
|
"cookie-parse": "^0.4.0",
|
|
40
|
-
"cookie-parser": "^1.4.
|
|
40
|
+
"cookie-parser": "^1.4.7",
|
|
41
41
|
"cors": "^2.8.5",
|
|
42
42
|
"dotenv": "^16.4.5",
|
|
43
|
-
"express": "^4.21.
|
|
43
|
+
"express": "^4.21.1",
|
|
44
44
|
"graphql": "^16.9.0",
|
|
45
|
-
"graphql-http": "^1.22.
|
|
45
|
+
"graphql-http": "^1.22.2",
|
|
46
46
|
"graphql-playground-middleware-express": "^1.7.23",
|
|
47
47
|
"graphql-scalars": "^1.23.0",
|
|
48
|
-
"graphql-subscriptions": "^
|
|
49
|
-
"graphql-tools": "^9.0.
|
|
48
|
+
"graphql-subscriptions": "^3.0.0",
|
|
49
|
+
"graphql-tools": "^9.0.3",
|
|
50
50
|
"graphql-ws": "^5.16.0",
|
|
51
51
|
"reflect-metadata": "^0.2.2",
|
|
52
52
|
"type-graphql": "^2.0.0-rc.2",
|
|
@@ -54,35 +54,35 @@
|
|
|
54
54
|
"ws": "^8.18.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@babel/core": "^7.
|
|
58
|
-
"@babel/preset-env": "^7.
|
|
59
|
-
"@babel/preset-typescript": "^7.
|
|
60
|
-
"@babel/register": "^7.
|
|
57
|
+
"@babel/core": "^7.26.0",
|
|
58
|
+
"@babel/preset-env": "^7.26.0",
|
|
59
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
60
|
+
"@babel/register": "^7.25.9",
|
|
61
61
|
"@types/body-parser": "^1.19.5",
|
|
62
62
|
"@types/cookie-parser": "^1.4.7",
|
|
63
63
|
"@types/cors": "^2.8.17",
|
|
64
|
-
"@types/express": "^
|
|
65
|
-
"@types/jest": "^29.5.
|
|
66
|
-
"@types/node": "^22.
|
|
64
|
+
"@types/express": "^5.0.0",
|
|
65
|
+
"@types/jest": "^29.5.14",
|
|
66
|
+
"@types/node": "^22.9.0",
|
|
67
67
|
"@types/supertest": "^6.0.2",
|
|
68
68
|
"@types/webpack": "^5.28.5",
|
|
69
69
|
"@types/webpack-node-externals": "^3.0.4",
|
|
70
|
-
"@types/ws": "^8.5.
|
|
71
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
72
|
-
"@typescript-eslint/parser": "^8.
|
|
70
|
+
"@types/ws": "^8.5.13",
|
|
71
|
+
"@typescript-eslint/eslint-plugin": "^8.14.0",
|
|
72
|
+
"@typescript-eslint/parser": "^8.14.0",
|
|
73
73
|
"babel-loader": "^9.2.1",
|
|
74
74
|
"clean-webpack-plugin": "^4.0.0",
|
|
75
75
|
"compression-webpack-plugin": "^11.1.0",
|
|
76
|
-
"eslint": "^9.
|
|
76
|
+
"eslint": "^9.14.0",
|
|
77
77
|
"eslint-webpack-plugin": "^4.2.0",
|
|
78
78
|
"jest": "^29.7.0",
|
|
79
|
-
"nodemon": "^3.1.
|
|
79
|
+
"nodemon": "^3.1.7",
|
|
80
80
|
"resolve-ts-aliases": "^1.0.1",
|
|
81
81
|
"supertest": "^7.0.0",
|
|
82
82
|
"ts-jest": "^29.2.5",
|
|
83
83
|
"ts-loader": "^9.5.1",
|
|
84
|
-
"typescript": "^5.6.
|
|
85
|
-
"webpack": "^5.
|
|
84
|
+
"typescript": "^5.6.3",
|
|
85
|
+
"webpack": "^5.96.1",
|
|
86
86
|
"webpack-cli": "^5.1.4",
|
|
87
87
|
"webpack-manifest-plugin": "^5.0.0",
|
|
88
88
|
"webpack-node-externals": "^3.0.0",
|