Skip to content

Commit 27283a4

Browse files
committed
Pls work for collab now
1 parent 8c099a6 commit 27283a4

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

services/collaboration/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Collaboration service using Yjs, WebSocket, and MongoDB.",
55
"main": "server.js",
66
"scripts": {
7-
"build": "npx tsc",
7+
"clean": "rm -rf dist",
8+
"build": "npm run clean && npx tsc --build src/tsconfig.json",
89
"start": "npm run build && node ./dist/server.js",
910
"dev": "nodemon --files ./src/server.ts",
1011
"lint": "npx eslint .",

services/collaboration/tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
"forceConsistentCasingInFileNames": true,
1111
"moduleResolution": "node",
1212
"allowJs": true,
13-
"checkJs": false
13+
"checkJs": false,
14+
"declaration": true,
15+
"declarationMap": false,
16+
"incremental": true,
17+
"composite": true
1418
},
1519
"references": [
1620
{ "path": "./src" },

0 commit comments

Comments
 (0)