Skip to content

Commit

Permalink
Pls work for collab now
Browse files Browse the repository at this point in the history
  • Loading branch information
LimZiJia committed Nov 13, 2024
1 parent 8c099a6 commit 27283a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion services/collaboration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Collaboration service using Yjs, WebSocket, and MongoDB.",
"main": "server.js",
"scripts": {
"build": "npx tsc",
"clean": "rm -rf dist",
"build": "npm run clean && npx tsc --build src/tsconfig.json",
"start": "npm run build && node ./dist/server.js",
"dev": "nodemon --files ./src/server.ts",
"lint": "npx eslint .",
Expand Down
6 changes: 5 additions & 1 deletion services/collaboration/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"allowJs": true,
"checkJs": false
"checkJs": false,
"declaration": true,
"declarationMap": false,
"incremental": true,
"composite": true
},
"references": [
{ "path": "./src" },
Expand Down

0 comments on commit 27283a4

Please sign in to comment.