upgrade deps (#6)

This commit is contained in:
JannikStreek 2023-12-30 16:49:13 +01:00 committed by GitHub
parent 3595636451
commit 3e23f40bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9470 additions and 6118 deletions

View File

@ -1,4 +1,4 @@
FROM node:18-bullseye-slim as base FROM node:20-bullseye-slim as base
RUN apt-get update && apt-get install -y make g++ python3 RUN apt-get update && apt-get install -y make g++ python3
RUN ln -sf /usr/bin/python3 /usr/bin/python RUN ln -sf /usr/bin/python3 /usr/bin/python

View File

@ -4,7 +4,7 @@ services:
excalidraw-storage-backend: excalidraw-storage-backend:
build: build:
context: . context: .
target: production target: development
tty: true tty: true
stdin_open: true stdin_open: true
ports: ports:
@ -14,7 +14,7 @@ services:
volumes: volumes:
- .:/home/node/app - .:/home/node/app
postgres: postgres:
image: postgres:12-alpine image: postgres:15-alpine
# Pass config parameters to the postgres server. # Pass config parameters to the postgres server.
# Find more information below when you need to generate the ssl-relevant file your self # Find more information below when you need to generate the ssl-relevant file your self
# command: -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key # command: -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key

15513
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -21,40 +21,41 @@
"test:e2e": "jest --config ./test/jest-e2e.json" "test:e2e": "jest --config ./test/jest-e2e.json"
}, },
"dependencies": { "dependencies": {
"@keyv/postgres": "^1.0.17", "@keyv/postgres": "^1.4.9",
"@keyv/redis": "^2.2.0", "@keyv/redis": "^2.8.1",
"@nestjs/common": "^8.0.0", "@nestjs/common": "^10.3.0",
"@nestjs/core": "^8.0.0", "@nestjs/core": "^10.3.0",
"@nestjs/platform-express": "^8.0.0", "@nestjs/platform-express": "^10.3.0",
"@types/keyv": "^3.1.3", "@types/keyv": "^3.1.4",
"keyv": "^4.0.4", "keyv": "^4.5.4",
"nanoid": "^3.1.25", "nanoid": "^3.3.6",
"reflect-metadata": "^0.1.13", "npm-check-updates": "^16.14.12",
"rimraf": "^3.0.2", "reflect-metadata": "^0.1.12",
"rxjs": "^7.2.0" "rimraf": "^5.0.5",
"rxjs": "^7.8.1"
}, },
"devDependencies": { "devDependencies": {
"@nestjs/cli": "^8.2.8", "@nestjs/cli": "^10.2.1",
"@nestjs/schematics": "^8.0.0", "@nestjs/schematics": "^10.0.3",
"@nestjs/testing": "^8.0.0", "@nestjs/testing": "^10.3.0",
"@types/express": "^4.17.13", "@types/express": "^4.17.21",
"@types/jest": "^27.0.1", "@types/jest": "^29.5.11",
"@types/node": "^16.0.0", "@types/node": "^20.10.6",
"@types/supertest": "^2.0.11", "@types/supertest": "^6.0.2",
"@types/type-is": "^1.6.3", "@types/type-is": "^1.6.6",
"@typescript-eslint/eslint-plugin": "^4.28.2", "@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^4.28.2", "@typescript-eslint/parser": "^6.16.0",
"eslint": "^7.30.0", "eslint": "^8.56.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^3.4.0", "eslint-plugin-prettier": "^5.1.2",
"jest": "^27.0.6", "jest": "^29.7.0",
"prettier": "^2.3.2", "prettier": "^3.1.1",
"supertest": "^6.1.3", "supertest": "^6.3.3",
"ts-jest": "^27.0.3", "ts-jest": "^29.1.1",
"ts-loader": "^9.2.3", "ts-loader": "^9.5.1",
"ts-node": "^10.0.0", "ts-node": "^10.9.2",
"tsconfig-paths": "^3.10.1", "tsconfig-paths": "^4.2.0",
"typescript": "^4.3.5" "typescript": "^5.3.3"
}, },
"jest": { "jest": {
"moduleFileExtensions": [ "moduleFileExtensions": [

View File

@ -10,7 +10,7 @@ import {
Res, Res,
} from '@nestjs/common'; } from '@nestjs/common';
import { Response } from 'express'; import { Response } from 'express';
import { StorageNamespace, StorageService } from 'src/storage/storage.service'; import { StorageNamespace, StorageService } from '../storage/storage.service';
import { Readable } from 'stream'; import { Readable } from 'stream';
@Controller('rooms') @Controller('rooms')

View File

@ -11,7 +11,7 @@ import {
Res, Res,
} from '@nestjs/common'; } from '@nestjs/common';
import { Response } from 'express'; import { Response } from 'express';
import { StorageNamespace, StorageService } from 'src/storage/storage.service'; import { StorageNamespace, StorageService } from '../storage/storage.service';
import { Readable } from 'stream'; import { Readable } from 'stream';
import { customAlphabet } from 'nanoid'; import { customAlphabet } from 'nanoid';