Skip to content

Commit

Permalink
build: update node and dependency versions
Browse files Browse the repository at this point in the history
Trickfilm400 committed Jan 12, 2024

Verified

This commit was signed with the committer’s verified signature.
Trickfilm400 Trickfilm400
1 parent 1c22e66 commit e2bb70b
Showing 5 changed files with 5,144 additions and 10,088 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/buildOpenAPI.yml
Original file line number Diff line number Diff line change
@@ -24,11 +24,11 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
@@ -44,7 +44,7 @@ jobs:
# - run: cd out && echo //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }} >> ~/.npmrc
- run: cd out && npm i
- run: cd out && npm run build
- uses: JS-DevTools/npm-publish@v1
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
package: out/package.json
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -19,11 +19,11 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
@@ -73,7 +73,7 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
push: true
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine3.16 AS builder
FROM node:20-alpine3.19 AS builder

WORKDIR /build

@@ -9,12 +9,12 @@ COPY . .

# build and install only production dependencies
RUN npm run build
RUN npm ci --only=production
RUN npm ci --omit=dev


######################################################################

FROM node:16-alpine3.16
FROM node:20-alpine3.19

WORKDIR /app

15,174 changes: 5,115 additions & 10,059 deletions package-lock.json

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -23,35 +23,35 @@
"license": "MIT",
"dependencies": {
"@kopf02/express-utils": "^1.2.11-main-19a0c74e028fa348bf15b0c3928742c7de690ab7.0",
"amqp-connection-manager": "^4.1.10",
"amqp-connection-manager": "^4.1.14",
"cors": "^2.8.5",
"express": "^4.18.2",
"joi": "^17.8.3",
"joi": "^17.11.0",
"mongoose": "^6.10.0",
"uuid": "^9.0.0",
"winston": "^3.8.2"
"uuid": "^9.0.1",
"winston": "^3.11.0"
},
"devDependencies": {
"@types/amqplib": "^0.10.1",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/mocha": "^10.0.1",
"@types/node": "^18.14.1",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@types/amqplib": "^0.10.4",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.0",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"chai": "^4.3.7",
"chai-http": "^4.3.0",
"eslint": "^8.34.0",
"eslint-plugin-prettier": "^4.2.1",
"chai-http": "^4.4.0",
"eslint": "^8.56.0",
"eslint-plugin-prettier": "^5.1.3",
"mocha": "^10.2.0",
"mocha-junit-reporter": "^2.2.0",
"mocha-junit-reporter": "^2.2.1",
"nyc": "^15.1.0",
"prettier": "^2.8.4",
"prettier": "^3.1.1",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"typeorm": "^0.3.12",
"typescript": "^4.9.5"
"typeorm": "^0.3.19",
"typescript": "^5.3.3"
}
}

0 comments on commit e2bb70b

Please sign in to comment.