Skip to content

Commit 777a94c

Browse files
committed
chore: update site publish config and package metadata
1 parent b2d6c8e commit 777a94c

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: jaywcjlove/github-action-contributors@main
2626
with:
2727
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
28-
output: dist/CONTRIBUTORS.svg
28+
output: www/CONTRIBUTORS.svg
2929
avatarSize: 42
3030

3131
- name: Create Tag
@@ -45,7 +45,7 @@ jobs:
4545
user_email: 'github-actions[bot]@users.noreply.github.com'
4646
commit_message: ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
4747
github_token: ${{ secrets.GITHUB_TOKEN }}
48-
publish_dir: ./dist
48+
publish_dir: ./www
4949

5050
- name: Generate Changelog
5151
id: changelog

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
"name": "@uiw/react-hr",
33
"version": "1.0.0",
44
"description": "A React divider component built on the native hr element.",
5+
"homepage": "https://uiwjs.github.io/react-hr/",
6+
"author": "kenny wang <wowohoo@qq.com>",
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/uiwjs/react-hr.git"
10+
},
511
"type": "module",
612
"main": "./dist/react-hr.cjs",
713
"module": "./dist/react-hr.js",
@@ -35,13 +41,11 @@
3541
"react": ">=18",
3642
"react-dom": ">=18"
3743
},
38-
"dependencies": {
39-
"@uiw/react-markdown-preview": "^5.1.4"
40-
},
4144
"devDependencies": {
4245
"@types/node": "^25.6.2",
4346
"@types/react": "^19.2.14",
4447
"@types/react-dom": "^19.2.3",
48+
"@uiw/react-markdown-preview": "^5.2.0",
4549
"@vitejs/plugin-react": "^5.0.0",
4650
"@wcj/dark-mode": "^1.1.0",
4751
"react": "^19.0.0",

0 commit comments

Comments
 (0)