Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/dispatch-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ jobs:
# 步骤8: 发布组件到NPM
- name: Publish components
run: |
pnpm --filter @opentiny/vue-mobile publish --tag ${{ inputs.tag }} --access=public --no-git-checks
pnpm -C packages/mobile/dist publish --tag ${{ inputs.tag }} --access=public --no-git-checks
pnpm pub --tag ${{ inputs.tag }}
pnpm pub:theme --tag ${{ inputs.tag }}
env:
# 使用NPM令牌进行身份验证
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"dev": "pnpm -C sites start:mobile",
"preSite": "node ./script/preSite.js",
"build": "pnpm -C packages/mobile build",
"pub": "pnpm -C packages/mobile publish --no-git-checks --access=public",
"pub": "pnpm --filter=@opentiny/vue-mobile publish --no-git-checks --access=public",
"build:theme": "pnpm -C packages/theme-mobile build:fast",
"pub:theme": "pnpm -C packages/mobile/dist publish --no-git-checks --access=public"
"pub:theme": "pnpm --filter=\"./packages/theme-mobile/dist\" publish --access=public --no-git-checks"
},
"dependencies": {
"@vue/composition-api": "1.7.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@opentiny/vue-mobile",
"type": "module",
"version": "1.0.0-alpha.7",
"version": "1.0.0-alpha.9",
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
"author": "OpenTiny Team",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/theme-mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opentiny/vue-theme-mobile",
"version": "1.0.0-alpha.7",
"version": "1.0.0-alpha.9",
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
"homepage": "https://opentiny.design/tiny-vue",
"main": "index.css",
Expand Down