refactor: rename scope to @ccms

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-05-03 00:14:47 +08:00
parent 87f197fe06
commit 0584ec9d85
72 changed files with 214 additions and 262 deletions

View File

@ -1,4 +1,4 @@
/// <reference types="@ms/nashorn" />
/// <reference types="@ccms/nashorn" />
import { Server, ServerOptions } from './socket-io'
@ -41,6 +41,6 @@ type SocketStatic = SocketIOStatic & { Instance?: symbol }
let io: SocketStatic = function (pipeline: any, options: ServerOptions) {
return new Server(pipeline, options)
}
io.Instance = Symbol("@ms/websocket")
io.Instance = Symbol("@ccms/websocket")
export default io
export * from './socket-io'