Skip to content

Commit

Permalink
Build/upgrade dependencies (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gijsdeman authored Nov 4, 2024
2 parents 98d6fac + d065ea5 commit 7446857
Show file tree
Hide file tree
Showing 7 changed files with 83 additions and 87 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ on:

jobs:
build-and-lint:
uses: GEWIS/actions/.github/workflows/typescript-lint-and-build.yml@v0.0.1
uses: GEWIS/actions/.github/workflows/typescript-lint-and-build.yml@v0.0.2
with:
node-version: "20.x"
node-version: "22.x"
package-manager: "yarn"
lint: true
format: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build-and-lint:
uses: GEWIS/actions/.github/workflows/semantic-release.yml@v0.0.1
uses: GEWIS/actions/.github/workflows/semantic-release.yml@v0.0.2
with:
projects: '["."]'
docker_registry: 'abc.docker-registry.gewis.nl'
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build in a different image to keep the target image clean
FROM node:20 AS build
FROM node:22 AS build
ENV NODE_ENV=development
WORKDIR /app
COPY ./package.json ./yarn.lock ./
Expand All @@ -8,7 +8,7 @@ COPY ./ ./
RUN yarn build

# Target image that will be run
FROM node:20-alpine AS target
FROM node:22-alpine AS target
ENV NODE_ENV=production

WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The other repositories can be found here:
- [Aurora DMX Lights Proxy](https://github.com/gewis/aurora-audio-player).

## Prerequisites
- NodeJS 20.
- NodeJS 22.

## Installation
1. Copy `.env.example` to `.env` and fill in the environment variables.
Expand Down
11 changes: 8 additions & 3 deletions openapi-ts.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ export default defineConfig({
client: '@hey-api/client-fetch',
input: './build/swagger.json',
output: `../narrowcasting-client/src/api/`,
types: {
enums: 'typescript',
},
plugins: [
'@hey-api/schemas',
'@hey-api/services',
{
enums: 'typescript',
name: '@hey-api/types',
},
],
});
34 changes: 19 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,48 +31,49 @@
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express": "^4.21.1",
"express-session": "^1.18.1",
"global": "^4.4.0",
"globals": "^15.11.0",
"joi": "^17.13.3",
"jwt-decode": "^4.0.0",
"mysql2": "^3.11.3",
"node-cron": "^3.0.3",
"openid-client": "^5.7.0",
"passport": "^0.7.0",
"passport-custom": "^1.1.1",
"pino": "^9.4.0",
"pino": "^9.5.0",
"pino-http": "^10.3.0",
"pino-pretty": "^11.2.2",
"pino-pretty": "^11.3.0",
"qs": "^6.13.0",
"socket.io": "^4.8.0",
"socket.io": "^4.8.1",
"sqlite3": "^5.1.7",
"swagger-ui-express": "^5.0.1",
"tsoa": "^6.5.1",
"typeorm": "^0.3.20",
"uuid": "^10.0.0"
"uuid": "^11.0.2"
},
"devDependencies": {
"@tsoa/runtime": "^6.5.1",
"@tsoa/cli": "^6.5.1",
"@eslint/compat": "^1.2.0",
"@eslint/compat": "^1.2.2",
"@eslint/eslintrc": "^3.1.0",
"@hey-api/openapi-ts": "^0.53.11",
"@hey-api/openapi-ts": "^0.54.2",
"@tsoa/cli": "^6.5.1",
"@tsoa/runtime": "^6.5.1",
"@types/node": "^22.8.7",
"@types/async-lock": "^1.4.2",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/express-session": "^1.18.0",
"@types/node-cron": "^3.0.11",
"@types/passport": "^1.0.16",
"@types/passport": "^1.0.17",
"@types/passport-strategy": "^0.2.38",
"@types/swagger-ui-express": "^4.1.6",
"@types/swagger-ui-express": "^4.1.7",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"@typescript-eslint/eslint-plugin": "^8.12.2",
"@typescript-eslint/parser": "^8.12.2",
"@eslint/js": "^9.14.0",
"concurrently": "^9.0.1",
"eslint": "^9.12.0",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"husky": "^9.1.6",
Expand All @@ -82,5 +83,8 @@
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
},
"engines": {
"node": ">=22.0.0"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
Loading

0 comments on commit 7446857

Please sign in to comment.