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
11 changes: 11 additions & 0 deletions .changeset/fix-beta-release-complete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"vue-pivottable": patch
"@vue-pivottable/plotly-renderer": patch
---

fix: 베타 릴리즈 프로세스 전체 개선

- 베타 버전 중복 문제 해결 (1.1.5-beta.xxx-beta.yyy → 1.1.5-beta.yyy)
- peerDependencies 베타 버전 오염 방지
- changeset 적용 전 package.json 백업 및 peerDependencies 복원 로직 추가
- 워크플로우에서 베타 버전이 의존성에 전파되지 않도록 개선
9 changes: 9 additions & 0 deletions .changeset/fix-develop-beta-issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"vue-pivottable": patch
"@vue-pivottable/plotly-renderer": patch
---

fix: 베타 버전 중복 및 peerDependencies 오염 문제 긴급 수정

- 중복된 베타 버전 제거 (1.1.5-beta.xxx-beta.yyy → 1.1.5-beta.yyy)
- plotly-renderer의 peerDependencies를 원래 버전으로 복원
33 changes: 33 additions & 0 deletions .github/workflows/release-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,46 @@ jobs:
fi
done

# Store package.json files before changeset modifications
for pkg in packages/*/; do
if [ -d "$pkg" ] && [ -f "$pkg/package.json" ]; then
cp "$pkg/package.json" "$pkg/package.json.backup"
fi
done

# Commit all changes
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m "chore: prepare beta release

Changed packages: $CHANGED_PACKAGES"

# Restore peerDependencies from backup to prevent beta version pollution
for pkg in packages/*/; do
if [ -d "$pkg" ] && [ -f "$pkg/package.json.backup" ]; then
cd "$pkg"
# Extract peerDependencies from backup and apply to current
node -e "
const fs = require('fs');
const backup = JSON.parse(fs.readFileSync('./package.json.backup', 'utf8'));
const current = JSON.parse(fs.readFileSync('./package.json', 'utf8'));
if (backup.peerDependencies) {
current.peerDependencies = backup.peerDependencies;
}
fs.writeFileSync('./package.json', JSON.stringify(current, null, 2) + '\\n');
"
rm -f package.json.backup
cd -
fi
done

# Commit peerDependencies fix if there are changes
if ! git diff --quiet; then
git add -A
git commit -m "fix: restore peerDependencies to prevent beta version pollution"
fi

git push origin develop

# Always use current main package version for GitHub release tag
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-pivottable",
"version": "1.1.5-beta.1750384228-beta.1750384534",
"version": "1.1.5-beta.1750384534",
"type": "module",
"description": "",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plotly-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"peerDependencies": {
"vue": "^3.2.0",
"vue-pivottable": "^1.1.5-beta.1750384228"
"vue-pivottable": "^1.1.4"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.2.1",
Expand Down