Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
ebff304
Merge pull request #78 from VisActor/sync/main-1.12.3
xuefei1313 Jan 21, 2026
d1aab54
feat: add test release
xuefei1313 Jan 21, 2026
b0220d6
Merge pull request #79 from VisActor/feat/support-test-release
xuefei1313 Jan 21, 2026
d9074ee
Refactor Node.js script for version calculation
xuefei1313 Jan 21, 2026
5c2de39
Merge pull request #81 from VisActor/xuefei1313-patch-1
xuefei1313 Jan 21, 2026
760f99b
Add workflow to sync develop branch to test-release
xuefei1313 Jan 21, 2026
2db020c
Merge pull request #83 from VisActor/xuefei1313-patch-2
xuefei1313 Jan 21, 2026
affa8ce
Fix syntax issues in test-release workflow
xuefei1313 Jan 21, 2026
3cc9bff
Merge pull request #84 from VisActor/xuefei1313-patch-3
xuefei1313 Jan 21, 2026
ff9d6e8
Update test-release-trigger.yml
xuefei1313 Jan 21, 2026
6379984
Merge pull request #86 from VisActor/xuefei1313-patch-4
xuefei1313 Jan 21, 2026
c5779c6
Update test-release-trigger.yml
xuefei1313 Jan 21, 2026
b8490b9
Merge pull request #88 from VisActor/xuefei1313-patch-5
xuefei1313 Jan 21, 2026
661acbb
Update test-release-trigger.yml
xuefei1313 Jan 22, 2026
5267b42
Merge pull request #90 from VisActor/xuefei1313-patch-6
xuefei1313 Jan 22, 2026
7a5e0fd
Update test-release-trigger.yml
xuefei1313 Jan 22, 2026
ae24da0
Merge pull request #92 from VisActor/xuefei1313-patch-7
xuefei1313 Jan 22, 2026
32cd809
feat: 新增vchart-aurora-theme主题包
Jan 26, 2026
1acfa20
docs: update changlog of rush
Jan 26, 2026
1631dfd
chore: 更新 vchart-aurora-theme 版本号至 1.12.2
Jan 26, 2026
90d36d4
feat(theme): 添加aurora主题配置和文档说明
Jan 26, 2026
614538b
Merge remote-tracking branch 'upstream/xuefei1313-test-release' into …
Jan 26, 2026
0b04fdc
chore: 更新 vchart-aurora-theme 版本号至 1.12.3
Jan 26, 2026
87a7d52
chore: 更新 vchart-theme-utils 依赖版本至 1.12.3
Jan 27, 2026
32fd8f6
fix(vchart-aurora-theme): 修正主题名称引用和饼图样式配置
Jan 29, 2026
79924f6
style(theme): 更新默认颜色方案并优化颜色调色板生成方式
Jan 29, 2026
c5db49e
chore: 更新 vchart-theme-utils 依赖至 1.12.3 版本
Jan 29, 2026
d05115a
feat: 重构vchart-aurora主题并优化图表展示
Mar 11, 2026
3d3ee95
fix(tooltip): 修改tooltip图形形状为圆形以匹配图例样式
Mar 11, 2026
b1a4c00
refactor(vchart-aurora-theme): 重构主题配置并优化图表样式
Mar 12, 2026
90af619
feat(demo): 新增双轴柱状图示例并清理无用代码
Mar 12, 2026
010ba7a
feat(theme): 更新图表主题配置
Mar 18, 2026
80c0e0d
feat: 更新依赖版本至vchart 2.0.22并优化雷达图配置
Apr 20, 2026
ca48f5a
feat(theme): add radar crosshair config and complete funnel chart sup…
Jun 2, 2026
26ec83e
style: 更新字体名称为Douyin Number ABC
Jun 2, 2026
a1e2de7
Merge pull request #115 from lushanyanYX/feat/aurora-theme-0602
xuefei1313 Jun 3, 2026
d8a3018
Merge pull request #116 from VisActor/xuefei1313-patch-7
xuefei1313 Jun 3, 2026
9493d40
fix: restore package build against VChart theme contracts
xuefei1313 Jun 3, 2026
9f0044f
Merge pull request #117 from VisActor/codex/fix-vchart-component-them…
xuefei1313 Jun 3, 2026
6a03fd8
build: release version 1.13.0
github-actions[bot] Jun 3, 2026
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
14 changes: 14 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/pr_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@
- [ ] 配置修改
- [ ] 其他 (具体是什么,请补充?)

### 🧪 是否需要发布测试版本(npm 预发布包)

<!--
如果本次改动需要通过 npm 测试版用于内部灰度,请在勾选的同时,为 PR 添加对应的 label:
- `release:alpha`:早期验证用测试版
- `release:beta`:相对稳定的测试版
- `release:rc`:接近正式发布的候选版本

