Skip to content

Commit

Permalink
Fix gateway bug and reorganise dependencies (#158)
Browse files Browse the repository at this point in the history
Co-authored-by: Ong Jun Xiong <[email protected]>
Co-authored-by: Charisma Kausar <[email protected]>
Co-authored-by: Charisma Kausar <[email protected]>
Co-authored-by: Gabriel Goh <[email protected]>
Co-authored-by: chunweii <[email protected]>
  • Loading branch information
6 people authored Oct 20, 2023
1 parent 4093f1d commit 3f2ad47
Show file tree
Hide file tree
Showing 15 changed files with 183 additions and 302 deletions.
13 changes: 6 additions & 7 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,11 @@
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
"@tanstack/react-table": "^8.10.4",
"@types/node": "20.6.0",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
"autoprefixer": "10.4.15",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"cmdk": "^0.2.0",
"diff-match-patch": "^1.0.5",
"eslint": "8.49.0",
"eslint-config-next": "13.4.19",
"firebase": "^10.4.0",
"lodash": "^4.17.21",
"lucide-react": "^0.279.0",
Expand All @@ -53,12 +48,16 @@
"tailwindcss": "3.3.3",
"tailwindcss-animate": "^1.0.7",
"twilio-video": "^2.28.1",
"typescript": "5.2.2",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/diff-match-patch": "^1.0.34",
"@types/lodash": "^4.14.199",
"@types/socket.io-client": "^3.0.0"
"@types/react": "^18.2.30",
"@types/react-dom": "^18.2.14",
"@types/socket.io-client": "^3.0.0",
"eslint": "^8.51.0",
"eslint-config-next": "^13.5.6",
"typescript": "^5.2.2"
}
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"@babel/cli": "^7.22.15",
"@babel/core": "^7.22.19",
"@babel/preset-env": "^7.22.15",
"@types/express": "^4.17.20",
"@types/node": "^20.8.7",
"@types/swagger-ui-express": "^4.1.4",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
Expand All @@ -32,6 +34,7 @@
"dependencies": {
"@prisma/client": "^5.4.2",
"dotenv-cli": "^7.3.0",
"express": "^4.18.2",
"swagger-ui-express": "^5.0.0"
}
}
3 changes: 0 additions & 3 deletions services/admin-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@
},
"dependencies": {
"dotenv": "^16.3.1",
"express": "^4.18.2",
"firebase-admin": "^11.10.1"
},
"devDependencies": {
"@types/express": "^4.17.17",
"@types/node": "^20.6.2",
"supertest": "^6.3.3",
"swagger-autogen": "^2.23.6",
"ts-node-dev": "^2.0.0",
Expand Down
1 change: 1 addition & 0 deletions services/admin-service/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"target": "es2016",
"module": "commonjs",
"resolveJsonModule": true,
"rootDir": ".",
"outDir": "./dist",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
Expand Down
4 changes: 0 additions & 4 deletions services/collaboration-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@
"swagger-autogen": "ts-node swagger.ts"
},
"dependencies": {
"@types/express": "^4.17.17",
"body-parser": "^1.20.2",
"cookie-parser": "~1.4.4",
"debug": "~2.6.9",
"diff-match-patch": "^1.0.5",
"express": "~4.16.1",
"express-openapi": "^12.1.3",
"json0-ot-diff": "^1.1.2",
"morgan": "~1.9.1",
Expand All @@ -34,9 +32,7 @@
"@types/cookie-parser": "^1.4.4",
"@types/cors": "^2.8.14",
"@types/diff-match-patch": "^1.0.34",
"@types/express": "^4.17.17",
"@types/morgan": "^1.9.5",
"@types/node": "^20.8.4",
"@types/socket.io": "^3.0.2",
"@types/swagger-ui-express": "^4.1.3",
"@types/uuid": "^9.0.4",
Expand Down
1 change: 1 addition & 0 deletions services/collaboration-service/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"compilerOptions": {
"target": "ES2019",
"module": "commonjs",
"rootDir": ".",
"outDir": "./dist",
"strict": true,
"esModuleInterop": true,
Expand Down
3 changes: 0 additions & 3 deletions services/gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,13 @@
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"firebase-admin": "^11.10.1",
"http-proxy-middleware": "^2.0.6",
"morgan": "^1.10.0"
},
"devDependencies": {
"@types/cors": "^2.8.14",
"@types/express": "^4.17.17",
"@types/morgan": "^1.9.6",
"@types/node": "^20.6.3",
"swagger-autogen": "^2.23.6",
"ts-node-dev": "^2.0.0",
"typescript": "^5.2.2"
Expand Down
1 change: 1 addition & 0 deletions services/gateway/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"compilerOptions": {
"target": "es2016",
"module": "commonjs",
"rootDir": ".",
"outDir": "./dist",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
Expand Down
3 changes: 0 additions & 3 deletions services/matching-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,13 @@
"dependencies": {
"cookie-parser": "~1.4.4",
"debug": "~2.6.9",
"express": "~4.16.1",
"morgan": "~1.9.1",
"socket.io": "^4.7.2"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.4",
"@types/cors": "^2.8.14",
"@types/express": "^4.17.17",
"@types/morgan": "^1.9.5",
"@types/node": "^20.6.2",
"ts-node-dev": "^2.0.0",
"typescript": "^5.2.2"
}
Expand Down
1 change: 1 addition & 0 deletions services/matching-service/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"target": "es2016",
"module": "commonjs",
"resolveJsonModule": true,
"rootDir": ".",
"outDir": "./dist",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
Expand Down
5 changes: 1 addition & 4 deletions services/question-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
"swagger-autogen": "ts-node swagger-doc-gen.ts"
},
"dependencies": {
"cors": "^2.8.5",
"cookie-parser": "~1.4.4",
"cors": "^2.8.5",
"debug": "~2.6.9",
"dotenv": "^16.3.1",
"express": "~4.16.1",
"mongodb": "^6.1.0",
"morgan": "~1.9.1",
"sanitize-html": "^2.11.0",
Expand All @@ -23,9 +22,7 @@
"devDependencies": {
"@types/cookie-parser": "^1.4.4",
"@types/cors": "^2.8.14",
"@types/express": "^4.17.17",
"@types/morgan": "^1.9.5",
"@types/node": "^20.6.2",
"@types/sanitize-html": "^2.9.0",
"@types/swagger-ui-express": "^4.1.4",
"ts-node": "^10.9.1",
Expand Down
1 change: 1 addition & 0 deletions services/question-service/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"target": "es2016",
"module": "commonjs",
"resolveJsonModule": true,
"rootDir": ".",
"outDir": "./dist",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
Expand Down
3 changes: 0 additions & 3 deletions services/user-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,12 @@
"dependencies": {
"cors": "^2.8.5",
"debug": "~2.6.9",
"express": "^4.18.2",
"morgan": "~1.9.1"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.4",
"@types/cors": "^2.8.14",
"@types/express": "^4.17.17",
"@types/morgan": "^1.9.5",
"@types/node": "^20.6.2",
"@types/supertest": "^2.0.12",
"dotenv-cli": "^7.3.0",
"supertest": "^6.3.3",
Expand Down
1 change: 1 addition & 0 deletions services/user-service/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"target": "es2016",
"module": "commonjs",
"resolveJsonModule": true,
"rootDir": ".",
"outDir": "./dist",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
Expand Down
Loading

0 comments on commit 3f2ad47

Please sign in to comment.