diff --git a/app/client/cypress/tsconfig.json b/app/client/cypress/tsconfig.json index f1deb7f4eb..1f987bb084 100644 --- a/app/client/cypress/tsconfig.json +++ b/app/client/cypress/tsconfig.json @@ -35,5 +35,5 @@ "noFallthroughCasesInSwitch": true, "types": ["cypress", "node", "cypress-real-events"] }, - "include": ["/**/*.ts"] + "include": ["/**/*.ts", "../../rts/src/version.js"] } diff --git a/app/rts/src/server.ts b/app/rts/src/server.ts index 90a1cb36db..9c35c2ce30 100644 --- a/app/rts/src/server.ts +++ b/app/rts/src/server.ts @@ -3,7 +3,7 @@ import path from "path"; import express from "express"; import { Server } from "socket.io"; import log, { LogLevelDesc } from "loglevel"; -import { VERSION as buildVersion } from "./constants/version"; // release version of the api +import { VERSION as buildVersion } from "./version"; // release version of the api import { initializeSockets } from "./sockets"; const RTS_BASE_PATH = "/rts"; diff --git a/app/rts/src/sockets/events.ts b/app/rts/src/sockets/events.ts index 61a24a31fa..032c22301d 100644 --- a/app/rts/src/sockets/events.ts +++ b/app/rts/src/sockets/events.ts @@ -8,7 +8,7 @@ import { PAGE_ROOM_PREFIX, ROOT_NAMESPACE, } from "../constants/socket"; -import { VERSION as buildVersion } from "../constants/version"; +import { VERSION as buildVersion } from "../version"; import { subscribeToEditEvents, onAppSocketConnected, diff --git a/app/rts/src/constants/version.ts b/app/rts/src/version.js similarity index 100% rename from app/rts/src/constants/version.ts rename to app/rts/src/version.js