Skip to content

Commit c576d70

Browse files
committed
build: compile 1.0.0
1 parent dbb5780 commit c576d70

14 files changed

+122
-136
lines changed

.github/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ type:commit message
194194

195195
```bash
196196
# 添加主仓库到 remote
197-
git remote add upstream https://github.com/Moonofweisheng/suni.git
197+
git remote add upstream https://github.com/AaronWangCong/suni.git
198198

199199
# 拉取主仓库最新代码
200200
git fetch upstream

.github/ISSUE_TEMPLATE/1-bug-report.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ body:
88
value: |
99
在向我们提交 Bug 报告前,请优先使用以下方式尝试解决问题:
1010
- 在组件文档 [suni](https://suni.pages.dev/) 确认使用方法是否正确
11-
- 尝试在 [Issue](https://github.com/Moonofweisheng/suni/issues) 列表中搜索相同问题
12-
- 如果不是反馈 Bug,请到 [Discussions 讨论区](https://github.com/Moonofweisheng/suni/discussions) 发帖。
11+
- 尝试在 [Issue](https://github.com/AaronWangCong/suni/issues) 列表中搜索相同问题
12+
- 如果不是反馈 Bug,请到 [Discussions 讨论区](https://github.com/AaronWangCong/suni/discussions) 发帖。
1313
1414
- type: input
1515
id: version

.github/ISSUE_TEMPLATE/2-feature-request.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ body:
99
在提交功能需求前,请注意:
1010
1111
- 确认这是一个通用功能,并且无法通过现有的 API 或 Slot 实现。
12-
- 尝试在 [Issue](https://github.com/Moonofweisheng/suni/issues)列表中搜索,并且没有发现同样的需求。
13-
- 可以先到 [Discussions 讨论区](https://github.com/Moonofweisheng/suni/discussions) 发帖,讨论一下需求是否合理。
12+
- 尝试在 [Issue](https://github.com/AaronWangCong/suni/issues)列表中搜索,并且没有发现同样的需求。
13+
- 可以先到 [Discussions 讨论区](https://github.com/AaronWangCong/suni/discussions) 发帖,讨论一下需求是否合理。
1414
- 请确保描述清楚你的需求,以便其他开发者更好地理解你的需求。
1515
1616
- type: textarea

.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
请务必阅读[贡献指南](https://github.com/Moonofweisheng/suni/blob/master/.github/CONTRIBUTING.md)
2+
请务必阅读[贡献指南](https://github.com/AaronWangCong/suni/blob/master/.github/CONTRIBUTING.md)
33
-->
44

55
<!-- (将"[ ]"更新为"[x]"以勾选一个框) -->

.github/workflows/deploy-android.yml

+25-25
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
- name: Checkout 🛎️
1414
uses: actions/checkout@v4
1515
with:
16-
fetch-depth: 0 # 确保获取完整的提交历史
17-
16+
fetch-depth: 0 # 确保获取完整的提交历史
17+
1818

1919
- name: Setup Node.js
2020
uses: actions/setup-node@v4
@@ -29,20 +29,20 @@ jobs:
2929

3030
- name: Build Site
3131
run: pnpm build:app-android
32-
33-
- name: Extract version from package.json
32+
33+
- name: Extract version from package.json
3434
run: |
35-
echo "VERSION=$(jq -r '.version' package.json)" >> $GITHUB_ENV
36-
echo "CODE=$(git rev-list --count HEAD)" >> $GITHUB_ENV
35+
echo "VERSION=$(jq -r '.version' package.json)" >> $GITHUB_ENV
36+
echo "CODE=$(git rev-list --count HEAD)" >> $GITHUB_ENV
3737
echo "APPID=${{ secrets.UNI_APPID }}" >> $GITHUB_ENV
3838
39-
- name: Update manifest.json with id, version, and commit count
40-
run: |
41-
id=${{ secrets.UNI_APPID }}
42-
version=$(jq -r '.version' package.json)
43-
commit_count=$(git rev-list --count HEAD)
39+
- name: Update manifest.json with id, version, and commit count
40+
run: |
41+
id=${{ secrets.UNI_APPID }}
42+
version=$(jq -r '.version' package.json)
43+
commit_count=$(git rev-list --count HEAD)
4444
jq --arg id "$id" --arg version "$version" --arg commit_count "$commit_count" '.id = $id | .appid = $id | .version.name = $version | .version.code = $commit_count' dist/build/app/manifest.json > tmp_manifest.json && mv tmp_manifest.json dist/build/app/manifest.json
45-
45+
4646
cat dist/build/app/manifest.json
4747
- name: Print manifest.json
4848
run: cat dist/build/app/manifest.json
@@ -55,29 +55,29 @@ jobs:
5555
- name: Checkout app-base
5656
uses: actions/checkout@v4
5757
with:
58-
repository: Moonofweisheng/uniapp-android-base
59-
token: ${{ secrets.PAT }}
58+
repository: AaronWangCong/uniapp-android-base
59+
token: ${{ secrets.PAT }}
6060

6161
- name: Download artifact
6262
uses: actions/download-artifact@v2
6363
with:
6464
name: app-artifact
6565
path: dist/build/app
6666

67-
- name: Clear and prepare app directory
68-
run: |
69-
cd app/src/main/assets/apps
70-
rm -rf *
71-
mkdir -p "${{ secrets.UNI_APPID }}/www"
72-
73-
- name: Copy build artifacts to app-base
74-
run: |
75-
cp -r dist/build/app/* "app/src/main/assets/apps/${{ secrets.UNI_APPID }}/www"
67+
- name: Clear and prepare app directory
68+
run: |
69+
cd app/src/main/assets/apps
70+
rm -rf *
71+
mkdir -p "${{ secrets.UNI_APPID }}/www"
72+
73+
- name: Copy build artifacts to app-base
74+
run: |
75+
cp -r dist/build/app/* "app/src/main/assets/apps/${{ secrets.UNI_APPID }}/www"
7676
7777
- name: Commit and push changes
7878
run: |
79-
git config --global user.email "Moonofweisheng"
80-
git config --global user.name "1780903673@qq.com"
79+
git config --global user.email "AaronWangCong"
80+
git config --global user.name "13997592990@qq.com"
8181
version=$(echo "$VERSION") # 从环境变量中获取version
8282
git add .
8383
git commit -m "sync appid$APPID v$version code$CODE"

.github/workflows/deploy-site-gitee.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
4444
with:
4545
# GitHub 仓库地址
46-
source-repo: [email protected]:Moonofweisheng/suni.git
46+
source-repo: [email protected]:AaronWangCong/suni.git
4747
# Gitee 仓库地址
4848
destination-repo: [email protected]:suni/suni.git
4949

.github/workflows/issue-reply.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
body: |
1818
你好,@${{ github.event.issue.user.login }}。
1919
20-
看起来这条 issue 描述得有些模糊,缺少一些必要的信息,推荐阅读一下[贡献指南](https://github.com/Moonofweisheng/suni/blob/master/.github/CONTRIBUTING.md)。
20+
看起来这条 issue 描述得有些模糊,缺少一些必要的信息,推荐阅读一下[贡献指南](https://github.com/AaronWangCong/suni/blob/master/.github/CONTRIBUTING.md)。
2121
2222
- name: need reproduce
2323
if: github.event.label.name == 'need reproduce'
@@ -28,7 +28,7 @@ jobs:
2828
body: |
2929
你好,@${{ github.event.issue.user.login }}。
3030
31-
我们需要你提供一个最小重现demo,以便于我们帮你排查问题。你可以通过 fork [su-starter-retail](https://github.com/Moonofweisheng/su-starter-retail) 并添加相关复现逻辑来提供。
31+
我们需要你提供一个最小重现demo,以便于我们帮你排查问题。你可以通过 fork [su-starter-retail](https://github.com/AaronWangCong/su-starter-retail) 并添加相关复现逻辑来提供。
3232
- name: help wanted
3333
if: github.event.label.name == 'help wanted'
3434
uses: actions-cool/issues-helper@v3

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</a>
1717

1818
<a href="https://github.com/AaronWangCong/suni">
19-
<img alt="GitHub" src="https://img.shields.io/github/license/Moonofweisheng/suni?logo=github">
19+
<img alt="GitHub" src="https://img.shields.io/github/license/AaronWangCong/suni?logo=github">
2020
</a>
2121

2222

docs/guide/changelog.md

+40-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,40 @@
1-
# 更新日志
1+
# 更新日志
2+
3+
4+
## 1.0.0 (2024-09-23)
5+
6+
7+
### ⚠ BREAKING CHANGES
8+
9+
* 🧨 none
10+
11+
### 🐛 Bug Fixes | Bug 修复
12+
13+
* 🐛 文档及设置优化 ([d986896](https://github.com/AaronWangCong/suni/commit/d986896fe6323be5bcf3abf2c56576cb513452ae))
14+
* 🐛 修改文档 ([198a125](https://github.com/AaronWangCong/suni/commit/198a125382232361ee652219500e23d539f41f5b))
15+
* 优化iframe渲染 ([417f12c](https://github.com/AaronWangCong/suni/commit/417f12c3636528b7f4e5e439b1586fae3cce4d6f))
16+
17+
18+
### ✏️ Documentation | 文档
19+
20+
* ✏️ 文档修改 ([2d5bfc6](https://github.com/AaronWangCong/suni/commit/2d5bfc6369b333442f3885dcdf565066c50d214c))
21+
22+
### 0.0.2 (2024-09-23)
23+
24+
25+
### ⚠ BREAKING CHANGES
26+
27+
* 🧨 none
28+
29+
### 🐛 Bug Fixes | Bug 修复
30+
31+
* 🐛 文档及设置优化 ([d986896](https://github.com/AaronWangCong/suni/commit/d986896fe6323be5bcf3abf2c56576cb513452ae))
32+
* 🐛 修改文档 ([198a125](https://github.com/AaronWangCong/suni/commit/198a125382232361ee652219500e23d539f41f5b))
33+
* 优化iframe渲染 ([417f12c](https://github.com/AaronWangCong/suni/commit/417f12c3636528b7f4e5e439b1586fae3cce4d6f))
34+
35+
36+
### ✏️ Documentation | 文档
37+
38+
* ✏️ 文档修改 ([2d5bfc6](https://github.com/AaronWangCong/suni/commit/2d5bfc6369b333442f3885dcdf565066c50d214c))
39+
40+
# 更新日志

docs/guide/common-problems.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,4 +279,4 @@ function handleOpened() {
279279

280280
## 关于我们
281281

282-
**如果您的问题不在上述列表中或您有更好的建议,请联系我们 [Moonofweisheng](https://github.com/Moonofweisheng/suni)**
282+
**如果您的问题不在上述列表中或您有更好的建议,请联系我们 [AaronWangCong](https://github.com/AaronWangCong/suni)**

docs/guide/locale.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ Locale.add(messages)
6464
| 泰文 | th-TH | `v0.2.20` |
6565
| 越南文 | vi-VN | `v0.2.20` |
6666

67-
如果你需要使用其他的语言,欢迎贡献 [PR](https://github.com/Moonofweisheng/suni/pulls),只需在[这里](https://github.com/Moonofweisheng/suni/tree/master/src/uni_modules/suni/locale/lang)添加一个语言配置文件即可。
67+
如果你需要使用其他的语言,欢迎贡献 [PR](https://github.com/AaronWangCong/suni/pulls),只需在[这里](https://github.com/AaronWangCong/suni/tree/master/src/uni_modules/suni/locale/lang)添加一个语言配置文件即可。

src/uni_modules/suni/changelog.md

+40-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,40 @@
1-
# 更新日志
1+
# 更新日志
2+
3+
4+
## 1.0.0 (2024-09-23)
5+
6+
7+
### ⚠ BREAKING CHANGES
8+
9+
* 🧨 none
10+
11+
### 🐛 Bug Fixes | Bug 修复
12+
13+
* 🐛 文档及设置优化 ([d986896](https://github.com/AaronWangCong/suni/commit/d986896fe6323be5bcf3abf2c56576cb513452ae))
14+
* 🐛 修改文档 ([198a125](https://github.com/AaronWangCong/suni/commit/198a125382232361ee652219500e23d539f41f5b))
15+
* 优化iframe渲染 ([417f12c](https://github.com/AaronWangCong/suni/commit/417f12c3636528b7f4e5e439b1586fae3cce4d6f))
16+
17+
18+
### ✏️ Documentation | 文档
19+
20+
* ✏️ 文档修改 ([2d5bfc6](https://github.com/AaronWangCong/suni/commit/2d5bfc6369b333442f3885dcdf565066c50d214c))
21+
22+
### 0.0.2 (2024-09-23)
23+
24+
25+
### ⚠ BREAKING CHANGES
26+
27+
* 🧨 none
28+
29+
### 🐛 Bug Fixes | Bug 修复
30+
31+
* 🐛 文档及设置优化 ([d986896](https://github.com/AaronWangCong/suni/commit/d986896fe6323be5bcf3abf2c56576cb513452ae))
32+
* 🐛 修改文档 ([198a125](https://github.com/AaronWangCong/suni/commit/198a125382232361ee652219500e23d539f41f5b))
33+
* 优化iframe渲染 ([417f12c](https://github.com/AaronWangCong/suni/commit/417f12c3636528b7f4e5e439b1586fae3cce4d6f))
34+
35+
36+
### ✏️ Documentation | 文档
37+
38+
* ✏️ 文档修改 ([2d5bfc6](https://github.com/AaronWangCong/suni/commit/2d5bfc6369b333442f3885dcdf565066c50d214c))
39+
40+
# 更新日志

src/uni_modules/suni/package.json

+1-93
Original file line numberDiff line numberDiff line change
@@ -1,93 +1 @@
1-
{
2-
"id": "suni",
3-
"name": "suni",
4-
"displayName": "suni 基于vue3+Typescript的高颜值组件库",
5-
"version": "1.3.9",
6-
"description": "一个基于Vue3+TS开发的uni-app组件库,提供70+高质量组件,支持暗黑模式、国际化和自定义主题。",
7-
"keywords": [
8-
"suni",
9-
"国际化",
10-
"组件库",
11-
"vue3",
12-
"暗黑模式"
13-
],
14-
"main": "index.ts",
15-
"repository": {
16-
"type": "git",
17-
"url": "https://github.com/Moonofweisheng/suni.git"
18-
},
19-
"engines": {
20-
"HBuilderX": "^3.8.7"
21-
},
22-
"dcloudext": {
23-
"type": "component-vue",
24-
"sale": {
25-
"regular": {
26-
"price": "0.00"
27-
},
28-
"sourcecode": {
29-
"price": "0.00"
30-
}
31-
},
32-
"contact": {
33-
"qq": ""
34-
},
35-
"declaration": {
36-
"ads": "",
37-
"data": "插件不采集任何数据",
38-
"permissions": ""
39-
},
40-
"npmurl": "https://www.npmjs.com/package/suni"
41-
},
42-
"uni_modules": {
43-
"dependencies": [],
44-
"encrypt": [],
45-
"platforms": {
46-
"cloud": {
47-
"tcb": "y",
48-
"aliyun": "y"
49-
},
50-
"client": {
51-
"Vue": {
52-
"vue2": "n",
53-
"vue3": "y"
54-
},
55-
"App": {
56-
"app-vue": "y",
57-
"app-nvue": "u"
58-
},
59-
"H5-mobile": {
60-
"Safari": "y",
61-
"Android Browser": "y",
62-
"微信浏览器(Android)": "y",
63-
"QQ浏览器(Android)": "y"
64-
},
65-
"H5-pc": {
66-
"Chrome": "u",
67-
"IE": "u",
68-
"Edge": "u",
69-
"Firefox": "u",
70-
"Safari": "u"
71-
},
72-
"小程序": {
73-
"微信": "y",
74-
"阿里": "y",
75-
"百度": "u",
76-
"字节跳动": "u",
77-
"QQ": "u",
78-
"钉钉": "y",
79-
"快手": "u",
80-
"飞书": "u",
81-
"京东": "u"
82-
},
83-
"快应用": {
84-
"华为": "u",
85-
"联盟": "u"
86-
}
87-
}
88-
}
89-
},
90-
"peerDependencies": {
91-
"vue": ">=3.2.47"
92-
}
93-
}
1+
{"id":"suni","name":"suni","displayName":"suni 基于vue3+Typescript的高颜值组件库","version":"1.0.0","description":"一个基于Vue3+TS开发的uni-app组件库,提供70+高质量组件,支持暗黑模式、国际化和自定义主题。","keywords":["suni","国际化","组件库","vue3","暗黑模式"],"main":"index.ts","repository":{"type":"git","url":"https://github.com/AaronWangCong/suni.git"},"engines":{"HBuilderX":"^3.8.7"},"dcloudext":{"type":"component-vue","sale":{"regular":{"price":"0.00"},"sourcecode":{"price":"0.00"}},"contact":{"qq":""},"declaration":{"ads":"无","data":"插件不采集任何数据","permissions":"无"},"npmurl":"https://www.npmjs.com/package/suni"},"uni_modules":{"dependencies":[],"encrypt":[],"platforms":{"cloud":{"tcb":"y","aliyun":"y"},"client":{"Vue":{"vue2":"n","vue3":"y"},"App":{"app-vue":"y","app-nvue":"u"},"H5-mobile":{"Safari":"y","Android Browser":"y","微信浏览器(Android)":"y","QQ浏览器(Android)":"y"},"H5-pc":{"Chrome":"u","IE":"u","Edge":"u","Firefox":"u","Safari":"u"},"小程序":{"微信":"y","阿里":"y","百度":"u","字节跳动":"u","QQ":"u","钉钉":"y","快手":"u","飞书":"u","京东":"u"},"快应用":{"华为":"u","联盟":"u"}}}},"peerDependencies":{"vue":">=3.2.47"}}

src/uni_modules/suni/readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
<p align="center">
99

10-
<a href="https://github.com/Moonofweisheng/suni">
11-
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/Moonofweisheng/suni?logo=github&color=%234d80f0&link=https%3A%2F%2Fgithub.com%2FMoonofweisheng%2Fwot-design-uni">
10+
<a href="https://github.com/AaronWangCong/suni">
11+
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/AaronWangCong/suni?logo=github&color=%234d80f0&link=https%3A%2F%2Fgithub.com%2FMoonofweisheng%2Fwot-design-uni">
1212
</a>
1313

1414
<a href='https://gitee.com/suni/suni/stargazers'>
@@ -28,8 +28,8 @@
2828
<img src="https://img.shields.io/npm/dt/suni?style=flat-square">
2929
</a>
3030

31-
<a href="https://github.com/Moonofweisheng/suni">
32-
<img alt="GitHub" src="https://img.shields.io/github/license/Moonofweisheng/suni?logo=github">
31+
<a href="https://github.com/AaronWangCong/suni">
32+
<img alt="GitHub" src="https://img.shields.io/github/license/AaronWangCong/suni?logo=github">
3333
</a>
3434

3535
<a href="https://github.com/actions-cool/" target="_blank" referrerpolicy="no-referrer">

0 commit comments

Comments
 (0)