chore: 服务器默认安装插件增加topic

pull/56/head
moonrailgun 2 years ago
parent 41af493228
commit 70cc8bbc6e

@ -10,7 +10,7 @@
"start:service": "cd server && pnpm run start:service",
"build": "concurrently npm:build:web npm:build:server && cp -r client/web/dist/* server/dist/public && cp -r client/web/dist/* server/dist/public",
"build:web": "cd client/web && pnpm run build",
"build:server": "cd server && pnpm run build && echo \"Install server side plugin:\" && pnpm run plugin:install com.msgbyte.tasks com.msgbyte.linkmeta com.msgbyte.github com.msgbyte.simplenotify && mkdir -p ./dist/public && cp -r ./public/plugins ./dist/public && cp ./public/registry-be.json ./dist/public",
"build:server": "cd server && pnpm run build && echo \"Install server side plugin:\" && pnpm run plugin:install com.msgbyte.tasks com.msgbyte.linkmeta com.msgbyte.github com.msgbyte.simplenotify com.msgbyte.topic && mkdir -p ./dist/public && cp -r ./public/plugins ./dist/public && cp ./public/registry-be.json ./dist/public",
"check:type": "concurrently npm:check:type:client npm:check:type:server",
"check:type:client": "cd client/web && tsc --noEmit",
"check:type:server": "cd server && tsc --noEmit",

@ -1,12 +1,5 @@
import _ from 'lodash';
import {
TcService,
TcDbService,
TcContext,
GroupPanelType,
db,
call,
} from 'tailchat-server-sdk';
import { TcService, TcDbService, TcContext, call } from 'tailchat-server-sdk';
import type { GroupTopicDocument, GroupTopicModel } from '../models/topic';
/**

Loading…
Cancel
Save