refactor: move admin-next to admin

pull/90/head
moonrailgun 2 years ago
parent 696e5232ba
commit 3edfd80e90

@ -1,20 +0,0 @@
version: "3.3"
services:
# 后台应用
tailchat-admin-next:
build:
context: ../
image: tailchat
restart: unless-stopped
env_file: docker-compose.env
depends_on:
- mongo
- redis
labels:
- "traefik.enable=true"
- "traefik.http.routers.admin-next.rule=PathPrefix(`/admin`)"
- "traefik.http.services.admin-next.loadbalancer.server.port=3000"
networks:
- internal
command: pnpm start:admin-next

@ -11,13 +11,11 @@
"dev:admin": "cd server/admin && pnpm dev",
"start:service": "cd server && pnpm start:service",
"start:admin": "cd server/admin && pnpm start",
"start:admin-next": "cd server/admin-next && pnpm start",
"start:admin-old": "cd server/admin-old && pnpm start",
"build": "concurrently npm:build:web npm:build:server npm:build:admin-old npm:build:admin-next && cp -r client/web/dist/* server/dist/public",
"build": "concurrently npm:build:web npm:build:server npm:build:admin npm:build:admin-old && cp -r client/web/dist/* server/dist/public",
"build:web": "cd client/web && pnpm build",
"build:server": "cd server && pnpm 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 com.msgbyte.agora com.msgbyte.wxpusher com.msgbyte.welcome && mkdir -p ./dist/public && cp -r ./public/plugins ./dist/public && cp ./public/registry-be.json ./dist/public",
"build:admin": "cd server/admin && pnpm build",
"build:admin-next": "cd server/admin-next && pnpm build",
"build:admin-old": "cd server/admin-old && pnpm build",
"check:type": "concurrently npm:check:type:client npm:check:type:server",
"check:type:client": "cd client/web && tsc --noEmit",

@ -1,5 +1,5 @@
{
"name": "tailchat-admin-next",
"name": "tailchat-admin",
"private": true,
"version": "0.0.0",
"author": "moonrailgun",

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Loading…
Cancel
Save