Skip to content

Commit 8849fc1

Browse files
committed
refactor(project): 重构项目结构并优化样式
- 将插件包从 packages/plugin 移动到根目录 - 重命名并优化 commit 推送页面的 CSS 样式 - 增强 HTML 模板中的分支和提交信息展示 - 调整资源文件路径以匹配新结构 - 优化字体加载和整体视觉设计 - 改进响应式布局和组件间距 - 添加背景和毛玻璃效果提升视觉体验
1 parent 6791730 commit 8849fc1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+541
-515
lines changed
File renamed without changes.

.github/workflows/build.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,12 @@ jobs:
2121
with:
2222
bun-version: latest
2323

24-
- name: 安装依赖
25-
run: |
26-
bun install
27-
cp -r README.md LICENSE packages/plugin/
28-
2924
- name: 构建plugin
3025
run: |
3126
bun install
3227
bun run build
3328
mkdir -p ${{ runner.temp }}/temp/plugin
3429
cp -r package.json CHANGELOG.md README.md LICENSE resources config lib ${{ runner.temp }}/temp/plugin
35-
working-directory: packages/plugin
3630
3731
- name: 上传plugin构建产物
3832
uses: actions/upload-artifact@v4

.github/workflows/release-beta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
uses: actions/download-artifact@v4
6767
with:
6868
name: plugin
69-
path: ./plugin
69+
path: .
7070

7171
- name: 获取token
7272
uses: actions/create-github-app-token@v2
@@ -83,7 +83,7 @@ jobs:
8383

8484
- name: 发布 plugin
8585
run: |
86-
bun x pkg-pr-new publish './plugin' --json output.json --comment=off > plugin.txt 2>&1
86+
bun x pkg-pr-new publish --json output.json --comment=off > plugin.txt 2>&1
8787
8888
echo "## 成功推送的Package包 :" >> $GITHUB_STEP_SUMMARY
8989
echo "包名: \`@candriajs/karin-plugin-git\`" >> $GITHUB_STEP_SUMMARY

.release-please-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
}
6565
],
6666
"packages": {
67-
"packages/plugin": {
67+
".": {
6868
"release-type": "node"
6969
}
7070
},

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"packages/plugin": "1.0.0"
2+
".": "1.0.0"
33
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)