This commit is contained in:
mozzie 2023-03-05 17:20:11 +08:00
parent 6ca624f6d2
commit 5fd9a9ed35
3 changed files with 1429 additions and 1233 deletions

View File

@ -1,18 +1,18 @@
--- ---
kind: pipeline kind: pipeline
type: exec type: exec
name: backset.cn-web dev publish name: backset.cn ci
steps: steps:
- name: 依赖更新 - name: 依赖更新
commands: commands:
- pnpm i - pnpm i
- name: vite构建 - name: apps/web 项目构建
commnads: commnads:
- pnpm build - pnpm build:web
- name: 发布web服务器 - name: 发布web服务器
commands: commands:
- ls - ls
- cp -r dist/ /www/wwwroot/nginx/html/backset.cn - cp -r ./apps/web/dist/ /www/wwwroot/nginx/html/backset.cn

View File

@ -4,13 +4,12 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev:apps-server": "cd apps/server && pnpm dev:be", "dev:apps-server": "cd apps/server && pnpm dev:be",
"dev:apps-web": "cd apps/web-main && pnpm dev", "dev:apps-web": "cd apps/web && pnpm dev",
"dev:apps-admin": "cd apps/admin && pnpm dev", "dev:apps-admin": "cd apps/admin && pnpm dev",
"build:web": "cd apps/web && pnpm build",
"build:pkgs": "pnpm build:ui && pnpm build:util", "build:pkgs": "pnpm build:ui && pnpm build:util",
"build:ui": "cd packages/ui && pnpm build", "build:ui": "cd packages/ui && pnpm build",
"build:util": "cd packages/util && pnpm build", "build:util": "cd packages/util && pnpm build"
"new:page": "cd apps/server && pnpm new:page",
"new:mvc": "cd apps/server && pnpm new:mvc"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^18.13.0", "@types/node": "^18.13.0",

File diff suppressed because it is too large Load Diff