refactor: update LiveKit integration and clean up unused services

- Changed the base image in Dockerfile to use a lighter node:alpine version.
- Removed unused dependencies from package-lock.json and package.json, including @turbodocx/html-to-docx and jsdom.
- Simplified LiveKit module by removing unnecessary services (LiveKitParticipantService, LiveKitRoomService) and adjusting related schemas and services for better maintainability.
- Updated CollaborationSessionSchema to streamline access token creation and room management.
- Commented out unused imports and services in various modules to enhance code clarity and reduce complexity.
This commit is contained in:
2024-12-02 17:29:07 +07:00
parent 174290c9fb
commit b10d0cdde7
13 changed files with 444 additions and 2656 deletions

View File

@@ -66,7 +66,6 @@
"@prisma/client": "^5.21.1",
"@smatch-corp/nestjs-pothos": "^0.3.0",
"@smatch-corp/nestjs-pothos-apollo-driver": "^0.1.0",
"@turbodocx/html-to-docx": "^1.10.0",
"apollo-server-express": "^3.13.0",
"axios": "^1.7.7",
"bcryptjs": "^2.4.3",
@@ -81,7 +80,6 @@
"graphql-upload": "15.0.2",
"graphql-ws": "^5.16.0",
"ioredis": "^5.4.1",
"jsdom": "^25.0.1",
"jsonwebtoken": "^9.0.2",
"livekit-server-sdk": "^2.7.3",
"luxon": "^3.5.0",
@@ -94,24 +92,22 @@
"reflect-metadata": "^0.2.0",
"rxjs": "^7.8.1",
"swagger-ui-express": "^5.0.1",
"tsimportlib": "^0.0.5",
"type-graphql": "^2.0.0-rc.2",
"yjs": "^13.6.20",
"zod": "^3.23.8"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "^1.9.4",
"@clerk/types": "^4.23.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.12.0",
"@faker-js/faker": "^9.0.3",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/client-preset": "^4.4.0",
"@graphql-codegen/typescript": "4.0.9",
"@graphql-codegen/typescript-resolvers": "4.2.1",
"@nestjs/cli": "^10.0.0",
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.0.0",
"@stylistic/eslint-plugin-js": "^2.9.0",
"@nestjs/cli": "^10.4.8",
"@nestjs/schematics": "^10.2.3",
"@nestjs/testing": "^10.4.12",
"@swc/cli": "^0.5.1",
"@swc/core": "^1.9.3",
"@types/bcryptjs": "^2.4.6",
@@ -125,11 +121,6 @@
"@types/supertest": "^6.0.0",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.5.12",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "9.11.1",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"globals": "^15.10.0",
"jest": "^29.5.0",
"prettier": "^3.0.0",