Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 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
10 changes: 6 additions & 4 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": true,
"fixed": [],
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "team-bofit/bofit-client" }
],
"commit": false,
"linked": [],
"access": "restricted",
"baseBranch": "develop",
Expand Down
6 changes: 0 additions & 6 deletions .changeset/ninety-spoons-unite.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/tall-lemons-join.md

This file was deleted.

95 changes: 0 additions & 95 deletions .github/workflows/release.yml

This file was deleted.

69 changes: 69 additions & 0 deletions .github/workflows/version-control.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Changeset Version Check Only

on:
pull_request:
branches: [develop]
types: [opened, synchronize, reopened]

permissions:
contents: write

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
check-and-preview-changesets:
name: Check & Preview Changesets
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' && github.base_ref == 'develop'

steps:
- name: 📥 Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: 📦 Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.12.0

- name: ⚙️ Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'

- name: 📚 Install dependencies
run: pnpm install --frozen-lockfile

- name: ✅ Check for Changesets
run: |
echo "🔍 Changeset 존재 여부 확인 중..."

if [ ! -d ".changeset" ]; then
echo "❌ .changeset 디렉토리가 없습니다!"
echo "💡 'pnpm changeset'을 실행하여 변경사항을 작성해주세요."
exit 1
fi

if [ -z "$(ls -A .changeset/*.md 2>/dev/null)" ]; then
echo "❌ .changeset 디렉토리에 changeset 파일이 없습니다!"
echo "💡 'pnpm changeset'을 실행하여 변경사항을 작성해주세요."
echo "📖 자세한 내용은 CHANGESETS.md를 참고하세요."
exit 1
fi

echo "✅ 다음 changeset 파일들이 확인되었습니다:"
ls -la .changeset/*.md
echo ""

- name: Bump version and generate changelog
run: pnpm changeset version

- name: Commit version bump
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "chore: release version" || echo "No changes to commit"
git push origin HEAD:${{ github.head_ref }}
14 changes: 14 additions & 0 deletions apps/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# @bofit/client

## 1.0.0

### Major Changes

- 5ec8413: first version control
- b887609: init version control

### Patch Changes

- Updated dependencies [5ec8413]
- Updated dependencies [b887609]
- @bds/[email protected]
2 changes: 1 addition & 1 deletion apps/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bofit/client",
"version": "0.0.0",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
11 changes: 11 additions & 0 deletions packages/bds-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# @bds/ui

## 1.0.0

### Major Changes

- 5ec8413: first version control

### Patch Changes

- b887609: init version control
2 changes: 1 addition & 1 deletion packages/bds-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bds/ui",
"version": "0.1.0",
"version": "1.0.0",
"private": true,
"exports": {
".": "./src/components/index.ts",
Expand Down