File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 4
4
"main" : " server.ts" ,
5
5
"type" : " module" ,
6
6
"scripts" : {
7
- "start" : " tsx server.ts" ,
8
- "dev" : " tsx watch server.ts" ,
7
+ "start" : " tsx src/ server.ts" ,
8
+ "dev" : " tsx watch src/ server.ts" ,
9
9
"test" : " cross-env NODE_ENV=test && jest" ,
10
10
"test:watch" : " cross-env NODE_ENV=test && jest --watch" ,
11
11
"lint" : " eslint ."
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import yaml from "yaml";
5
5
import swaggerUi from "swagger-ui-express" ;
6
6
import cors from "cors" ;
7
7
8
- import collabRoutes from "./src/ routes/collabRoutes.ts" ;
8
+ import collabRoutes from "./routes/collabRoutes.ts" ;
9
9
10
10
dotenv . config ( ) ;
11
11
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
import { Socket } from "socket.io" ;
2
- import { io } from "../../ server" ;
3
- import redisClient from "../../ config/redis" ;
2
+ import { io } from "../server" ;
3
+ import redisClient from "../config/redis" ;
4
4
5
5
enum CollabEvents {
6
6
// Receive
Original file line number Diff line number Diff line change 1
1
import http from "http" ;
2
2
import app , { allowedOrigins } from "./app.ts" ;
3
- import { handleWebsocketCollabEvents } from "./src/ handlers/websocketHandler" ;
3
+ import { handleWebsocketCollabEvents } from "./handlers/websocketHandler.ts " ;
4
4
import { Server } from "socket.io" ;
5
5
import { connectRedis } from "./config/redis.ts" ;
6
6
You can’t perform that action at this time.
0 commit comments