fix: rts version file moved to src (#15963)

This commit is contained in:
Aman Agarwal 2022-08-12 21:10:50 +05:30 committed by GitHub
parent d39cecbbb4
commit ba9281cf77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 3 deletions

View File

@ -35,5 +35,5 @@
"noFallthroughCasesInSwitch": true,
"types": ["cypress", "node", "cypress-real-events"]
},
"include": ["/**/*.ts"]
"include": ["/**/*.ts", "../../rts/src/version.js"]
}

View File

@ -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";

View File

@ -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,