Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/deploy-obs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,17 @@ jobs:
VITE_CONTEXT: /vue-pro/pages/
VITE_BASE_API: /tiny-pro-vue/api
VITE_MOCK_SERVER_HOST: /tiny-pro-vue/api/mock
VITE_LOWCODE_DESIGNER_ENABLED: true
- name: Build lowcode-designer
run: |
export NODE_OPTIONS="--max-old-space-size=8192"
cd template/lowcode-designer
pnpm build
- name: Copy lowcode-designer to vue-pro/designer
run: |
# 将 lowcode-designer 的构建产物放入 vue-pro/designer 目录下
mkdir -p ./template/tinyvue/dist/vue-pro/designer
cp -r ./template/lowcode-designer/dist/* ./template/tinyvue/dist/vue-pro/designer/
- name: Copy files
run: |
cp ./template/tinyvue/dist/vue-pro/pages/index.html ./template/tinyvue/dist/vue-pro/pages/404.html
Expand Down
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@
],
"repository": "https://github.com/opentiny/tiny-pro",
"homepage": "https://opentiny.design/pro/",
"pnpm": {
"overrides": {
"@opentiny/tiny-engine-common>@opentiny/vue-renderless": "~3.20.0",
"@opentiny/tiny-engine-plugin-datasource>@opentiny/vue-renderless": "~3.20.0",
"@opentiny/tiny-engine-plugin-block>@opentiny/vue-renderless": "~3.20.0",
"@opentiny/tiny-engine-plugin-canvas>@opentiny/vue-renderless": "~3.20.0",
"@opentiny/tiny-engine-plugin-tree>@opentiny/vue-renderless": "~3.20.0",
"@opentiny/tiny-engine-setting-styles>@opentiny/vue-renderless": "~3.20.0",
"@opentiny/tiny-engine-plugin-materials>@opentiny/vue-renderless": "~3.20.0",
"@opentiny/tiny-engine-plugin-page>@opentiny/vue-renderless": "~3.20.0"
}
},
"scripts": {
"dev": "pnpm -F tiny-pro-vue start",
"dev:backend": "pnpm -F tinyui-nestjs-server start",
Expand Down Expand Up @@ -153,4 +165,4 @@
]
}
]
}
}
17,707 changes: 10,238 additions & 7,469 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions template/lowcode-designer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"@opentiny/tiny-engine-generate-code-tinypro": "^0.1.0",
"@opentiny/tiny-engine-meta-register": "^2.7.0",
"@opentiny/tiny-engine-utils": "^2.7.0",
"@opentiny/vue": "^3.27.0",
"@opentiny/vue-design-smb": "^3.27.0",
"@opentiny/vue-icon": "^3.27.0",
"@opentiny/vue-locale": "^3.27.0",
"@opentiny/vue-renderless": "^3.27.0",
"@opentiny/vue-theme": "^3.27.0",
"@opentiny/vue": "~3.20.0",
"@opentiny/vue-design-smb": "~3.20.0",
"@opentiny/vue-icon": "~3.20.0",
"@opentiny/vue-locale": "~3.20.0",
"@opentiny/vue-renderless": "~3.20.0",
"@opentiny/vue-theme": "~3.20.0",
"@vueuse/core": "^9.6.0",
"vue": "^3.4.21"
},
Expand All @@ -33,4 +33,4 @@
"cross-env": "^7.0.3",
"vite": "^5.4.2"
}
}
}
Loading
Loading