mirror of
https://github.com/aleleba/create-node-ts-graphql-server.git
synced 2026-06-03 23:24:13 -06:00
Merge pull request #57 from aleleba/PR-715551
PR-715551: Updating packages and readme versions
This commit is contained in:
16
.github/workflows/main-workflow.yml
vendored
16
.github/workflows/main-workflow.yml
vendored
@@ -16,17 +16,17 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [20.x]
|
node-version: [24.x]
|
||||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Use Node.js 20
|
- name: Use Node.js 24
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 22
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
registry-url: https://registry.npmjs.org/
|
registry-url: https://registry.npmjs.org/
|
||||||
- run: npm ci --legacy-peer-deps
|
- run: npm ci
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
|
||||||
# Job to build the package
|
# Job to build the package
|
||||||
@@ -38,9 +38,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 24
|
||||||
registry-url: https://registry.npmjs.org/
|
registry-url: https://registry.npmjs.org/
|
||||||
- run: npm ci --legacy-peer-deps
|
- run: npm ci
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
|
||||||
# Job to publish the package to npm
|
# Job to publish the package to npm
|
||||||
@@ -52,9 +52,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 24
|
||||||
registry-url: https://registry.npmjs.org/
|
registry-url: https://registry.npmjs.org/
|
||||||
- run: npm ci --legacy-peer-deps
|
- run: npm ci
|
||||||
- run: npm publish --access=public
|
- run: npm publish --access=public
|
||||||
env:
|
env:
|
||||||
NPM_PERSONAL_TOKEN: ${{secrets.npm_token}}
|
NPM_PERSONAL_TOKEN: ${{secrets.npm_token}}
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ This project aims to have a starter kit for creating a new Node with typescript,
|
|||||||
|
|
||||||
Tech(Library or Framework) | Version |
|
Tech(Library or Framework) | Version |
|
||||||
--- | --- |
|
--- | --- |
|
||||||
Jest (Testing) | 30.2.0
|
Jest (Testing) | 30.4.2
|
||||||
Typescript | 5.9.3
|
Typescript | 6.0.3
|
||||||
GraphQL | 16.12.0
|
GraphQL | 16.14.1
|
||||||
Type GraphQL | 2.0.0-rc.2
|
Type GraphQL | 2.0.0-rc.3
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
To create a new project run in the terminal:
|
To create a new project run in the terminal:
|
||||||
|
|||||||
19699
package-lock.json
generated
19699
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
58
package.json
58
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@aleleba/create-node-ts-graphql-server",
|
"name": "@aleleba/create-node-ts-graphql-server",
|
||||||
"version": "1.6.4",
|
"version": "1.6.5",
|
||||||
"description": "Node with Typescript and GraphQL Server",
|
"description": "Node with Typescript and GraphQL Server",
|
||||||
"bin": "./bin/cli.js",
|
"bin": "./bin/cli.js",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -33,57 +33,57 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/aleleba/node-ts-graphql-server#readme",
|
"homepage": "https://github.com/aleleba/node-ts-graphql-server#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@graphql-tools/schema": "^10.0.31",
|
"@graphql-tools/schema": "^10.0.33",
|
||||||
"body-parser": "^2.2.2",
|
"body-parser": "^2.2.2",
|
||||||
"class-validator": "^0.14.3",
|
"class-validator": "^0.15.1",
|
||||||
"cookie-parse": "^0.4.0",
|
"cookie-parse": "^0.4.0",
|
||||||
"cookie-parser": "^1.4.7",
|
"cookie-parser": "^1.4.7",
|
||||||
"cors": "^2.8.6",
|
"cors": "^2.8.6",
|
||||||
"dotenv": "^17.2.3",
|
"dotenv": "^17.4.2",
|
||||||
"express": "^5.2.1",
|
"express": "^5.2.1",
|
||||||
"graphql": "^16.12.0",
|
"graphql": "^16.14.1",
|
||||||
"graphql-http": "^1.22.4",
|
"graphql-http": "^1.22.4",
|
||||||
"graphql-scalars": "^1.25.0",
|
"graphql-scalars": "^1.25.0",
|
||||||
"ruru": "^2.0.0-rc.4",
|
"ruru": "^2.0.0",
|
||||||
"graphql-subscriptions": "^3.0.0",
|
"graphql-subscriptions": "^3.0.0",
|
||||||
"graphql-tools": "^9.0.26",
|
"graphql-tools": "^9.0.28",
|
||||||
"graphql-ws": "^6.0.6",
|
"graphql-ws": "^6.0.8",
|
||||||
"reflect-metadata": "^0.2.2",
|
"reflect-metadata": "^0.2.2",
|
||||||
"type-graphql": "^2.0.0-rc.2",
|
"type-graphql": "^2.0.0-rc.3",
|
||||||
"web-push": "^3.6.7",
|
"web-push": "^3.6.7",
|
||||||
"ws": "^8.19.0"
|
"ws": "^8.21.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.28.6",
|
"@babel/core": "^7.29.7",
|
||||||
"@babel/preset-env": "^7.28.6",
|
"@babel/preset-env": "^7.29.7",
|
||||||
"@babel/preset-typescript": "^7.28.5",
|
"@babel/preset-typescript": "^7.29.7",
|
||||||
"@babel/register": "^7.28.6",
|
"@babel/register": "^7.29.7",
|
||||||
"@types/body-parser": "^1.19.6",
|
"@types/body-parser": "^1.19.6",
|
||||||
"@types/cookie-parser": "^1.4.10",
|
"@types/cookie-parser": "^1.4.10",
|
||||||
"@types/cors": "^2.8.19",
|
"@types/cors": "^2.8.19",
|
||||||
"@types/express": "^5.0.6",
|
"@types/express": "^5.0.6",
|
||||||
"@types/jest": "^30.0.0",
|
"@types/jest": "^30.0.0",
|
||||||
"@types/node": "^25.0.10",
|
"@types/node": "^25.9.1",
|
||||||
"@types/supertest": "^6.0.3",
|
"@types/supertest": "^7.2.0",
|
||||||
"@types/webpack": "^5.28.5",
|
"@types/webpack": "^5.28.5",
|
||||||
"@types/webpack-node-externals": "^3.0.4",
|
"@types/webpack-node-externals": "^3.0.4",
|
||||||
"@types/ws": "^8.18.1",
|
"@types/ws": "^8.18.1",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
"@typescript-eslint/eslint-plugin": "^8.60.1",
|
||||||
"@typescript-eslint/parser": "^8.53.1",
|
"@typescript-eslint/parser": "^8.60.1",
|
||||||
"babel-loader": "^10.0.0",
|
"babel-loader": "^10.1.1",
|
||||||
"clean-webpack-plugin": "^4.0.0",
|
"clean-webpack-plugin": "^4.0.0",
|
||||||
"compression-webpack-plugin": "^11.1.0",
|
"compression-webpack-plugin": "^12.0.0",
|
||||||
"eslint": "^9.39.2",
|
"eslint": "^10.4.1",
|
||||||
"eslint-webpack-plugin": "^5.0.2",
|
"eslint-webpack-plugin": "^6.0.0",
|
||||||
"jest": "^30.2.0",
|
"jest": "^30.4.2",
|
||||||
"nodemon": "^3.1.11",
|
"nodemon": "^3.1.14",
|
||||||
"resolve-ts-aliases": "^1.0.1",
|
"resolve-ts-aliases": "^1.0.1",
|
||||||
"supertest": "^7.2.2",
|
"supertest": "^7.2.2",
|
||||||
"ts-jest": "^29.4.6",
|
"ts-jest": "^29.4.11",
|
||||||
"ts-loader": "^9.5.4",
|
"ts-loader": "^9.6.0",
|
||||||
"typescript": "^5.9.3",
|
"typescript": "^6.0.3",
|
||||||
"webpack": "^5.104.1",
|
"webpack": "^5.107.2",
|
||||||
"webpack-cli": "^6.0.1",
|
"webpack-cli": "^7.0.3",
|
||||||
"webpack-manifest-plugin": "^6.0.1",
|
"webpack-manifest-plugin": "^6.0.1",
|
||||||
"webpack-node-externals": "^3.0.0",
|
"webpack-node-externals": "^3.0.0",
|
||||||
"webpack-shell-plugin-next": "^2.3.3"
|
"webpack-shell-plugin-next": "^2.3.3"
|
||||||
|
|||||||
@@ -3,9 +3,11 @@
|
|||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"target": "es2021",
|
"target": "es2021",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node10",
|
||||||
|
"ignoreDeprecations": "6.0",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"typeRoots" : ["./src/@types", "./node_modules/@types"],
|
"typeRoots" : ["./src/@types", "./node_modules/@types"],
|
||||||
|
"types": ["jest", "node"],
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user