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
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
9 changes: 9 additions & 0 deletions .changeset/initial-release-workflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"vue-pivottable": patch
---

feat: 릴리즈 브랜치를 활용한 새로운 배포 워크플로우 구현

- main 브랜치 보호 규칙을 유지하면서 자동 릴리즈 가능
- 각 릴리즈마다 release/v* 브랜치 생성
- 독립적인 패키지 빌드 및 배포 지원
34 changes: 0 additions & 34 deletions .github/workflows/backup/create-release-pr.yml

This file was deleted.

77 changes: 0 additions & 77 deletions .github/workflows/backup/release-lazy-table-renderer.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/backup/release-plotly-renderer.yml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/backup/release-vue-pivottable.yml

This file was deleted.

95 changes: 95 additions & 0 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: PR Check

on:
pull_request:
branches:
- main
- develop

jobs:
lint-and-type-check:
name: Lint and Type Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22.10.0'

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest

- name: Install dependencies
run: pnpm install

- name: Run ESLint
run: |
echo "Linting main package..."
pnpm lint
echo "Linting all workspace packages..."
pnpm -r lint || true # Continue even if some packages don't have lint script

- name: Run TypeScript type check
run: |
echo "Checking main package..."
pnpm typecheck
echo "Checking all workspace packages..."
pnpm -r typecheck || true # Continue even if some packages don't have typecheck script

- name: Check for changesets
run: |
if [ -n "$(ls -A .changeset/*.md 2>/dev/null | grep -v README.md)" ]; then
echo "✅ Changeset found"
else
echo "⚠️ No changeset found. Please add a changeset with 'pnpm changeset add'"
echo " This is required for all changes that affect published packages."
exit 1
fi

build:
name: Build Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22.10.0'

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest

- name: Install dependencies
run: pnpm install

- name: Build all packages
run: pnpm build:all

- name: Check build output
run: |
# Check main package
if [ ! -d "dist" ]; then
echo "❌ Main package build output not found"
exit 1
fi

# Check sub-packages
for pkg in packages/*/; do
if [ -d "$pkg" ] && [ -f "$pkg/package.json" ]; then
if [ ! -d "$pkg/dist" ]; then
echo "❌ Build output not found for $pkg"
exit 1
fi
fi
done

echo "✅ All packages built successfully"
Loading