Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
JensForstmann committed Aug 3, 2024
1 parent 5b9900e commit e8a2b30
Show file tree
Hide file tree
Showing 8 changed files with 220 additions and 219 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine AS BACKEND_BUILD_IMAGE
FROM node:20 AS BACKEND_BUILD_IMAGE
WORKDIR /app/backend
COPY backend/package-lock.json .
COPY backend/package.json .
Expand All @@ -10,7 +10,7 @@ COPY backend/tsoa.json .
RUN npm run build
RUN npm prune --production

FROM node:20-alpine AS FRONTEND_BUILD_IMAGE
FROM node:20 AS FRONTEND_BUILD_IMAGE
WORKDIR /app/frontend
COPY frontend/package-lock.json .
COPY frontend/package.json .
Expand All @@ -24,7 +24,7 @@ COPY frontend/tsconfig.json .
COPY frontend/vite.config.mts .
RUN npm run build

FROM node:20-alpine
FROM node:20
COPY --from=BACKEND_BUILD_IMAGE /app/backend/package.json /app/backend/swagger.json /app/backend/
COPY --from=BACKEND_BUILD_IMAGE /app/backend/dist /app/backend/dist
COPY --from=BACKEND_BUILD_IMAGE /app/backend/node_modules /app/backend/node_modules
Expand Down
116 changes: 58 additions & 58 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@
"start": "node ./dist/backend/src/index.js"
},
"dependencies": {
"@tsoa/runtime": "^6.3.0",
"@tsoa/runtime": "^6.4.0",
"express": "^4.19.2",
"short-uuid": "^5.2.0",
"steamid": "^2.0.0",
"typed-emitter": "^2.1.0",
"ws": "^8.17.1"
"ws": "^8.18.0"
},
"devDependencies": {
"@tsoa/cli": "^6.3.1",
"@tsoa/cli": "^6.4.0",
"@types/debug": "^4.1.12",
"@types/express": "^4.17.21",
"@types/node": "^20.14.8",
"@types/node": "^22.1.0",
"@types/steamid": "^2.0.3",
"@types/ws": "^8.5.10",
"@types/ws": "^8.5.12",
"nodemon": "^3.1.4",
"ts-node": "^10.9.2",
"typescript": "^5.5.2"
"typescript": "^5.5.4"
}
}
1 change: 1 addition & 0 deletions backend/src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1192,6 +1192,7 @@ export function RegisterRoutes(app: Router) {
// NOTE: If you do not see routes for all of your controllers in this file, then you might not have informed tsoa of where to look
// Please look into the "controllerPathGlobs" config option described in the readme: https://github.com/lukeautry/tsoa
// ###########################################################################################################

app.post(
'/api/login',
authenticateMiddleware([{ bearer_token: [] }]),
Expand Down
Loading

0 comments on commit e8a2b30

Please sign in to comment.