From e197b2842ad4b5130b7b4eb640d1e3eb11ea814a Mon Sep 17 00:00:00 2001 From: k8w Date: Tue, 19 Apr 2022 16:05:40 +0800 Subject: [PATCH] new protocols --- .../cocos-room-cluster/backend/package.json | 4 +- .../api/hallServer-roomManager/ApiRegister.ts | 7 - .../roomServer/ApiCreateRoom.ts | 7 - .../roomServer/ApiPreJoinRoom.ts | 7 - .../src/api/hallServer/ApiCreateRoom.ts | 7 - .../src/api/hallServer/ApiListRooms.ts | 7 - .../src/api/hallServer/ApiStartMatch.ts | 7 - .../backend/src/api/roomServer/ApiExitRoom.ts | 7 - .../backend/src/api/roomServer/ApiJoinRoom.ts | 7 - .../src/api/roomServer/ApiUpdateRoomInfo.ts | 7 - .../src/server_rpc/serviceProto_hallServer.ts | 188 +++ .../src/server_rpc/serviceProto_roomServer.ts | 252 ++++ .../backend/src/shared/protocols/base.ts | 6 +- .../shared/protocols/hallServer/PtlLogin.ts | 9 + .../protocols/roomServer/admin/PtlAuth.ts | 9 + .../src/shared/protocols/serviceProto.ts | 376 ----- .../protocols/serviceProto_hallServer.ts | 154 ++ .../protocols/serviceProto_roomServer.ts | 157 ++ .../backend/tsrpc.config.ts | 31 +- examples/cocos-room-cluster/backend/yarn.lock | 1283 ----------------- 20 files changed, 803 insertions(+), 1729 deletions(-) delete mode 100644 examples/cocos-room-cluster/backend/src/api/hallServer-roomManager/ApiRegister.ts delete mode 100644 examples/cocos-room-cluster/backend/src/api/hallServer-roomManager/roomServer/ApiCreateRoom.ts delete mode 100644 examples/cocos-room-cluster/backend/src/api/hallServer-roomManager/roomServer/ApiPreJoinRoom.ts delete mode 100644 examples/cocos-room-cluster/backend/src/api/hallServer/ApiCreateRoom.ts delete mode 100644 examples/cocos-room-cluster/backend/src/api/hallServer/ApiListRooms.ts delete mode 100644 examples/cocos-room-cluster/backend/src/api/hallServer/ApiStartMatch.ts delete mode 100644 examples/cocos-room-cluster/backend/src/api/roomServer/ApiExitRoom.ts delete mode 100644 examples/cocos-room-cluster/backend/src/api/roomServer/ApiJoinRoom.ts delete mode 100644 examples/cocos-room-cluster/backend/src/api/roomServer/ApiUpdateRoomInfo.ts create mode 100644 examples/cocos-room-cluster/backend/src/server_rpc/serviceProto_hallServer.ts create mode 100644 examples/cocos-room-cluster/backend/src/server_rpc/serviceProto_roomServer.ts delete mode 100644 examples/cocos-room-cluster/backend/src/shared/protocols/serviceProto.ts create mode 100644 examples/cocos-room-cluster/backend/src/shared/protocols/serviceProto_hallServer.ts create mode 100644 examples/cocos-room-cluster/backend/src/shared/protocols/serviceProto_roomServer.ts delete mode 100644 examples/cocos-room-cluster/backend/yarn.lock diff --git a/examples/cocos-room-cluster/backend/package.json b/examples/cocos-room-cluster/backend/package.json index 87ebd34..33d88bd 100644 --- a/examples/cocos-room-cluster/backend/package.json +++ b/examples/cocos-room-cluster/backend/package.json @@ -5,6 +5,8 @@ "private": true, "scripts": { "dev": "tsrpc-cli dev", + "dev:hall": "tsrpc-cli dev --entry src/hallServer.ts", + "dev:room": "tsrpc-cli dev --entry src/roomServer.ts", "build": "tsrpc-cli build", "doc": "tsrpc-cli doc", "test": "mocha test/**/*.test.ts", @@ -24,4 +26,4 @@ "dependencies": { "tsrpc": "^3.3.0" } -} +} \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/api/hallServer-roomManager/ApiRegister.ts b/examples/cocos-room-cluster/backend/src/api/hallServer-roomManager/ApiRegister.ts deleted file mode 100644 index 19b60c1..0000000 --- a/examples/cocos-room-cluster/backend/src/api/hallServer-roomManager/ApiRegister.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ApiCall } from "tsrpc"; -import { ReqRegister, ResRegister } from "../../shared/protocols/hallServer/admin/PtlRegisterRoomServer"; - -export async function ApiRegister(call: ApiCall) { - // TODO - call.error('API Not Implemented'); -} \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/api/hallServer-roomManager/roomServer/ApiCreateRoom.ts b/examples/cocos-room-cluster/backend/src/api/hallServer-roomManager/roomServer/ApiCreateRoom.ts deleted file mode 100644 index aca5d15..0000000 --- a/examples/cocos-room-cluster/backend/src/api/hallServer-roomManager/roomServer/ApiCreateRoom.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ApiCall } from "tsrpc"; -import { ReqCreateRoom, ResCreateRoom } from "../../../shared/protocols/hallServer-roomManager/roomServer/PtlCreateRoom"; - -export async function ApiCreateRoom(call: ApiCall) { - // TODO - call.error('API Not Implemented'); -} \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/api/hallServer-roomManager/roomServer/ApiPreJoinRoom.ts b/examples/cocos-room-cluster/backend/src/api/hallServer-roomManager/roomServer/ApiPreJoinRoom.ts deleted file mode 100644 index 8758f3a..0000000 --- a/examples/cocos-room-cluster/backend/src/api/hallServer-roomManager/roomServer/ApiPreJoinRoom.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ApiCall } from "tsrpc"; -import { ReqPreJoinRoom, ResPreJoinRoom } from "../../../shared/protocols/hallServer-roomManager/roomServer/PtlPreJoinRoom"; - -export async function ApiPreJoinRoom(call: ApiCall) { - // TODO - call.error('API Not Implemented'); -} \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/api/hallServer/ApiCreateRoom.ts b/examples/cocos-room-cluster/backend/src/api/hallServer/ApiCreateRoom.ts deleted file mode 100644 index 679d82a..0000000 --- a/examples/cocos-room-cluster/backend/src/api/hallServer/ApiCreateRoom.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ApiCall } from "tsrpc"; -import { ReqCreateRoom, ResCreateRoom } from "../../shared/protocols/hallServer/PtlCreateRoom"; - -export async function ApiCreateRoom(call: ApiCall) { - // TODO - call.error('API Not Implemented'); -} \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/api/hallServer/ApiListRooms.ts b/examples/cocos-room-cluster/backend/src/api/hallServer/ApiListRooms.ts deleted file mode 100644 index a4a94bf..0000000 --- a/examples/cocos-room-cluster/backend/src/api/hallServer/ApiListRooms.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ApiCall } from "tsrpc"; -import { ReqListRooms, ResListRooms } from "../../shared/protocols/hallServer/PtlListRooms"; - -export async function ApiListRooms(call: ApiCall) { - // TODO - call.error('API Not Implemented'); -} \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/api/hallServer/ApiStartMatch.ts b/examples/cocos-room-cluster/backend/src/api/hallServer/ApiStartMatch.ts deleted file mode 100644 index a42b165..0000000 --- a/examples/cocos-room-cluster/backend/src/api/hallServer/ApiStartMatch.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ApiCall } from "tsrpc"; -import { ReqStartMatch, ResStartMatch } from "../../shared/protocols/hallServer/PtlStartMatch"; - -export async function ApiStartMatch(call: ApiCall) { - // TODO - call.error('API Not Implemented'); -} \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/api/roomServer/ApiExitRoom.ts b/examples/cocos-room-cluster/backend/src/api/roomServer/ApiExitRoom.ts deleted file mode 100644 index b32e0bd..0000000 --- a/examples/cocos-room-cluster/backend/src/api/roomServer/ApiExitRoom.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ApiCall } from "tsrpc"; -import { ReqExitRoom, ResExitRoom } from "../../shared/protocols/roomServer/PtlExitRoom"; - -export async function ApiExitRoom(call: ApiCall) { - // TODO - call.error('API Not Implemented'); -} \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/api/roomServer/ApiJoinRoom.ts b/examples/cocos-room-cluster/backend/src/api/roomServer/ApiJoinRoom.ts deleted file mode 100644 index d74df22..0000000 --- a/examples/cocos-room-cluster/backend/src/api/roomServer/ApiJoinRoom.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ApiCall } from "tsrpc"; -import { ReqJoinRoom, ResJoinRoom } from "../../shared/protocols/roomServer/PtlJoinRoom"; - -export async function ApiJoinRoom(call: ApiCall) { - // TODO - call.error('API Not Implemented'); -} \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/api/roomServer/ApiUpdateRoomInfo.ts b/examples/cocos-room-cluster/backend/src/api/roomServer/ApiUpdateRoomInfo.ts deleted file mode 100644 index f25af08..0000000 --- a/examples/cocos-room-cluster/backend/src/api/roomServer/ApiUpdateRoomInfo.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { ApiCall } from "tsrpc"; -import { ReqUpdateRoomInfo, ResUpdateRoomInfo } from "../../shared/protocols/roomServer/PtlUpdateRoom"; - -export async function ApiUpdateRoomInfo(call: ApiCall) { - // TODO - call.error('API Not Implemented'); -} \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/server_rpc/serviceProto_hallServer.ts b/examples/cocos-room-cluster/backend/src/server_rpc/serviceProto_hallServer.ts new file mode 100644 index 0000000..afdb60e --- /dev/null +++ b/examples/cocos-room-cluster/backend/src/server_rpc/serviceProto_hallServer.ts @@ -0,0 +1,188 @@ +import { ServiceProto } from 'tsrpc-proto'; +import { ReqRegisterRoomServer, ResRegisterRoomServer } from '../shared/protocols/hallServer/admin/PtlRegisterRoomServer'; +import { ReqCreateRoom, ResCreateRoom } from '../shared/protocols/hallServer/PtlCreateRoom'; +import { ReqListRooms, ResListRooms } from '../shared/protocols/hallServer/PtlListRooms'; +import { ReqLogin, ResLogin } from '../shared/protocols/hallServer/PtlLogin'; +import { ReqStartMatch, ResStartMatch } from '../shared/protocols/hallServer/PtlStartMatch'; + +export interface ServiceType { + api: { + "admin/RegisterRoomServer": { + req: ReqRegisterRoomServer, + res: ResRegisterRoomServer + }, + "CreateRoom": { + req: ReqCreateRoom, + res: ResCreateRoom + }, + "ListRooms": { + req: ReqListRooms, + res: ResListRooms + }, + "Login": { + req: ReqLogin, + res: ResLogin + }, + "StartMatch": { + req: ReqStartMatch, + res: ResStartMatch + } + }, + msg: { + + } +} + +export const serviceProto: ServiceProto = { + "services": [ + { + "id": 0, + "name": "admin/RegisterRoomServer", + "type": "api", + "conf": {} + }, + { + "id": 1, + "name": "CreateRoom", + "type": "api", + "conf": {} + }, + { + "id": 2, + "name": "ListRooms", + "type": "api", + "conf": {} + }, + { + "id": 3, + "name": "Login", + "type": "api" + }, + { + "id": 4, + "name": "StartMatch", + "type": "api", + "conf": {} + } + ], + "types": { + "admin/PtlRegisterRoomServer/ReqRegisterRoomServer": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "../base/BaseRequest": { + "type": "Interface", + "properties": [ + { + "id": 0, + "name": "sso", + "type": { + "type": "String" + }, + "optional": true + } + ] + }, + "admin/PtlRegisterRoomServer/ResRegisterRoomServer": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + }, + "../base/BaseResponse": { + "type": "Interface" + }, + "PtlCreateRoom/ReqCreateRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "PtlCreateRoom/ResCreateRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + }, + "PtlListRooms/ReqListRooms": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "PtlListRooms/ResListRooms": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + }, + "PtlLogin/ReqLogin": { + "type": "Interface" + }, + "PtlLogin/ResLogin": { + "type": "Interface" + }, + "PtlStartMatch/ReqStartMatch": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "PtlStartMatch/ResStartMatch": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + } + } +}; \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/server_rpc/serviceProto_roomServer.ts b/examples/cocos-room-cluster/backend/src/server_rpc/serviceProto_roomServer.ts new file mode 100644 index 0000000..812048d --- /dev/null +++ b/examples/cocos-room-cluster/backend/src/server_rpc/serviceProto_roomServer.ts @@ -0,0 +1,252 @@ +import { ServiceProto } from 'tsrpc-proto'; +import { MsgUpdateRoomState } from '../shared/protocols/roomServer/admin/MsgUpdateRoomState'; +import { ReqAuth, ResAuth } from '../shared/protocols/roomServer/admin/PtlAuth'; +import { ReqCreateRoom, ResCreateRoom } from '../shared/protocols/roomServer/admin/PtlCreateRoom'; +import { ReqPreJoinRoom, ResPreJoinRoom } from '../shared/protocols/roomServer/admin/PtlPreJoinRoom'; +import { ReqExitRoom, ResExitRoom } from '../shared/protocols/roomServer/PtlExitRoom'; +import { ReqJoinRoom, ResJoinRoom } from '../shared/protocols/roomServer/PtlJoinRoom'; +import { ReqUpdateRoom, ResUpdateRoom } from '../shared/protocols/roomServer/PtlUpdateRoom'; +import { MsgChat } from '../shared/protocols/roomServer/roomMsg/MsgChat'; +import { MsgUpdateRoomInfo } from '../shared/protocols/roomServer/roomMsg/MsgUpdateRoomInfo'; + +export interface ServiceType { + api: { + "admin/Auth": { + req: ReqAuth, + res: ResAuth + }, + "admin/CreateRoom": { + req: ReqCreateRoom, + res: ResCreateRoom + }, + "admin/PreJoinRoom": { + req: ReqPreJoinRoom, + res: ResPreJoinRoom + }, + "ExitRoom": { + req: ReqExitRoom, + res: ResExitRoom + }, + "JoinRoom": { + req: ReqJoinRoom, + res: ResJoinRoom + }, + "UpdateRoom": { + req: ReqUpdateRoom, + res: ResUpdateRoom + } + }, + msg: { + "admin/UpdateRoomState": MsgUpdateRoomState, + "roomMsg/Chat": MsgChat, + "roomMsg/UpdateRoomInfo": MsgUpdateRoomInfo + } +} + +export const serviceProto: ServiceProto = { + "services": [ + { + "id": 0, + "name": "admin/UpdateRoomState", + "type": "msg" + }, + { + "id": 1, + "name": "admin/Auth", + "type": "api" + }, + { + "id": 2, + "name": "admin/CreateRoom", + "type": "api", + "conf": {} + }, + { + "id": 3, + "name": "admin/PreJoinRoom", + "type": "api", + "conf": {} + }, + { + "id": 4, + "name": "ExitRoom", + "type": "api", + "conf": {} + }, + { + "id": 5, + "name": "JoinRoom", + "type": "api", + "conf": {} + }, + { + "id": 6, + "name": "UpdateRoom", + "type": "api", + "conf": {} + }, + { + "id": 7, + "name": "roomMsg/Chat", + "type": "msg" + }, + { + "id": 8, + "name": "roomMsg/UpdateRoomInfo", + "type": "msg" + } + ], + "types": { + "admin/MsgUpdateRoomState/MsgUpdateRoomState": { + "type": "Interface" + }, + "admin/PtlAuth/ReqAuth": { + "type": "Interface" + }, + "admin/PtlAuth/ResAuth": { + "type": "Interface" + }, + "admin/PtlCreateRoom/ReqCreateRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "../base/BaseRequest": { + "type": "Interface", + "properties": [ + { + "id": 0, + "name": "sso", + "type": { + "type": "String" + }, + "optional": true + } + ] + }, + "admin/PtlCreateRoom/ResCreateRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + }, + "../base/BaseResponse": { + "type": "Interface" + }, + "admin/PtlPreJoinRoom/ReqPreJoinRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "admin/PtlPreJoinRoom/ResPreJoinRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + }, + "PtlExitRoom/ReqExitRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "PtlExitRoom/ResExitRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + }, + "PtlJoinRoom/ReqJoinRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "PtlJoinRoom/ResJoinRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + }, + "PtlUpdateRoom/ReqUpdateRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "PtlUpdateRoom/ResUpdateRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + }, + "roomMsg/MsgChat/MsgChat": { + "type": "Interface" + }, + "roomMsg/MsgUpdateRoomInfo/MsgUpdateRoomInfo": { + "type": "Interface" + } + } +}; \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/shared/protocols/base.ts b/examples/cocos-room-cluster/backend/src/shared/protocols/base.ts index 33ae947..fc26397 100644 --- a/examples/cocos-room-cluster/backend/src/shared/protocols/base.ts +++ b/examples/cocos-room-cluster/backend/src/shared/protocols/base.ts @@ -8,7 +8,11 @@ export interface BaseResponse { } export interface BaseConf { - + /** + * 此接口是否允许为登录用户调用 + * @defaultValue false + */ + allowGuest?: boolean } export interface BaseMessage { diff --git a/examples/cocos-room-cluster/backend/src/shared/protocols/hallServer/PtlLogin.ts b/examples/cocos-room-cluster/backend/src/shared/protocols/hallServer/PtlLogin.ts index e69de29..1abd323 100644 --- a/examples/cocos-room-cluster/backend/src/shared/protocols/hallServer/PtlLogin.ts +++ b/examples/cocos-room-cluster/backend/src/shared/protocols/hallServer/PtlLogin.ts @@ -0,0 +1,9 @@ +export interface ReqLogin { + +} + +export interface ResLogin { + +} + +// export const conf = {} \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/shared/protocols/roomServer/admin/PtlAuth.ts b/examples/cocos-room-cluster/backend/src/shared/protocols/roomServer/admin/PtlAuth.ts index e69de29..8d9dc63 100644 --- a/examples/cocos-room-cluster/backend/src/shared/protocols/roomServer/admin/PtlAuth.ts +++ b/examples/cocos-room-cluster/backend/src/shared/protocols/roomServer/admin/PtlAuth.ts @@ -0,0 +1,9 @@ +export interface ReqAuth { + +} + +export interface ResAuth { + +} + +// export const conf = {} \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/shared/protocols/serviceProto.ts b/examples/cocos-room-cluster/backend/src/shared/protocols/serviceProto.ts deleted file mode 100644 index 3299f7e..0000000 --- a/examples/cocos-room-cluster/backend/src/shared/protocols/serviceProto.ts +++ /dev/null @@ -1,376 +0,0 @@ -import { ServiceProto } from 'tsrpc-proto'; -import { ReqRegister, ResRegister } from './hallServer/admin/PtlRegisterRoomServer'; -import { MsgUpdateRoomState } from './roomServer/admin/MsgUpdateRoomState'; -import { ReqCreateRoom, ResCreateRoom } from './hallServer-roomManager/roomServer/PtlCreateRoom'; -import { ReqPreJoinRoom, ResPreJoinRoom } from './hallServer-roomManager/roomServer/PtlPreJoinRoom'; -import { ReqCreateRoom as ReqCreateRoom_1, ResCreateRoom as ResCreateRoom_1 } from './hallServer/PtlCreateRoom'; -import { ReqListRooms, ResListRooms } from './hallServer/PtlListRooms'; -import { ReqStartMatch, ResStartMatch } from './hallServer/PtlStartMatch'; -import { ReqExitRoom, ResExitRoom } from './roomServer/PtlExitRoom'; -import { ReqJoinRoom, ResJoinRoom } from './roomServer/PtlJoinRoom'; -import { ReqUpdateRoomInfo, ResUpdateRoomInfo } from './roomServer/PtlUpdateRoom'; -import { MsgChat } from './roomServer/roomMsg/MsgChat'; -import { MsgUpdateRoomInfo } from './roomServer/roomMsg/MsgUpdateRoomInfo'; - -export interface ServiceType { - api: { - "hallServer-roomManager/Register": { - req: ReqRegister, - res: ResRegister - }, - "hallServer-roomManager/roomServer/CreateRoom": { - req: ReqCreateRoom, - res: ResCreateRoom - }, - "hallServer-roomManager/roomServer/PreJoinRoom": { - req: ReqPreJoinRoom, - res: ResPreJoinRoom - }, - "hallServer/CreateRoom": { - req: ReqCreateRoom_1, - res: ResCreateRoom_1 - }, - "hallServer/ListRooms": { - req: ReqListRooms, - res: ResListRooms - }, - "hallServer/StartMatch": { - req: ReqStartMatch, - res: ResStartMatch - }, - "roomServer/ExitRoom": { - req: ReqExitRoom, - res: ResExitRoom - }, - "roomServer/JoinRoom": { - req: ReqJoinRoom, - res: ResJoinRoom - }, - "roomServer/UpdateRoomInfo": { - req: ReqUpdateRoomInfo, - res: ResUpdateRoomInfo - } - }, - msg: { - "hallServer-roomManager/roomServer/UpdateRoomState": MsgUpdateRoomState, - "roomServer/roomMsg/Chat": MsgChat, - "roomServer/roomMsg/UpdateRoomInfo": MsgUpdateRoomInfo - } -} - -export const serviceProto: ServiceProto = { - "services": [ - { - "id": 0, - "name": "hallServer-roomManager/Register", - "type": "api", - "conf": {} - }, - { - "id": 1, - "name": "hallServer-roomManager/roomServer/UpdateRoomState", - "type": "msg" - }, - { - "id": 2, - "name": "hallServer-roomManager/roomServer/CreateRoom", - "type": "api", - "conf": {} - }, - { - "id": 3, - "name": "hallServer-roomManager/roomServer/PreJoinRoom", - "type": "api", - "conf": {} - }, - { - "id": 4, - "name": "hallServer/CreateRoom", - "type": "api", - "conf": {} - }, - { - "id": 5, - "name": "hallServer/ListRooms", - "type": "api", - "conf": {} - }, - { - "id": 6, - "name": "hallServer/StartMatch", - "type": "api", - "conf": {} - }, - { - "id": 7, - "name": "roomServer/ExitRoom", - "type": "api", - "conf": {} - }, - { - "id": 8, - "name": "roomServer/JoinRoom", - "type": "api", - "conf": {} - }, - { - "id": 9, - "name": "roomServer/UpdateRoomInfo", - "type": "api", - "conf": {} - }, - { - "id": 10, - "name": "roomServer/roomMsg/Chat", - "type": "msg" - }, - { - "id": 11, - "name": "roomServer/roomMsg/UpdateRoomInfo", - "type": "msg" - } - ], - "types": { - "hallServer-roomManager/PtlRegister/ReqRegister": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseRequest" - } - } - ] - }, - "base/BaseRequest": { - "type": "Interface", - "properties": [ - { - "id": 0, - "name": "sso", - "type": { - "type": "String" - }, - "optional": true - } - ] - }, - "hallServer-roomManager/PtlRegister/ResRegister": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseResponse" - } - } - ] - }, - "base/BaseResponse": { - "type": "Interface" - }, - "hallServer-roomManager/roomServer/MsgUpdateRoomState/MsgUpdateRoomState": { - "type": "Interface" - }, - "hallServer-roomManager/roomServer/PtlCreateRoom/ReqCreateRoom": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseRequest" - } - } - ] - }, - "hallServer-roomManager/roomServer/PtlCreateRoom/ResCreateRoom": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseResponse" - } - } - ] - }, - "hallServer-roomManager/roomServer/PtlPreJoinRoom/ReqPreJoinRoom": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseRequest" - } - } - ] - }, - "hallServer-roomManager/roomServer/PtlPreJoinRoom/ResPreJoinRoom": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseResponse" - } - } - ] - }, - "hallServer/PtlCreateRoom/ReqCreateRoom": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseRequest" - } - } - ] - }, - "hallServer/PtlCreateRoom/ResCreateRoom": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseResponse" - } - } - ] - }, - "hallServer/PtlListRooms/ReqListRooms": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseRequest" - } - } - ] - }, - "hallServer/PtlListRooms/ResListRooms": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseResponse" - } - } - ] - }, - "hallServer/PtlStartMatch/ReqStartMatch": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseRequest" - } - } - ] - }, - "hallServer/PtlStartMatch/ResStartMatch": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseResponse" - } - } - ] - }, - "roomServer/PtlExitRoom/ReqExitRoom": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseRequest" - } - } - ] - }, - "roomServer/PtlExitRoom/ResExitRoom": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseResponse" - } - } - ] - }, - "roomServer/PtlJoinRoom/ReqJoinRoom": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseRequest" - } - } - ] - }, - "roomServer/PtlJoinRoom/ResJoinRoom": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseResponse" - } - } - ] - }, - "roomServer/PtlUpdateRoomInfo/ReqUpdateRoomInfo": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseRequest" - } - } - ] - }, - "roomServer/PtlUpdateRoomInfo/ResUpdateRoomInfo": { - "type": "Interface", - "extends": [ - { - "id": 0, - "type": { - "type": "Reference", - "target": "base/BaseResponse" - } - } - ] - }, - "roomServer/roomMsg/MsgChat/MsgChat": { - "type": "Interface" - }, - "roomServer/roomMsg/MsgUpdateRoomInfo/MsgUpdateRoomInfo": { - "type": "Interface" - } - } -}; \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/shared/protocols/serviceProto_hallServer.ts b/examples/cocos-room-cluster/backend/src/shared/protocols/serviceProto_hallServer.ts new file mode 100644 index 0000000..a1099c1 --- /dev/null +++ b/examples/cocos-room-cluster/backend/src/shared/protocols/serviceProto_hallServer.ts @@ -0,0 +1,154 @@ +import { ServiceProto } from 'tsrpc-proto'; +import { ReqCreateRoom, ResCreateRoom } from './hallServer/PtlCreateRoom'; +import { ReqListRooms, ResListRooms } from './hallServer/PtlListRooms'; +import { ReqLogin, ResLogin } from './hallServer/PtlLogin'; +import { ReqStartMatch, ResStartMatch } from './hallServer/PtlStartMatch'; + +export interface ServiceType { + api: { + "CreateRoom": { + req: ReqCreateRoom, + res: ResCreateRoom + }, + "ListRooms": { + req: ReqListRooms, + res: ResListRooms + }, + "Login": { + req: ReqLogin, + res: ResLogin + }, + "StartMatch": { + req: ReqStartMatch, + res: ResStartMatch + } + }, + msg: { + + } +} + +export const serviceProto: ServiceProto = { + "version": 1, + "services": [ + { + "id": 1, + "name": "CreateRoom", + "type": "api", + "conf": {} + }, + { + "id": 2, + "name": "ListRooms", + "type": "api", + "conf": {} + }, + { + "id": 3, + "name": "Login", + "type": "api" + }, + { + "id": 4, + "name": "StartMatch", + "type": "api", + "conf": {} + } + ], + "types": { + "PtlCreateRoom/ReqCreateRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "../base/BaseRequest": { + "type": "Interface", + "properties": [ + { + "id": 0, + "name": "sso", + "type": { + "type": "String" + }, + "optional": true + } + ] + }, + "PtlCreateRoom/ResCreateRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + }, + "../base/BaseResponse": { + "type": "Interface" + }, + "PtlListRooms/ReqListRooms": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "PtlListRooms/ResListRooms": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + }, + "PtlLogin/ReqLogin": { + "type": "Interface" + }, + "PtlLogin/ResLogin": { + "type": "Interface" + }, + "PtlStartMatch/ReqStartMatch": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "PtlStartMatch/ResStartMatch": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + } + } +}; \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/src/shared/protocols/serviceProto_roomServer.ts b/examples/cocos-room-cluster/backend/src/shared/protocols/serviceProto_roomServer.ts new file mode 100644 index 0000000..75f3d15 --- /dev/null +++ b/examples/cocos-room-cluster/backend/src/shared/protocols/serviceProto_roomServer.ts @@ -0,0 +1,157 @@ +import { ServiceProto } from 'tsrpc-proto'; +import { ReqExitRoom, ResExitRoom } from './roomServer/PtlExitRoom'; +import { ReqJoinRoom, ResJoinRoom } from './roomServer/PtlJoinRoom'; +import { ReqUpdateRoom, ResUpdateRoom } from './roomServer/PtlUpdateRoom'; +import { MsgChat } from './roomServer/roomMsg/MsgChat'; +import { MsgUpdateRoomInfo } from './roomServer/roomMsg/MsgUpdateRoomInfo'; + +export interface ServiceType { + api: { + "ExitRoom": { + req: ReqExitRoom, + res: ResExitRoom + }, + "JoinRoom": { + req: ReqJoinRoom, + res: ResJoinRoom + }, + "UpdateRoom": { + req: ReqUpdateRoom, + res: ResUpdateRoom + } + }, + msg: { + "roomMsg/Chat": MsgChat, + "roomMsg/UpdateRoomInfo": MsgUpdateRoomInfo + } +} + +export const serviceProto: ServiceProto = { + "version": 1, + "services": [ + { + "id": 4, + "name": "ExitRoom", + "type": "api", + "conf": {} + }, + { + "id": 5, + "name": "JoinRoom", + "type": "api", + "conf": {} + }, + { + "id": 6, + "name": "UpdateRoom", + "type": "api", + "conf": {} + }, + { + "id": 7, + "name": "roomMsg/Chat", + "type": "msg" + }, + { + "id": 8, + "name": "roomMsg/UpdateRoomInfo", + "type": "msg" + } + ], + "types": { + "PtlExitRoom/ReqExitRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "../base/BaseRequest": { + "type": "Interface", + "properties": [ + { + "id": 0, + "name": "sso", + "type": { + "type": "String" + }, + "optional": true + } + ] + }, + "PtlExitRoom/ResExitRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + }, + "../base/BaseResponse": { + "type": "Interface" + }, + "PtlJoinRoom/ReqJoinRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "PtlJoinRoom/ResJoinRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + }, + "PtlUpdateRoom/ReqUpdateRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseRequest" + } + } + ] + }, + "PtlUpdateRoom/ResUpdateRoom": { + "type": "Interface", + "extends": [ + { + "id": 0, + "type": { + "type": "Reference", + "target": "../base/BaseResponse" + } + } + ] + }, + "roomMsg/MsgChat/MsgChat": { + "type": "Interface" + }, + "roomMsg/MsgUpdateRoomInfo/MsgUpdateRoomInfo": { + "type": "Interface" + } + } +}; \ No newline at end of file diff --git a/examples/cocos-room-cluster/backend/tsrpc.config.ts b/examples/cocos-room-cluster/backend/tsrpc.config.ts index 0bbf318..b8c7a00 100644 --- a/examples/cocos-room-cluster/backend/tsrpc.config.ts +++ b/examples/cocos-room-cluster/backend/tsrpc.config.ts @@ -3,14 +3,35 @@ import { CodeTemplate, TsrpcConfig } from 'tsrpc-cli'; const tsrpcConf: TsrpcConfig = { // Generate ServiceProto proto: [ + // Proto for user { - ptlDir: 'src/shared/protocols', // Protocol dir - output: 'src/shared/protocols/serviceProto.ts', // Path for generated ServiceProto - apiDir: 'src/api', // API dir - docDir: 'docs', // API documents dir + ptlDir: 'src/shared/protocols/hallServer', // Protocol dir + output: 'src/shared/protocols/serviceProto_hallServer.ts', // Path for generated ServiceProto + ignore: 'src/shared/protocols/hallServer/admin/**' // User proto ignore admin + }, + { + ptlDir: 'src/shared/protocols/roomServer', // Protocol dir + output: 'src/shared/protocols/serviceProto_roomServer.ts', // Path for generated ServiceProto + ignore: 'src/shared/protocols/roomServer/admin/**' // User proto ignore admin + }, + + // Proto for server RPC + { + ptlDir: 'src/shared/protocols/hallServer', // Protocol dir + output: 'src/server_rpc/serviceProto_hallServer.ts', // Path for generated ServiceProto + apiDir: 'src/api/hallServer', // API dir + docDir: 'docs/hallServer', // API documents dir ptlTemplate: CodeTemplate.getExtendedPtl(), // msgTemplate: CodeTemplate.getExtendedMsg(), - } + }, + { + ptlDir: 'src/shared/protocols/roomServer', // Protocol dir + output: 'src/server_rpc/serviceProto_roomServer.ts', // Path for generated ServiceProto + apiDir: 'src/api/roomServer', // API dir + docDir: 'docs/roomServer', // API documents dir + ptlTemplate: CodeTemplate.getExtendedPtl(), + // msgTemplate: CodeTemplate.getExtendedMsg(), + }, ], // Sync shared code sync: [ diff --git a/examples/cocos-room-cluster/backend/yarn.lock b/examples/cocos-room-cluster/backend/yarn.lock deleted file mode 100644 index f49a3ad..0000000 --- a/examples/cocos-room-cluster/backend/yarn.lock +++ /dev/null @@ -1,1283 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@blakeembrey/deque@^1.0.5": - "integrity" "sha1-9PoX/F7hgxfsAadj01V4LHs5Xq8=" - "resolved" "https://registry.npmmirror.com/@blakeembrey/deque/download/@blakeembrey/deque-1.0.5.tgz" - "version" "1.0.5" - -"@blakeembrey/template@^1.0.0": - "integrity" "sha1-v4govDroAE2XkE149k48ws0hZDg=" - "resolved" "https://registry.npmmirror.com/@blakeembrey/template/download/@blakeembrey/template-1.0.0.tgz" - "version" "1.0.0" - -"@cspotcode/source-map-consumer@0.8.0": - "integrity" "sha1-M79LeznBeIIWBvZpu8RHpqYpeGs=" - "resolved" "https://registry.npmmirror.com/@cspotcode/source-map-consumer/download/@cspotcode/source-map-consumer-0.8.0.tgz" - "version" "0.8.0" - -"@cspotcode/source-map-support@0.7.0": - "integrity" "sha1-R4mECqhZ5G0vMXNyercHxmvzRPU=" - "resolved" "https://registry.npmmirror.com/@cspotcode/source-map-support/download/@cspotcode/source-map-support-0.7.0.tgz" - "version" "0.7.0" - dependencies: - "@cspotcode/source-map-consumer" "0.8.0" - -"@tsconfig/node10@^1.0.7": - "integrity" "sha1-weToDW+WT77LM1nEO9SLQPfK2tk=" - "resolved" "https://registry.npmmirror.com/@tsconfig/node10/download/@tsconfig/node10-1.0.8.tgz" - "version" "1.0.8" - -"@tsconfig/node12@^1.0.7": - "integrity" "sha1-YsH23uLr2a6tgNw6+laBDljhoEw=" - "resolved" "https://registry.npmmirror.com/@tsconfig/node12/download/@tsconfig/node12-1.0.9.tgz" - "version" "1.0.9" - -"@tsconfig/node14@^1.0.0": - "integrity" "sha1-lfLRZ/+5uNIGiwsjUwL6/U33EfI=" - "resolved" "https://registry.npmmirror.com/@tsconfig/node14/download/@tsconfig/node14-1.0.1.tgz" - "version" "1.0.1" - -"@tsconfig/node16@^1.0.2": - "integrity" "sha1-Qjx3h30Fadsg4fyAiFrEEYMUAQ4=" - "resolved" "https://registry.npmmirror.com/@tsconfig/node16/download/@tsconfig/node16-1.0.2.tgz" - "version" "1.0.2" - -"@types/mocha@^8.2.3": - "integrity" "sha1-u+tV+8c/KOpt5gH7+kYT9Y14UyM=" - "resolved" "https://registry.npmmirror.com/@types/mocha/download/@types/mocha-8.2.3.tgz?cache=0&sync_timestamp=1637283988208&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2F%40types%2Fmocha%2Fdownload%2F%40types%2Fmocha-8.2.3.tgz" - "version" "8.2.3" - -"@types/node@*", "@types/node@^15.14.9": - "integrity" "sha512-qjd88DrCxupx/kJD5yQgZdcYKZKSIGBVDIBE1/LTGcNm3d2Np/jxojkdePDdfnBHJc5W7vSMpbJ1aB7p/Py69A==" - "resolved" "https://registry.npmmirror.com/@types/node/download/@types/node-15.14.9.tgz" - "version" "15.14.9" - -"@types/ws@^7.4.7": - "integrity" "sha1-98OQo296Bnmqad4tUBMZ9PjZtwI= sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==" - "resolved" "https://registry.npmmirror.com/@types/ws/download/@types/ws-7.4.7.tgz" - "version" "7.4.7" - dependencies: - "@types/node" "*" - -"@ungap/promise-all-settled@1.1.2": - "integrity" "sha1-qlgEJxHW4ydd033Fl+XTHowpCkQ=" - "resolved" "https://registry.npmmirror.com/@ungap/promise-all-settled/download/@ungap/promise-all-settled-1.1.2.tgz" - "version" "1.1.2" - -"acorn-walk@^8.1.1": - "integrity" "sha1-dBIQ8uJCZFRQiFOi9E0KuDt/acE=" - "resolved" "https://registry.npmmirror.com/acorn-walk/download/acorn-walk-8.2.0.tgz" - "version" "8.2.0" - -"acorn@^8.4.1": - "integrity" "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==" - "resolved" "https://registry.npmmirror.com/acorn/download/acorn-8.7.0.tgz" - "version" "8.7.0" - -"ansi-colors@4.1.1": - "integrity" "sha1-y7muJWv3UK8eqzRPIpqif+lLo0g=" - "resolved" "https://registry.npmmirror.com/ansi-colors/download/ansi-colors-4.1.1.tgz" - "version" "4.1.1" - -"ansi-escapes@^4.2.1": - "integrity" "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==" - "resolved" "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz" - "version" "4.3.2" - dependencies: - "type-fest" "^0.21.3" - -"ansi-regex@^5.0.1": - "integrity" "sha1-CCyyyJyf6GWaMRpTvWpNxTAdswQ=" - "resolved" "https://registry.npmmirror.com/ansi-regex/download/ansi-regex-5.0.1.tgz" - "version" "5.0.1" - -"ansi-styles@^4.0.0", "ansi-styles@^4.1.0": - "integrity" "sha1-7dgDYornHATIWuegkG7a00tkiTc=" - "resolved" "https://registry.npmmirror.com/ansi-styles/download/ansi-styles-4.3.0.tgz" - "version" "4.3.0" - dependencies: - "color-convert" "^2.0.1" - -"anymatch@~3.1.2": - "integrity" "sha1-wFV8CWrzLxBhmPT04qODU343hxY=" - "resolved" "https://registry.npmmirror.com/anymatch/download/anymatch-3.1.2.tgz" - "version" "3.1.2" - dependencies: - "normalize-path" "^3.0.0" - "picomatch" "^2.0.4" - -"arg@^4.1.0", "arg@^4.1.3": - "integrity" "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==" - "resolved" "https://registry.npmmirror.com/arg/download/arg-4.1.3.tgz" - "version" "4.1.3" - -"argparse@^2.0.1": - "integrity" "sha1-JG9Q88p4oyQPbJl+ipvR6sSeSzg=" - "resolved" "https://registry.npmmirror.com/argparse/download/argparse-2.0.1.tgz" - "version" "2.0.1" - -"balanced-match@^1.0.0": - "integrity" "sha1-6D46fj8wCzTLnYf2FfoMvzV2kO4=" - "resolved" "https://registry.npmmirror.com/balanced-match/download/balanced-match-1.0.2.tgz" - "version" "1.0.2" - -"base64-js@^1.3.1": - "integrity" "sha1-GxtEAWClv3rUC2UPCVljSBkDkwo=" - "resolved" "https://registry.npmmirror.com/base64-js/download/base64-js-1.5.1.tgz" - "version" "1.5.1" - -"binary-extensions@^2.0.0": - "integrity" "sha1-dfUC7q+f/eQvyYgpZFvk6na9ni0=" - "resolved" "https://registry.npmmirror.com/binary-extensions/download/binary-extensions-2.2.0.tgz" - "version" "2.2.0" - -"bl@^4.1.0": - "integrity" "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==" - "resolved" "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz" - "version" "4.1.0" - dependencies: - "buffer" "^5.5.0" - "inherits" "^2.0.4" - "readable-stream" "^3.4.0" - -"brace-expansion@^1.1.7": - "integrity" "sha1-PH/L9SnYcibz0vUrlm/1Jx60Qd0=" - "resolved" "https://registry.npmmirror.com/brace-expansion/download/brace-expansion-1.1.11.tgz" - "version" "1.1.11" - dependencies: - "balanced-match" "^1.0.0" - "concat-map" "0.0.1" - -"braces@~3.0.2": - "integrity" "sha1-NFThpGLujVmeI23zNs2epPiv4Qc=" - "resolved" "https://registry.npmmirror.com/braces/download/braces-3.0.2.tgz" - "version" "3.0.2" - dependencies: - "fill-range" "^7.0.1" - -"browser-stdout@1.3.1": - "integrity" "sha1-uqVZ7hTO1zRSIputcyZGfGH6vWA=" - "resolved" "https://registry.npmmirror.com/browser-stdout/download/browser-stdout-1.3.1.tgz" - "version" "1.3.1" - -"bson@*": - "integrity" "sha512-8jw1NU1hglS+Da1jDOUYuNcBJ4cNHCFIqzlwoFNnsTOg2R/ox0aTYcTiBN4dzRa9q7Cvy6XErh3L8ReTEb9AQQ==" - "resolved" "https://registry.npmmirror.com/bson/download/bson-4.6.0.tgz" - "version" "4.6.0" - dependencies: - "buffer" "^5.6.0" - -"buffer@^5.5.0", "buffer@^5.6.0": - "integrity" "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==" - "resolved" "https://registry.npmmirror.com/buffer/download/buffer-5.7.1.tgz" - "version" "5.7.1" - dependencies: - "base64-js" "^1.3.1" - "ieee754" "^1.1.13" - -"camelcase@^6.0.0": - "integrity" "sha512-tVI4q5jjFV5CavAU8DXfza/TJcZutVKo/5Foskmsqcm0MsL91moHvwiGNnqaa2o6PF/7yT5ikDRcVcl8Rj6LCA==" - "resolved" "https://registry.npmmirror.com/camelcase/download/camelcase-6.2.1.tgz?cache=0&sync_timestamp=1636945190375&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fcamelcase%2Fdownload%2Fcamelcase-6.2.1.tgz" - "version" "6.2.1" - -"chalk@^4.1.0", "chalk@^4.1.1", "chalk@^4.1.2": - "integrity" "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=" - "resolved" "https://registry.npmmirror.com/chalk/download/chalk-4.1.2.tgz" - "version" "4.1.2" - dependencies: - "ansi-styles" "^4.1.0" - "supports-color" "^7.1.0" - -"chardet@^0.7.0": - "integrity" "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" - "resolved" "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz" - "version" "0.7.0" - -"chokidar@^3.3.1", "chokidar@^3.5.3", "chokidar@3.5.3": - "integrity" "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==" - "resolved" "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz" - "version" "3.5.3" - dependencies: - "anymatch" "~3.1.2" - "braces" "~3.0.2" - "glob-parent" "~5.1.2" - "is-binary-path" "~2.1.0" - "is-glob" "~4.0.1" - "normalize-path" "~3.0.0" - "readdirp" "~3.6.0" - optionalDependencies: - "fsevents" "~2.3.2" - -"cli-cursor@^3.1.0": - "integrity" "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==" - "resolved" "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz" - "version" "3.1.0" - dependencies: - "restore-cursor" "^3.1.0" - -"cli-spinners@^2.5.0": - "integrity" "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==" - "resolved" "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz" - "version" "2.6.1" - -"cli-width@^3.0.0": - "integrity" "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==" - "resolved" "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz" - "version" "3.0.0" - -"cliui@^7.0.2": - "integrity" "sha1-oCZe5lVHb8gHrqnfPfjfd4OAi08=" - "resolved" "https://registry.npmmirror.com/cliui/download/cliui-7.0.4.tgz" - "version" "7.0.4" - dependencies: - "string-width" "^4.2.0" - "strip-ansi" "^6.0.0" - "wrap-ansi" "^7.0.0" - -"clone@^1.0.2": - "integrity" "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=" - "resolved" "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz" - "version" "1.0.4" - -"color-convert@^2.0.1": - "integrity" "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=" - "resolved" "https://registry.npmmirror.com/color-convert/download/color-convert-2.0.1.tgz" - "version" "2.0.1" - dependencies: - "color-name" "~1.1.4" - -"color-name@~1.1.4": - "integrity" "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=" - "resolved" "https://registry.npmmirror.com/color-name/download/color-name-1.1.4.tgz" - "version" "1.1.4" - -"commander@^2.19.0": - "integrity" "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" - "resolved" "https://registry.npmmirror.com/commander/download/commander-2.20.3.tgz" - "version" "2.20.3" - -"commandpost@^1.0.0": - "integrity" "sha1-iSGAEgid/Jtnoze6Fi8VyI4PEEg=" - "resolved" "https://registry.npmmirror.com/commandpost/download/commandpost-1.4.0.tgz" - "version" "1.4.0" - -"concat-map@0.0.1": - "integrity" "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - "resolved" "https://registry.npmmirror.com/concat-map/download/concat-map-0.0.1.tgz" - "version" "0.0.1" - -"create-require@^1.1.0": - "integrity" "sha1-wdfo8eX2z8n/ZfnNNS03NIdWwzM=" - "resolved" "https://registry.npmmirror.com/create-require/download/create-require-1.1.1.tgz" - "version" "1.1.1" - -"cross-spawn@^7.0.0", "cross-spawn@^7.0.1": - "integrity" "sha1-9zqFudXUHQRVUcF34ogtSshXKKY=" - "resolved" "https://registry.npmmirror.com/cross-spawn/download/cross-spawn-7.0.3.tgz" - "version" "7.0.3" - dependencies: - "path-key" "^3.1.0" - "shebang-command" "^2.0.0" - "which" "^2.0.1" - -"debug@4.3.3": - "integrity" "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==" - "resolved" "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz" - "version" "4.3.3" - dependencies: - "ms" "2.1.2" - -"decamelize@^4.0.0": - "integrity" "sha1-qkcte/Zg6xXzSU79UxyrfypwmDc=" - "resolved" "https://registry.npmmirror.com/decamelize/download/decamelize-4.0.0.tgz?cache=0&sync_timestamp=1633055713394&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fdecamelize%2Fdownload%2Fdecamelize-4.0.0.tgz" - "version" "4.0.0" - -"defaults@^1.0.3": - "integrity" "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=" - "resolved" "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz" - "version" "1.0.3" - dependencies: - "clone" "^1.0.2" - -"diff@^4.0.1": - "integrity" "sha1-YPOuy4nV+uUgwRqhnvwruYKq3n0=" - "resolved" "https://registry.npmmirror.com/diff/download/diff-4.0.2.tgz" - "version" "4.0.2" - -"diff@5.0.0": - "integrity" "sha1-ftatdthZ0DB4fsNYVfWx2vMdhSs=" - "resolved" "https://registry.npmmirror.com/diff/download/diff-5.0.0.tgz" - "version" "5.0.0" - -"editorconfig@^0.15.0": - "integrity" "sha1-vvhMTnX7jcsM5c7o79UcFZmb78U=" - "resolved" "https://registry.npmmirror.com/editorconfig/download/editorconfig-0.15.3.tgz" - "version" "0.15.3" - dependencies: - "commander" "^2.19.0" - "lru-cache" "^4.1.5" - "semver" "^5.6.0" - "sigmund" "^1.0.1" - -"emoji-regex@^8.0.0": - "integrity" "sha1-6Bj9ac5cz8tARZT4QpY79TFkzDc=" - "resolved" "https://registry.npmmirror.com/emoji-regex/download/emoji-regex-8.0.0.tgz?cache=0&sync_timestamp=1632752198735&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Femoji-regex%2Fdownload%2Femoji-regex-8.0.0.tgz" - "version" "8.0.0" - -"end-of-stream@^1.1.0": - "integrity" "sha1-WuZKX0UFe682JuwU2gyl5LJDHrA=" - "resolved" "https://registry.npmmirror.com/end-of-stream/download/end-of-stream-1.4.4.tgz?cache=0&sync_timestamp=1632469585035&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fend-of-stream%2Fdownload%2Fend-of-stream-1.4.4.tgz" - "version" "1.4.4" - dependencies: - "once" "^1.4.0" - -"escalade@^3.1.1": - "integrity" "sha1-2M/ccACWXFoBdLSoLqpcBVJ0LkA=" - "resolved" "https://registry.npmmirror.com/escalade/download/escalade-3.1.1.tgz" - "version" "3.1.1" - -"escape-string-regexp@^1.0.5": - "integrity" "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" - "resolved" "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" - "version" "1.0.5" - -"escape-string-regexp@4.0.0": - "integrity" "sha1-FLqDpdNz49MR5a/KKc9b+tllvzQ=" - "resolved" "https://registry.npmmirror.com/escape-string-regexp/download/escape-string-regexp-4.0.0.tgz" - "version" "4.0.0" - -"execa@^4.0.0": - "integrity" "sha1-TlSRrRVy8vF6d9OIxshXE1sihHo=" - "resolved" "https://registry.npmmirror.com/execa/download/execa-4.1.0.tgz?cache=0&sync_timestamp=1637147236741&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fexeca%2Fdownload%2Fexeca-4.1.0.tgz" - "version" "4.1.0" - dependencies: - "cross-spawn" "^7.0.0" - "get-stream" "^5.0.0" - "human-signals" "^1.1.1" - "is-stream" "^2.0.0" - "merge-stream" "^2.0.0" - "npm-run-path" "^4.0.0" - "onetime" "^5.1.0" - "signal-exit" "^3.0.2" - "strip-final-newline" "^2.0.0" - -"external-editor@^3.0.3": - "integrity" "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==" - "resolved" "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz" - "version" "3.1.0" - dependencies: - "chardet" "^0.7.0" - "iconv-lite" "^0.4.24" - "tmp" "^0.0.33" - -"figures@^3.0.0": - "integrity" "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==" - "resolved" "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz" - "version" "3.2.0" - dependencies: - "escape-string-regexp" "^1.0.5" - -"fill-range@^7.0.1": - "integrity" "sha1-GRmmp8df44ssfHflGYU12prN2kA=" - "resolved" "https://registry.npmmirror.com/fill-range/download/fill-range-7.0.1.tgz" - "version" "7.0.1" - dependencies: - "to-regex-range" "^5.0.1" - -"find-up@5.0.0": - "integrity" "sha1-TJKBnstwg1YeT0okCoa+UZj1Nvw=" - "resolved" "https://registry.npmmirror.com/find-up/download/find-up-5.0.0.tgz?cache=0&sync_timestamp=1633618659233&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Ffind-up%2Fdownload%2Ffind-up-5.0.0.tgz" - "version" "5.0.0" - dependencies: - "locate-path" "^6.0.0" - "path-exists" "^4.0.0" - -"flat@^5.0.2": - "integrity" "sha1-jKb+MyBp/6nTJMMnGYxZglnOskE=" - "resolved" "https://registry.npmmirror.com/flat/download/flat-5.0.2.tgz" - "version" "5.0.2" - -"fs-extra@^10.1.0": - "integrity" "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==" - "resolved" "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz" - "version" "10.1.0" - dependencies: - "graceful-fs" "^4.2.0" - "jsonfile" "^6.0.1" - "universalify" "^2.0.0" - -"fs.realpath@^1.0.0": - "integrity" "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" - "resolved" "https://registry.npmmirror.com/fs.realpath/download/fs.realpath-1.0.0.tgz" - "version" "1.0.0" - -"get-caller-file@^2.0.5": - "integrity" "sha1-T5RBKoLbMvNuOwuXQfipf+sDH34=" - "resolved" "https://registry.npmmirror.com/get-caller-file/download/get-caller-file-2.0.5.tgz" - "version" "2.0.5" - -"get-stream@^5.0.0": - "integrity" "sha1-SWaheV7lrOZecGxLe+txJX1uItM=" - "resolved" "https://registry.npmmirror.com/get-stream/download/get-stream-5.2.0.tgz" - "version" "5.2.0" - dependencies: - "pump" "^3.0.0" - -"glob-parent@~5.1.2": - "integrity" "sha1-hpgyxYA0/mikCTwX3BXoNA2EAcQ=" - "resolved" "https://registry.npmmirror.com/glob-parent/download/glob-parent-5.1.2.tgz?cache=0&sync_timestamp=1632953971963&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fglob-parent%2Fdownload%2Fglob-parent-5.1.2.tgz" - "version" "5.1.2" - dependencies: - "is-glob" "^4.0.1" - -"glob@^7.2.0", "glob@7.2.0": - "integrity" "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==" - "resolved" "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz" - "version" "7.2.0" - dependencies: - "fs.realpath" "^1.0.0" - "inflight" "^1.0.4" - "inherits" "2" - "minimatch" "^3.0.4" - "once" "^1.3.0" - "path-is-absolute" "^1.0.0" - -"graceful-fs@^4.1.6", "graceful-fs@^4.2.0": - "integrity" "sha1-5BK40z9eAGWTy9PO5t+fLOu+gCo=" - "resolved" "https://registry.npmmirror.com/graceful-fs/download/graceful-fs-4.2.8.tgz" - "version" "4.2.8" - -"growl@1.10.5": - "integrity" "sha1-8nNdwig2dPpnR4sQGBBZNVw2nl4=" - "resolved" "https://registry.npmmirror.com/growl/download/growl-1.10.5.tgz" - "version" "1.10.5" - -"has-flag@^4.0.0": - "integrity" "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=" - "resolved" "https://registry.npmmirror.com/has-flag/download/has-flag-4.0.0.tgz" - "version" "4.0.0" - -"he@1.2.0": - "integrity" "sha1-hK5l+n6vsWX922FWauFLrwVmTw8=" - "resolved" "https://registry.npmmirror.com/he/download/he-1.2.0.tgz" - "version" "1.2.0" - -"human-signals@^1.1.1": - "integrity" "sha1-xbHNFPUK6uCatsWf5jujOV/k36M=" - "resolved" "https://registry.npmmirror.com/human-signals/download/human-signals-1.1.1.tgz" - "version" "1.1.1" - -"iconv-lite@^0.4.24": - "integrity" "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==" - "resolved" "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz" - "version" "0.4.24" - dependencies: - "safer-buffer" ">= 2.1.2 < 3" - -"ieee754@^1.1.13": - "integrity" "sha1-jrehCmP/8l0VpXsAFYbRd9Gw01I=" - "resolved" "https://registry.npmmirror.com/ieee754/download/ieee754-1.2.1.tgz" - "version" "1.2.1" - -"ignore@^5.1.4": - "integrity" "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==" - "resolved" "https://registry.npmmirror.com/ignore/download/ignore-5.2.0.tgz" - "version" "5.2.0" - -"inflight@^1.0.4": - "integrity" "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=" - "resolved" "https://registry.npmmirror.com/inflight/download/inflight-1.0.6.tgz" - "version" "1.0.6" - dependencies: - "once" "^1.3.0" - "wrappy" "1" - -"inherits@^2.0.3", "inherits@^2.0.4", "inherits@2": - "integrity" "sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=" - "resolved" "https://registry.npmmirror.com/inherits/download/inherits-2.0.4.tgz" - "version" "2.0.4" - -"inquirer@^8.2.2": - "integrity" "sha512-pG7I/si6K/0X7p1qU+rfWnpTE1UIkTONN1wxtzh0d+dHXtT/JG6qBgLxoyHVsQa8cFABxAPh0pD6uUUHiAoaow==" - "resolved" "https://registry.npmjs.org/inquirer/-/inquirer-8.2.2.tgz" - "version" "8.2.2" - dependencies: - "ansi-escapes" "^4.2.1" - "chalk" "^4.1.1" - "cli-cursor" "^3.1.0" - "cli-width" "^3.0.0" - "external-editor" "^3.0.3" - "figures" "^3.0.0" - "lodash" "^4.17.21" - "mute-stream" "0.0.8" - "ora" "^5.4.1" - "run-async" "^2.4.0" - "rxjs" "^7.5.5" - "string-width" "^4.1.0" - "strip-ansi" "^6.0.0" - "through" "^2.3.6" - -"invert-kv@^3.0.0": - "integrity" "sha1-qTx6PUOGodyDJbl9qbsWIMAoJSM=" - "resolved" "https://registry.npmmirror.com/invert-kv/download/invert-kv-3.0.1.tgz" - "version" "3.0.1" - -"is-binary-path@~2.1.0": - "integrity" "sha1-6h9/O4DwZCNug0cPhsCcJU+0Wwk=" - "resolved" "https://registry.npmmirror.com/is-binary-path/download/is-binary-path-2.1.0.tgz" - "version" "2.1.0" - dependencies: - "binary-extensions" "^2.0.0" - -"is-extglob@^2.1.1": - "integrity" "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" - "resolved" "https://registry.npmmirror.com/is-extglob/download/is-extglob-2.1.1.tgz" - "version" "2.1.1" - -"is-fullwidth-code-point@^3.0.0": - "integrity" "sha1-8Rb4Bk/pCz94RKOJl8C3UFEmnx0=" - "resolved" "https://registry.npmmirror.com/is-fullwidth-code-point/download/is-fullwidth-code-point-3.0.0.tgz" - "version" "3.0.0" - -"is-glob@^4.0.1", "is-glob@~4.0.1": - "integrity" "sha1-ZPYeQsu7LuwgcanawLKLoeZdUIQ=" - "resolved" "https://registry.npmmirror.com/is-glob/download/is-glob-4.0.3.tgz?cache=0&sync_timestamp=1632934382080&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fis-glob%2Fdownload%2Fis-glob-4.0.3.tgz" - "version" "4.0.3" - dependencies: - "is-extglob" "^2.1.1" - -"is-interactive@^1.0.0": - "integrity" "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==" - "resolved" "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz" - "version" "1.0.0" - -"is-number@^7.0.0": - "integrity" "sha1-dTU0W4lnNNX4DE0GxQlVUnoU8Ss=" - "resolved" "https://registry.npmmirror.com/is-number/download/is-number-7.0.0.tgz" - "version" "7.0.0" - -"is-plain-obj@^2.1.0": - "integrity" "sha1-ReQuN/zPH0Dajl927iFRWEDAkoc=" - "resolved" "https://registry.npmmirror.com/is-plain-obj/download/is-plain-obj-2.1.0.tgz" - "version" "2.1.0" - -"is-stream@^2.0.0": - "integrity" "sha1-+sHj1TuXrVqdCunO8jifWBClwHc=" - "resolved" "https://registry.npmmirror.com/is-stream/download/is-stream-2.0.1.tgz" - "version" "2.0.1" - -"is-unicode-supported@^0.1.0": - "integrity" "sha1-PybHaoCVk7Ur+i7LVxDtJ3m1Iqc=" - "resolved" "https://registry.npmmirror.com/is-unicode-supported/download/is-unicode-supported-0.1.0.tgz" - "version" "0.1.0" - -"isexe@^2.0.0": - "integrity" "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" - "resolved" "https://registry.npmmirror.com/isexe/download/isexe-2.0.0.tgz" - "version" "2.0.0" - -"js-yaml@4.1.0": - "integrity" "sha1-wftl+PUBeQHN0slRhkuhhFihBgI=" - "resolved" "https://registry.npmmirror.com/js-yaml/download/js-yaml-4.1.0.tgz" - "version" "4.1.0" - dependencies: - "argparse" "^2.0.1" - -"jsonfile@^6.0.1": - "integrity" "sha1-vFWyY0eTxnnsZAMJTrE2mKbsCq4=" - "resolved" "https://registry.npmmirror.com/jsonfile/download/jsonfile-6.1.0.tgz" - "version" "6.1.0" - dependencies: - "universalify" "^2.0.0" - optionalDependencies: - "graceful-fs" "^4.1.6" - -"k8w-crypto@^0.2.0": - "integrity" "sha1-AObzAngy7q3gb9ecnDoev7dslk8=" - "resolved" "https://registry.npmmirror.com/k8w-crypto/download/k8w-crypto-0.2.0.tgz" - "version" "0.2.0" - -"k8w-extend-native@^1.4.6": - "integrity" "sha1-0wCMYPP4XlsvK9hhf/SlvJz3Q6Y=" - "resolved" "https://registry.npmmirror.com/k8w-extend-native/download/k8w-extend-native-1.4.6.tgz" - "version" "1.4.6" - dependencies: - "k8w-linq-array" "*" - "k8w-super-date" "*" - "k8w-super-object" "*" - -"k8w-linq-array@*": - "integrity" "sha1-HvTUopQ1UsvV9jOl2bjoMdyKvW4=" - "resolved" "https://registry.npmmirror.com/k8w-linq-array/download/k8w-linq-array-0.2.8.tgz" - "version" "0.2.8" - -"k8w-super-date@*": - "integrity" "sha1-T1Ojnyt04hsRJokmtxDlp8J/iEg=" - "resolved" "https://registry.npmmirror.com/k8w-super-date/download/k8w-super-date-0.1.3.tgz" - "version" "0.1.3" - -"k8w-super-object@*": - "integrity" "sha1-ZDDRSVaq86k2/ad3awiXoE2zMd0=" - "resolved" "https://registry.npmmirror.com/k8w-super-object/download/k8w-super-object-0.3.0.tgz" - "version" "0.3.0" - -"lcid@^3.0.0": - "integrity" "sha1-kDDsR5oFj8NrXoJD66rItqxYL9A=" - "resolved" "https://registry.npmmirror.com/lcid/download/lcid-3.1.1.tgz" - "version" "3.1.1" - dependencies: - "invert-kv" "^3.0.0" - -"locate-path@^6.0.0": - "integrity" "sha1-VTIeswn+u8WcSAHZMackUqaB0oY=" - "resolved" "https://registry.npmmirror.com/locate-path/download/locate-path-6.0.0.tgz" - "version" "6.0.0" - dependencies: - "p-locate" "^5.0.0" - -"lodash@^4.17.21": - "integrity" "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - "resolved" "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" - "version" "4.17.21" - -"log-symbols@^4.1.0", "log-symbols@4.1.0": - "integrity" "sha1-P727lbRoOsn8eFER55LlWNSr1QM=" - "resolved" "https://registry.npmmirror.com/log-symbols/download/log-symbols-4.1.0.tgz" - "version" "4.1.0" - dependencies: - "chalk" "^4.1.0" - "is-unicode-supported" "^0.1.0" - -"lru-cache@^4.1.5": - "integrity" "sha1-i75Q6oW+1ZvJ4z3KuCNe6bz0Q80=" - "resolved" "https://registry.npmmirror.com/lru-cache/download/lru-cache-4.1.5.tgz" - "version" "4.1.5" - dependencies: - "pseudomap" "^1.0.2" - "yallist" "^2.1.2" - -"make-error@^1.1.1": - "integrity" "sha1-LrLjfqm2fEiR9oShOUeZr0hM96I=" - "resolved" "https://registry.npmmirror.com/make-error/download/make-error-1.3.6.tgz" - "version" "1.3.6" - -"map-age-cleaner@^0.1.3": - "integrity" "sha1-fVg6cwZDTAVf5HSw9FB45uG0uSo=" - "resolved" "https://registry.npmmirror.com/map-age-cleaner/download/map-age-cleaner-0.1.3.tgz" - "version" "0.1.3" - dependencies: - "p-defer" "^1.0.0" - -"mem@^5.0.0": - "integrity" "sha1-cFm2e/msLJJMnxz/cVWgZDlK37M=" - "resolved" "https://registry.npmmirror.com/mem/download/mem-5.1.1.tgz" - "version" "5.1.1" - dependencies: - "map-age-cleaner" "^0.1.3" - "mimic-fn" "^2.1.0" - "p-is-promise" "^2.1.0" - -"merge-stream@^2.0.0": - "integrity" "sha1-UoI2KaFN0AyXcPtq1H3GMQ8sH2A=" - "resolved" "https://registry.npmmirror.com/merge-stream/download/merge-stream-2.0.0.tgz" - "version" "2.0.0" - -"mimic-fn@^2.1.0": - "integrity" "sha1-ftLCzMyvhNP/y3pptXcR/CCDQBs=" - "resolved" "https://registry.npmmirror.com/mimic-fn/download/mimic-fn-2.1.0.tgz" - "version" "2.1.0" - -"minimatch@^3.0.4": - "integrity" "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=" - "resolved" "https://registry.npmmirror.com/minimatch/download/minimatch-3.0.4.tgz" - "version" "3.0.4" - dependencies: - "brace-expansion" "^1.1.7" - -"minimatch@4.2.1": - "integrity" "sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==" - "resolved" "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz" - "version" "4.2.1" - dependencies: - "brace-expansion" "^1.1.7" - -"minimist@^1.2.6": - "integrity" "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" - "resolved" "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz" - "version" "1.2.6" - -"mocha@^9.2.2": - "integrity" "sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==" - "resolved" "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz" - "version" "9.2.2" - dependencies: - "@ungap/promise-all-settled" "1.1.2" - "ansi-colors" "4.1.1" - "browser-stdout" "1.3.1" - "chokidar" "3.5.3" - "debug" "4.3.3" - "diff" "5.0.0" - "escape-string-regexp" "4.0.0" - "find-up" "5.0.0" - "glob" "7.2.0" - "growl" "1.10.5" - "he" "1.2.0" - "js-yaml" "4.1.0" - "log-symbols" "4.1.0" - "minimatch" "4.2.1" - "ms" "2.1.3" - "nanoid" "3.3.1" - "serialize-javascript" "6.0.0" - "strip-json-comments" "3.1.1" - "supports-color" "8.1.1" - "which" "2.0.2" - "workerpool" "6.2.0" - "yargs" "16.2.0" - "yargs-parser" "20.2.4" - "yargs-unparser" "2.0.0" - -"ms@2.1.2": - "integrity" "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=" - "resolved" "https://registry.npmmirror.com/ms/download/ms-2.1.2.tgz" - "version" "2.1.2" - -"ms@2.1.3": - "integrity" "sha1-V0yBOM4dK1hh8LRFedut1gxmFbI=" - "resolved" "https://registry.npmmirror.com/ms/download/ms-2.1.3.tgz" - "version" "2.1.3" - -"mute-stream@0.0.8": - "integrity" "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" - "resolved" "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz" - "version" "0.0.8" - -"nanoid@3.3.1": - "integrity" "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==" - "resolved" "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz" - "version" "3.3.1" - -"normalize-path@^3.0.0", "normalize-path@~3.0.0": - "integrity" "sha1-Dc1p/yOhybEf0JeDFmRKA4ghamU=" - "resolved" "https://registry.npmmirror.com/normalize-path/download/normalize-path-3.0.0.tgz" - "version" "3.0.0" - -"npm-run-path@^4.0.0": - "integrity" "sha1-t+zR5e1T2o43pV4cImnguX7XSOo=" - "resolved" "https://registry.npmmirror.com/npm-run-path/download/npm-run-path-4.0.1.tgz" - "version" "4.0.1" - dependencies: - "path-key" "^3.0.0" - -"once@^1.3.0", "once@^1.3.1", "once@^1.4.0": - "integrity" "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=" - "resolved" "https://registry.npmmirror.com/once/download/once-1.4.0.tgz" - "version" "1.4.0" - dependencies: - "wrappy" "1" - -"onchange@^7.1.0": - "integrity" "sha1-pvD3cz5NRwFLTNcKoa02wrTPOAQ=" - "resolved" "https://registry.npmmirror.com/onchange/download/onchange-7.1.0.tgz" - "version" "7.1.0" - dependencies: - "@blakeembrey/deque" "^1.0.5" - "@blakeembrey/template" "^1.0.0" - "arg" "^4.1.3" - "chokidar" "^3.3.1" - "cross-spawn" "^7.0.1" - "ignore" "^5.1.4" - "tree-kill" "^1.2.2" - -"onetime@^5.1.0": - "integrity" "sha1-0Oluu1awdHbfHdnEgG5SN5hcpF4=" - "resolved" "https://registry.npmmirror.com/onetime/download/onetime-5.1.2.tgz" - "version" "5.1.2" - dependencies: - "mimic-fn" "^2.1.0" - -"ora@^5.4.1": - "integrity" "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==" - "resolved" "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz" - "version" "5.4.1" - dependencies: - "bl" "^4.1.0" - "chalk" "^4.1.0" - "cli-cursor" "^3.1.0" - "cli-spinners" "^2.5.0" - "is-interactive" "^1.0.0" - "is-unicode-supported" "^0.1.0" - "log-symbols" "^4.1.0" - "strip-ansi" "^6.0.0" - "wcwidth" "^1.0.1" - -"os-locale@^5.0.0": - "integrity" "sha1-bSbB2Vtll8XVMXv1+6N+zOw2cuA=" - "resolved" "https://registry.npmmirror.com/os-locale/download/os-locale-5.0.0.tgz" - "version" "5.0.0" - dependencies: - "execa" "^4.0.0" - "lcid" "^3.0.0" - "mem" "^5.0.0" - -"os-tmpdir@~1.0.2": - "integrity" "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" - "resolved" "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz" - "version" "1.0.2" - -"p-defer@^1.0.0": - "integrity" "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=" - "resolved" "https://registry.npmmirror.com/p-defer/download/p-defer-1.0.0.tgz" - "version" "1.0.0" - -"p-is-promise@^2.1.0": - "integrity" "sha1-kYzrrqJIpiz3/6uOO8qMX4gvxC4=" - "resolved" "https://registry.npmmirror.com/p-is-promise/download/p-is-promise-2.1.0.tgz" - "version" "2.1.0" - -"p-limit@^3.0.2": - "integrity" "sha1-4drMvnjQ0TiMoYxk/qOOPlfjcGs=" - "resolved" "https://registry.npmmirror.com/p-limit/download/p-limit-3.1.0.tgz" - "version" "3.1.0" - dependencies: - "yocto-queue" "^0.1.0" - -"p-locate@^5.0.0": - "integrity" "sha1-g8gxXGeFAF470CGDlBHJ4RDm2DQ=" - "resolved" "https://registry.npmmirror.com/p-locate/download/p-locate-5.0.0.tgz" - "version" "5.0.0" - dependencies: - "p-limit" "^3.0.2" - -"path-exists@^4.0.0": - "integrity" "sha1-UTvb4tO5XXdi6METfvoZXGxhtbM=" - "resolved" "https://registry.npmmirror.com/path-exists/download/path-exists-4.0.0.tgz" - "version" "4.0.0" - -"path-is-absolute@^1.0.0": - "integrity" "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" - "resolved" "https://registry.npmmirror.com/path-is-absolute/download/path-is-absolute-1.0.1.tgz" - "version" "1.0.1" - -"path-key@^3.0.0", "path-key@^3.1.0": - "integrity" "sha1-WB9q3mWMu6ZaDTOA3ndTKVBU83U=" - "resolved" "https://registry.npmmirror.com/path-key/download/path-key-3.1.1.tgz" - "version" "3.1.1" - -"picomatch@^2.0.4", "picomatch@^2.2.1": - "integrity" "sha1-8fBh3o9qS/AiiS4tEoI0+5gwKXI=" - "resolved" "https://registry.npmmirror.com/picomatch/download/picomatch-2.3.0.tgz" - "version" "2.3.0" - -"pseudomap@^1.0.2": - "integrity" "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=" - "resolved" "https://registry.npmmirror.com/pseudomap/download/pseudomap-1.0.2.tgz" - "version" "1.0.2" - -"pump@^3.0.0": - "integrity" "sha1-tKIRaBW94vTh6mAjVOjHVWUQemQ=" - "resolved" "https://registry.npmmirror.com/pump/download/pump-3.0.0.tgz" - "version" "3.0.0" - dependencies: - "end-of-stream" "^1.1.0" - "once" "^1.3.1" - -"randombytes@^2.1.0": - "integrity" "sha1-32+ENy8CcNxlzfYpE0mrekc9Tyo=" - "resolved" "https://registry.npmmirror.com/randombytes/download/randombytes-2.1.0.tgz" - "version" "2.1.0" - dependencies: - "safe-buffer" "^5.1.0" - -"readable-stream@^3.4.0": - "integrity" "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==" - "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" - "version" "3.6.0" - dependencies: - "inherits" "^2.0.3" - "string_decoder" "^1.1.1" - "util-deprecate" "^1.0.1" - -"readdirp@~3.6.0": - "integrity" "sha1-dKNwvYVxFuJFspzJc0DNQxoCpsc=" - "resolved" "https://registry.npmmirror.com/readdirp/download/readdirp-3.6.0.tgz" - "version" "3.6.0" - dependencies: - "picomatch" "^2.2.1" - -"require-directory@^2.1.1": - "integrity" "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" - "resolved" "https://registry.npmmirror.com/require-directory/download/require-directory-2.1.1.tgz" - "version" "2.1.1" - -"restore-cursor@^3.1.0": - "integrity" "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==" - "resolved" "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz" - "version" "3.1.0" - dependencies: - "onetime" "^5.1.0" - "signal-exit" "^3.0.2" - -"run-async@^2.4.0": - "integrity" "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==" - "resolved" "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz" - "version" "2.4.1" - -"rxjs@^7.5.5": - "integrity" "sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw==" - "resolved" "https://registry.npmjs.org/rxjs/-/rxjs-7.5.5.tgz" - "version" "7.5.5" - dependencies: - "tslib" "^2.1.0" - -"safe-buffer@^5.1.0", "safe-buffer@~5.2.0": - "integrity" "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=" - "resolved" "https://registry.npmmirror.com/safe-buffer/download/safe-buffer-5.2.1.tgz" - "version" "5.2.1" - -"safer-buffer@>= 2.1.2 < 3": - "integrity" "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - "resolved" "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" - "version" "2.1.2" - -"semver@^5.6.0": - "integrity" "sha1-qVT5Ma66UI0we78Gnv8MAclhFvc=" - "resolved" "https://registry.npmmirror.com/semver/download/semver-5.7.1.tgz" - "version" "5.7.1" - -"serialize-javascript@6.0.0": - "integrity" "sha1-765diPRdeSQUHai1w6en5mP+/rg=" - "resolved" "https://registry.npmmirror.com/serialize-javascript/download/serialize-javascript-6.0.0.tgz" - "version" "6.0.0" - dependencies: - "randombytes" "^2.1.0" - -"shebang-command@^2.0.0": - "integrity" "sha1-zNCvT4g1+9wmW4JGGq8MNmY/NOo=" - "resolved" "https://registry.npmmirror.com/shebang-command/download/shebang-command-2.0.0.tgz" - "version" "2.0.0" - dependencies: - "shebang-regex" "^3.0.0" - -"shebang-regex@^3.0.0": - "integrity" "sha1-rhbxZE2HPsrYQ7AwexQzYtTEIXI=" - "resolved" "https://registry.npmmirror.com/shebang-regex/download/shebang-regex-3.0.0.tgz" - "version" "3.0.0" - -"sigmund@^1.0.1": - "integrity" "sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=" - "resolved" "https://registry.npmmirror.com/sigmund/download/sigmund-1.0.1.tgz" - "version" "1.0.1" - -"signal-exit@^3.0.2": - "integrity" "sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ==" - "resolved" "https://registry.npmmirror.com/signal-exit/download/signal-exit-3.0.6.tgz" - "version" "3.0.6" - -"string_decoder@^1.1.1": - "integrity" "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==" - "resolved" "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" - "version" "1.3.0" - dependencies: - "safe-buffer" "~5.2.0" - -"string-width@^4.1.0", "string-width@^4.2.0": - "integrity" "sha1-JpxxF9J7Ba0uU2gwqOyJXvnG0BA=" - "resolved" "https://registry.npmmirror.com/string-width/download/string-width-4.2.3.tgz" - "version" "4.2.3" - dependencies: - "emoji-regex" "^8.0.0" - "is-fullwidth-code-point" "^3.0.0" - "strip-ansi" "^6.0.1" - -"strip-ansi@^6.0.0", "strip-ansi@^6.0.1": - "integrity" "sha1-nibGPTD1NEPpSJSVshBdN7Z6hdk=" - "resolved" "https://registry.npmmirror.com/strip-ansi/download/strip-ansi-6.0.1.tgz" - "version" "6.0.1" - dependencies: - "ansi-regex" "^5.0.1" - -"strip-final-newline@^2.0.0": - "integrity" "sha1-ibhS+y/L6Tb29LMYevsKEsGrWK0=" - "resolved" "https://registry.npmmirror.com/strip-final-newline/download/strip-final-newline-2.0.0.tgz" - "version" "2.0.0" - -"strip-json-comments@3.1.1": - "integrity" "sha1-MfEoGzgyYwQ0gxwxDAHMzajL4AY=" - "resolved" "https://registry.npmmirror.com/strip-json-comments/download/strip-json-comments-3.1.1.tgz" - "version" "3.1.1" - -"supports-color@^7.1.0": - "integrity" "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=" - "resolved" "https://registry.npmmirror.com/supports-color/download/supports-color-7.2.0.tgz" - "version" "7.2.0" - dependencies: - "has-flag" "^4.0.0" - -"supports-color@8.1.1": - "integrity" "sha1-zW/BfihQDP9WwbhsCn/UpUpzAFw=" - "resolved" "https://registry.npmmirror.com/supports-color/download/supports-color-8.1.1.tgz" - "version" "8.1.1" - dependencies: - "has-flag" "^4.0.0" - -"through@^2.3.6": - "integrity" "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" - "resolved" "https://registry.npmjs.org/through/-/through-2.3.8.tgz" - "version" "2.3.8" - -"tmp@^0.0.33": - "integrity" "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==" - "resolved" "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz" - "version" "0.0.33" - dependencies: - "os-tmpdir" "~1.0.2" - -"to-regex-range@^5.0.1": - "integrity" "sha1-FkjESq58jZiKMmAY7XL1tN0DkuQ=" - "resolved" "https://registry.npmmirror.com/to-regex-range/download/to-regex-range-5.0.1.tgz" - "version" "5.0.1" - dependencies: - "is-number" "^7.0.0" - -"tree-kill@^1.2.2": - "integrity" "sha1-TKCakJLIi3OnzcXooBtQeweQoMw=" - "resolved" "https://registry.npmmirror.com/tree-kill/download/tree-kill-1.2.2.tgz" - "version" "1.2.2" - -"ts-node@^10.7.0": - "integrity" "sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==" - "resolved" "https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz" - "version" "10.7.0" - dependencies: - "@cspotcode/source-map-support" "0.7.0" - "@tsconfig/node10" "^1.0.7" - "@tsconfig/node12" "^1.0.7" - "@tsconfig/node14" "^1.0.0" - "@tsconfig/node16" "^1.0.2" - "acorn" "^8.4.1" - "acorn-walk" "^8.1.1" - "arg" "^4.1.0" - "create-require" "^1.1.0" - "diff" "^4.0.1" - "make-error" "^1.1.1" - "v8-compile-cache-lib" "^3.0.0" - "yn" "3.1.1" - -"tsbuffer-proto-generator@^1.7.0": - "integrity" "sha512-aDgdmYSgCZPfmA3Vn73veDdLvAAxI3Qds6odG6FzkkDHxwHyHOSa/H2jbS6d0CQVFbJeSWydem+QGBeAx8mJKw==" - "resolved" "https://registry.npmjs.org/tsbuffer-proto-generator/-/tsbuffer-proto-generator-1.7.0.tgz" - "version" "1.7.0" - dependencies: - "k8w-crypto" "^0.2.0" - "k8w-extend-native" "^1.4.6" - "tsbuffer-schema" "^2.2.0" - "tslib" "*" - "typescript" "^4" - -"tsbuffer-schema@^2.2.0": - "integrity" "sha512-I4+5Xfk7G+D++kXdNnYTeY26WQTaf14C84XQwPKteNmrwxRY3CQCkMqASRiCUqtpOuDn43qmoxuXpT+Vo8Wltg==" - "resolved" "https://registry.npmjs.org/tsbuffer-schema/-/tsbuffer-schema-2.2.0.tgz" - "version" "2.2.0" - -"tsbuffer-validator@^2.1.0": - "integrity" "sha512-pI4qqKVVFWOF8nF7wGGT+WzNnOMOb1skhSjigtKiWOzkpVhoiOvyPJamFQvc0MVbhoGTySuVUzp3KFclo4lVxw==" - "resolved" "https://registry.npmjs.org/tsbuffer-validator/-/tsbuffer-validator-2.1.0.tgz" - "version" "2.1.0" - dependencies: - "k8w-extend-native" "^1.4.6" - "tsbuffer-schema" "^2.2.0" - "tslib" "*" - -"tsbuffer@^2.2.2": - "integrity" "sha512-iP5xC1iDs/ILYBzi7CCsbGCLp+QGDIHMjW2jzBmV8JVbw//wb1NbQCDXL7pCxU9pI3uQsDpMAu/RPvc7fuLZSQ==" - "resolved" "https://registry.npmjs.org/tsbuffer/-/tsbuffer-2.2.2.tgz" - "version" "2.2.2" - dependencies: - "k8w-extend-native" "^1.4.6" - "tsbuffer-validator" "^2.1.0" - "tslib" "*" - -"tslib@*", "tslib@^2.1.0": - "integrity" "sha1-6KM1rdXOrlGqJh0ypJAVjvBC7wE=" - "resolved" "https://registry.npmmirror.com/tslib/download/tslib-2.3.1.tgz" - "version" "2.3.1" - -"tsrpc-base-client@^2.0.5": - "integrity" "sha512-ocYmnLLZ2fNaIOwaFxDnKPYFn25cXeVWbyojC1WRjaGes8uzS0XL//6Hh5yCYsZzOdUlnqucd3MeFm4zRgeYKg==" - "resolved" "https://registry.npmjs.org/tsrpc-base-client/-/tsrpc-base-client-2.0.5.tgz" - "version" "2.0.5" - dependencies: - "k8w-extend-native" "^1.4.6" - "tsbuffer" "^2.2.2" - "tslib" "*" - "tsrpc-proto" "^1.4.1" - -"tsrpc-cli@^2.4.3-dev.1": - "integrity" "sha512-e63Ms1obTQgccg16IeYBxv3QGOpBNfz4KqP3HjugLURoP7mFtyISaqKQh630deK8Xxihp1prM5UNgRizZvrNbw==" - "resolved" "https://registry.npmjs.org/tsrpc-cli/-/tsrpc-cli-2.4.3-dev.1.tgz" - "version" "2.4.3-dev.1" - dependencies: - "chalk" "^4.1.2" - "chokidar" "^3.5.3" - "fs-extra" "^10.1.0" - "glob" "^7.2.0" - "inquirer" "^8.2.2" - "k8w-extend-native" "^1.4.6" - "minimist" "^1.2.6" - "ora" "^5.4.1" - "os-locale" "^5.0.0" - "ts-node" "^10.7.0" - "tsbuffer" "^2.2.2" - "tsbuffer-proto-generator" "^1.7.0" - "tsbuffer-schema" "^2.2.0" - "tsrpc-proto" "^1.4.2" - "typescript" "^4.6.3" - "typescript-formatter" "^7.2.2" - -"tsrpc-proto@^1.4.1", "tsrpc-proto@^1.4.2": - "integrity" "sha512-MIjOfLixuk6C0CZZzgsBQX/RzlmPBhBasDhoyOUzdi4oOZekdDiia2q70B0ThzXPwIfnwa/uduZxkYx4jPzRdQ==" - "resolved" "https://registry.npmjs.org/tsrpc-proto/-/tsrpc-proto-1.4.2.tgz" - "version" "1.4.2" - dependencies: - "tsbuffer-schema" "^2.2.0" - "tslib" "*" - -"tsrpc@^3.3.0": - "integrity" "sha512-a7QYKrCBRzHy/RJoJVltCsJYoppSpIFcbhrytgCG1EHBbBOKZADJi3+W9tjdOpiNG5330KjBfLhHPew/nf9e5w==" - "resolved" "https://registry.npmjs.org/tsrpc/-/tsrpc-3.3.0.tgz" - "version" "3.3.0" - dependencies: - "@types/ws" "^7.4.7" - "bson" "*" - "chalk" "^4.1.2" - "tsbuffer" "^2.2.2" - "tsrpc-base-client" "^2.0.5" - "tsrpc-proto" "^1.4.1" - "uuid" "^8.3.2" - "ws" "^7.5.7" - -"type-fest@^0.21.3": - "integrity" "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==" - "resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz" - "version" "0.21.3" - -"typescript-formatter@^7.2.2": - "integrity" "sha1-oUcYGDm3uwnCN3sHLyD2M2VHwAo=" - "resolved" "https://registry.npmmirror.com/typescript-formatter/download/typescript-formatter-7.2.2.tgz" - "version" "7.2.2" - dependencies: - "commandpost" "^1.0.0" - "editorconfig" "^0.15.0" - -"typescript@^2.1.6 || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >=3.0.0-dev", "typescript@^4", "typescript@^4.6.3", "typescript@>=2.7": - "integrity" "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==" - "resolved" "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz" - "version" "4.6.3" - -"universalify@^2.0.0": - "integrity" "sha1-daSYTv7cSwiXXFrrc/Uw0C3yVxc=" - "resolved" "https://registry.npmmirror.com/universalify/download/universalify-2.0.0.tgz" - "version" "2.0.0" - -"util-deprecate@^1.0.1": - "integrity" "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - "resolved" "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" - "version" "1.0.2" - -"uuid@^8.3.2": - "integrity" "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" - "resolved" "https://registry.npmmirror.com/uuid/download/uuid-8.3.2.tgz" - "version" "8.3.2" - -"v8-compile-cache-lib@^3.0.0": - "integrity" "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==" - "resolved" "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz" - "version" "3.0.1" - -"wcwidth@^1.0.1": - "integrity" "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=" - "resolved" "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz" - "version" "1.0.1" - dependencies: - "defaults" "^1.0.3" - -"which@^2.0.1", "which@2.0.2": - "integrity" "sha1-fGqN0KY2oDJ+ELWckobu6T8/UbE=" - "resolved" "https://registry.npmmirror.com/which/download/which-2.0.2.tgz" - "version" "2.0.2" - dependencies: - "isexe" "^2.0.0" - -"workerpool@6.2.0": - "integrity" "sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==" - "resolved" "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz" - "version" "6.2.0" - -"wrap-ansi@^7.0.0": - "integrity" "sha1-Z+FFz/UQpqaYS98RUpEdadLrnkM=" - "resolved" "https://registry.npmmirror.com/wrap-ansi/download/wrap-ansi-7.0.0.tgz" - "version" "7.0.0" - dependencies: - "ansi-styles" "^4.0.0" - "string-width" "^4.1.0" - "strip-ansi" "^6.0.0" - -"wrappy@1": - "integrity" "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - "resolved" "https://registry.npmmirror.com/wrappy/download/wrappy-1.0.2.tgz" - "version" "1.0.2" - -"ws@^7.5.7": - "integrity" "sha512-KMvVuFzpKBuiIXW3E4u3mySRO2/mCHSyZDJQM5NQ9Q9KHWHWh0NHgfbRMLLrceUK5qAL4ytALJbpRMjixFZh8A==" - "resolved" "https://registry.npmjs.org/ws/-/ws-7.5.7.tgz" - "version" "7.5.7" - -"y18n@^5.0.5": - "integrity" "sha1-f0k00PfKjFb5UxSTndzS3ZHOHVU=" - "resolved" "https://registry.npmmirror.com/y18n/download/y18n-5.0.8.tgz" - "version" "5.0.8" - -"yallist@^2.1.2": - "integrity" "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=" - "resolved" "https://registry.npmmirror.com/yallist/download/yallist-2.1.2.tgz" - "version" "2.1.2" - -"yargs-parser@^20.2.2", "yargs-parser@20.2.4": - "integrity" "sha1-tCiQ8UVmeW+Fro46JSkNIF8VSlQ=" - "resolved" "https://registry.npmmirror.com/yargs-parser/download/yargs-parser-20.2.4.tgz?cache=0&sync_timestamp=1637031026741&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fyargs-parser%2Fdownload%2Fyargs-parser-20.2.4.tgz" - "version" "20.2.4" - -"yargs-unparser@2.0.0": - "integrity" "sha1-8TH5ImkRrl2a04xDL+gJNmwjJes=" - "resolved" "https://registry.npmmirror.com/yargs-unparser/download/yargs-unparser-2.0.0.tgz" - "version" "2.0.0" - dependencies: - "camelcase" "^6.0.0" - "decamelize" "^4.0.0" - "flat" "^5.0.2" - "is-plain-obj" "^2.1.0" - -"yargs@16.2.0": - "integrity" "sha1-HIK/D2tqZur85+8w43b0mhJHf2Y=" - "resolved" "https://registry.npmmirror.com/yargs/download/yargs-16.2.0.tgz" - "version" "16.2.0" - dependencies: - "cliui" "^7.0.2" - "escalade" "^3.1.1" - "get-caller-file" "^2.0.5" - "require-directory" "^2.1.1" - "string-width" "^4.2.0" - "y18n" "^5.0.5" - "yargs-parser" "^20.2.2" - -"yn@3.1.1": - "integrity" "sha1-HodAGgnXZ8HV6rJqbkwYUYLS61A=" - "resolved" "https://registry.npmmirror.com/yn/download/yn-3.1.1.tgz" - "version" "3.1.1" - -"yocto-queue@^0.1.0": - "integrity" "sha1-ApTrPe4FAo0x7hpfosVWpqrxChs=" - "resolved" "https://registry.npmmirror.com/yocto-queue/download/yocto-queue-0.1.0.tgz?cache=0&sync_timestamp=1632753523520&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fyocto-queue%2Fdownload%2Fyocto-queue-0.1.0.tgz" - "version" "0.1.0"