chore: 修正打包配置
This commit is contained in:
parent
ad81b5a066
commit
1ef0186fc7
12
.cnb.yml
12
.cnb.yml
@ -20,7 +20,10 @@ main:
|
|||||||
script: |
|
script: |
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
pnpm install --no-frozen-lockfile
|
pnpm install --no-frozen-lockfile
|
||||||
pnpm run build:tdesign:pre
|
pnpm run build
|
||||||
|
cd apps
|
||||||
|
cd web-tdesign
|
||||||
|
pnpm run build:pre
|
||||||
|
|
||||||
- name: 使用 rsync 复制文件
|
- name: 使用 rsync 复制文件
|
||||||
image: tencentcom/rsync
|
image: tencentcom/rsync
|
||||||
@ -41,7 +44,10 @@ main:
|
|||||||
script: |
|
script: |
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
pnpm install --no-frozen-lockfile
|
pnpm install --no-frozen-lockfile
|
||||||
pnpm run build:tdesign:prod
|
pnpm run build
|
||||||
|
cd apps
|
||||||
|
cd web-tdesign
|
||||||
|
pnpm run build:prod
|
||||||
|
|
||||||
- name: 使用 rsync 复制文件
|
- name: 使用 rsync 复制文件
|
||||||
image: tencentcom/rsync
|
image: tencentcom/rsync
|
||||||
@ -52,4 +58,4 @@ main:
|
|||||||
key: ${PRIVATE_KEY}
|
key: ${PRIVATE_KEY}
|
||||||
port: ${REMOTE_PORT}
|
port: ${REMOTE_PORT}
|
||||||
target: /www/wwwroot/hub.risenstars.com/prod
|
target: /www/wwwroot/hub.risenstars.com/prod
|
||||||
source: ./dist
|
source: ./dist
|
||||||
|
|||||||
@ -33,8 +33,6 @@
|
|||||||
"build:ele": "pnpm run build --filter=@vben/web-ele",
|
"build:ele": "pnpm run build --filter=@vben/web-ele",
|
||||||
"build:naive": "pnpm run build --filter=@vben/web-naive",
|
"build:naive": "pnpm run build --filter=@vben/web-naive",
|
||||||
"build:tdesign": "pnpm run build --filter=@vben/web-tdesign",
|
"build:tdesign": "pnpm run build --filter=@vben/web-tdesign",
|
||||||
"build:tdesign:pre": "pnpm run build:pre --filter=@vben/web-tdesign",
|
|
||||||
"build:tdesign:prod": "pnpm run build:prod --filter=@vben/web-tdesign",
|
|
||||||
"build:play": "pnpm run build --filter=@vben/playground",
|
"build:play": "pnpm run build --filter=@vben/playground",
|
||||||
"changeset": "pnpm exec changeset",
|
"changeset": "pnpm exec changeset",
|
||||||
"check": "pnpm run check:circular && pnpm run check:dep && pnpm run check:type && pnpm check:cspell",
|
"check": "pnpm run check:circular && pnpm run check:dep && pnpm run check:type && pnpm check:cspell",
|
||||||
|
|||||||
@ -31,14 +31,6 @@
|
|||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
"outputs": ["dist/**"]
|
"outputs": ["dist/**"]
|
||||||
},
|
},
|
||||||
"build:tdesign:pre": {
|
|
||||||
"dependsOn": ["^build"],
|
|
||||||
"outputs": ["dist/**"]
|
|
||||||
},
|
|
||||||
"build:tdesign:prod": {
|
|
||||||
"dependsOn": ["^build"],
|
|
||||||
"outputs": ["dist/**"]
|
|
||||||
},
|
|
||||||
"@vben/backend-mock#build": {
|
"@vben/backend-mock#build": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
"outputs": [".nitro/**", ".output/**"]
|
"outputs": [".nitro/**", ".output/**"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user