当 PR 合入 `test-release` 分支且带有上述 label 时,将自动触发测试发布流程。
-->

- [ ] 不需要,仅本地验证即可
- [ ] 需要测试发布(请确保已添加合适的 `release:*` label)

### 🔗 相关 issue 连接

<!--
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/sync-develop-to-test-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Sync develop to test-release

on:
push:
branches:
- develop

jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Sync test-release to develop
env:
GITHUB_ACTOR: ${{ github.actor }}
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"

# 拉取最新的 develop 和 test-release
git fetch origin develop test-release

# 基于最新 develop 创建/重置本地临时分支
git checkout -B sync-temp origin/develop

# 强制将远端 test-release 覆盖为 develop 当前状态
git push origin +sync-temp:test-release
160 changes: 160 additions & 0 deletions .github/workflows/test-release-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
name: Test Release Trigger

on:
pull_request:
types:
- closed
branches:
- test-release

jobs:
create_prerelease_branch:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
matrix:
node-version: [18.x]
concurrency:
group: test-release-publish
cancel-in-progress: false
steps:
# 1. 生成 GitHub App Token
- name: Generate GitHub App Token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}

# 2. 使用 App Token 进行 Checkout
- name: Checkout repository
uses: actions/checkout@v3
with:
token: ${{ steps.app-token.outputs.token }} # 这里使用生成的 App Token
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install jq
run: |
sudo apt-get update
sudo apt-get install -y jq

- name: Detect prerelease type from labels
id: detect
run: |
labels=$(jq -r '.pull_request.labels[].name' "$GITHUB_EVENT_PATH" 2>/dev/null || echo "")
echo "PR labels: $labels"

type=""
if [[ "$labels" == *"release:alpha"* ]]; then
type="alpha"
elif [[ "$labels" == *"release:beta"* ]]; then
type="beta"
elif [[ "$labels" == *"release:rc"* ]]; then
type="rc"
else
type="alpha"
fi

echo "type=$type" >> "$GITHUB_OUTPUT"

- name: Read base version from vchart-theme package
id: ver
uses: xile611/read-package-version-action@main
with:
path: packages/vchart-theme

- name: Compute prerelease version string
id: next
env:
BASE: ${{ steps.ver.outputs.current_version }}
TYPE: ${{ steps.detect.outputs.type }}
run: |
if [ -z "$BASE" ]; then
echo "Base version is empty, abort."
exit 1
fi

N=$(node -e '
const { execSync } = require("child_process");
const base = process.env.BASE;
const type = process.env.TYPE;
let versions = [];
try {
const out = execSync("npm view @visactor/vchart-theme versions --json", { encoding: "utf8" });
versions = JSON.parse(out || "[]");
} catch (e) {
versions = [];
}
const regex = new RegExp("^" + base.replace(/\\\./g, "\\\.") + "-" + type + "\\\.(\\\d+)$");
let max = -1;
for (const v of versions) {
const m = regex.exec(v);
if (m) {
const n = parseInt(m[1], 10);
if (!Number.isNaN(n) && n > max) max = n;
}
}
const next = max + 1;
console.log(String(next));
')

echo "Next sequence N=$N"
full="${BASE}-${TYPE}.${N}"
echo "Use prerelease version: $full"

echo "full=$full" >> "$GITHUB_OUTPUT"
echo "branch=pre-release/$full" >> "$GITHUB_OUTPUT"

- name: Create prerelease branch from merged PR commit
env:
PRERELEASE_BRANCH: ${{ steps.next.outputs.branch }}
MERGE_SHA: ${{ github.event.pull_request.merge_commit_sha }}
run: |
if [ -z "$PRERELEASE_BRANCH" ]; then
echo "PRERELEASE_BRANCH is empty, abort."
exit 1
fi

# 配置 Git 用户信息 (使用 GitHub Actions Bot 身份,或者你可以自定义为 Bot 名)
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

# 切分支
git checkout -b "$PRERELEASE_BRANCH" "$MERGE_SHA"

# 推送
# 因为 Checkout 步骤已经使用了 App Token,这里的 push 会自动复用该权限
# 且 App Token 推送会触发后续 workflow
git push origin "$PRERELEASE_BRANCH"

echo "Pushed prerelease branch $PRERELEASE_BRANCH"

sync_test_release:
needs: create_prerelease_branch
if: always()
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Sync test-release to develop
env:
GITHUB_ACTOR: ${{ github.actor }}
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"

git fetch origin develop test-release
git checkout -B sync-temp origin/develop
git push origin +sync-temp:test-release
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Unit test CI

on:
pull_request:
branches: ['main', 'develop', 'dev/**']
branches: ['main', 'develop', 'dev/**', 'test-release']

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,4 @@ tsconfig.tsbuildinfo
common/scripts/pre-commit

.vite
.omx/
Loading