chore: add pnpm workspace configuration for apps and packages
This commit is contained in:
@@ -379,7 +379,7 @@ import {
|
||||
|
||||
@WebSocketGateway({ namespace: 'chat' })
|
||||
export class ChatGateway implements OnGatewayConnection {
|
||||
|
||||
|
||||
@SubscribeMessage(WebSocketEventType.JOIN_CONVERSATION)
|
||||
async handleJoin(
|
||||
@MessageBody() payload: JoinConversationPayload,
|
||||
@@ -496,7 +496,7 @@ export function useChat(conversationId: string) {
|
||||
|
||||
const sendMessage = useCallback((content: string) => {
|
||||
if (!socket) return;
|
||||
|
||||
|
||||
const payload: SendMessagePayload = {
|
||||
conversationId,
|
||||
content,
|
||||
@@ -616,7 +616,7 @@ services:
|
||||
|
||||
```dockerfile
|
||||
# apps/backend/Dockerfile
|
||||
FROM node:20-alpine AS base
|
||||
FROM node:24-alpine AS base
|
||||
RUN npm install -g pnpm
|
||||
|
||||
FROM base AS dependencies
|
||||
|
||||
Reference in New Issue
Block a user