Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: setup changeset #202

Merged
merged 7 commits into from
Aug 15, 2024
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: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

3 changes: 1 addition & 2 deletions .changeset/friendly-countries-love.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
"@clab-platforms/land": patch
"@clab-platforms/member": patch
"@clab-platforms/status": patch
"@clab-platforms/status": patch
"@clab-platforms/time": patch
"@clab-platforms/design-system": patch
"@clab-platforms/icon": patch
---

chore(*): rename package name
9 changes: 9 additions & 0 deletions .changeset/moody-snakes-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@clab-platforms/member": patch
"@clab-platforms/status": patch
"@clab-platforms/time": patch
"@clab-platforms/design-system": patch
"@clab-platforms/icon": patch
---

feat: setup changeset
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Release

on:
push:
branches:
- main

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

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: false

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'

- name: Install dependencies
run: pnpm install

- name: Create Release Pull Request
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ public
dist
pnpm-lock.yaml
pnpm-workspace.yaml
.changeset/**/*.md
.husky
**/.turbo
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ GitHub의 이슈는 버그와 개선 사항을 위한 곳입니다. 해당 프

이슈 등록 후 PR을 제출할 수 있어요. 모든 커밋 메시지와 풀 리퀘스트의 제목은 다음 형식을 따라야 해요.

```
```markdown
<type>[optional package scope]: <description> (#<issue number>)

[optional body]
Expand Down
42 changes: 15 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# clab-platforms &middot; [![MIT License](https://img.shields.io/badge/license-GPL--3.0-blue.svg)](https://github.com/KGU-C-Lab/clab-platforms/blob/main/LICENSE) [![pnpm CI](https://github.com/KGU-C-Lab/clab-platforms/actions/workflows/pnpm-ci.yml/badge.svg)](https://github.com/KGU-C-Lab/clab-platforms/actions/workflows/pnpm-ci.yml) [![codecov](https://codecov.io/gh/KGU-C-Lab/clab.page/graph/badge.svg?token=Z5PFR6US6Z)](https://codecov.io/gh/KGU-C-Lab/clab.page)
# clab-platforms &middot; [![GitHub License](https://img.shields.io/github/license/KGU-C-Lab/clab-platforms)](https://github.com/KGU-C-Lab/clab-platforms/blob/main/LICENSE) [![pnpm CI](https://github.com/KGU-C-Lab/clab-platforms/actions/workflows/pnpm-ci.yml/badge.svg)](https://github.com/KGU-C-Lab/clab-platforms/actions/workflows/pnpm-ci.yml) [![codecov](https://codecov.io/gh/KGU-C-Lab/clab.page/graph/badge.svg?token=Z5PFR6US6Z)](https://codecov.io/gh/KGU-C-Lab/clab.page)

경기대학교 AI컴퓨터공학부 개발동아리 [C-Lab](https://www.clab.page/)의 공식 프론트엔드 시스템이에요.
[경기대학교 AI컴퓨터공학부 개발동아리 C-Lab](https://www.clab.page/)의 공식 프론트엔드 시스템이에요.
지속적으로 늘어나는 프론트엔드 프로젝트를 유연하고 효율적으로 관리하기 위해 [모노레포(Monorepo)](https://en.wikipedia.org/wiki/Monorepo) 환경으로 만들어졌어요.

해당 프로젝트는 단순히 동아리 내에서 사용할 목적으로 시작되었지만, 그 목표와 가능성은 훨씬 더 넓고 깊은 의미를 지니고 있어요.
Expand All @@ -18,48 +18,36 @@

## Apps

![monorepo](https://github.com/KGU-C-Lab/clab-platforms/assets/39869096/fd7756f7-7dde-47fa-8a43-e4fc9b33ecbf)
![monorepo diagram](https://github.com/user-attachments/assets/fae92084-3945-47ee-b1a9-fffad4a09cd9)

> @clab-platforms에 구성되어 있는 프로젝트의 모노레포 구성도예요. 더 자세히 알고 싶다면 해당 프로젝트의 `README.md`를 살펴봐주세요.
> @clab-platforms의 프로젝트 구성도예요. 더 자세히 알고 싶다면 해당 프로젝트의 `README.md`를 살펴봐주세요.

### auth &middot; ![WIP](https://img.shields.io/badge/work_in_progress-black)
### auth &middot; [![Website](https://img.shields.io/website?url=https%3A%2F%2Fauth.clab.page&up_message=online&up_color=black&down_message=offline&down_color=black&label=in%20production&labelColor=black)](https://auth.clab.page/) ![GitHub package.json version](https://img.shields.io/github/package-json/v/KGU-C-Lab/clab-platforms?filename=apps%2Fauth%2Fpackage.json&labelColor=black&color=black)

구성원 계정을 OAuth 프로토콜을 기반으로 서비스에 편리하게 연결할 수 있는 통합 인증 시스템이에요.
구성원 계정을 OAuth 프로토콜을 기반으로 @clab-platforms 서비스를 편리하게 연결할 수 있는 통합 인증 시스템이에요.

### land &middot; ![WIP](https://img.shields.io/badge/work_in_progress-black)
### land &middot; [![Website](https://img.shields.io/website?url=https%3A%2F%2Fwww.clab.page&up_message=online&up_color=black&down_message=offline&down_color=black&label=in%20production&labelColor=black)](https://www.clab.page/) ![GitHub package.json version](https://img.shields.io/github/package-json/v/KGU-C-Lab/clab-platforms?filename=apps%2Fland%2Fpackage.json&labelColor=black&color=black)

모임에 대한 소개, 활동, 블로그 등 다양한 정보를 공유하는 랜딩페이지 시스템이에요.

### [member](https://github.com/KGU-C-Lab/clab-platforms/blob/main/apps/member) &middot; ![WIP](https://img.shields.io/badge/work_in_progress-black)
### [member](https://github.com/KGU-C-Lab/clab-platforms/blob/main/apps/member) &middot; [![Website](https://img.shields.io/website?url=https%3A%2F%2Fplay.clab.page&up_message=online&up_color=black&down_message=offline&down_color=black&label=in%20production&labelColor=black)](https://play.clab.page/) ![GitHub package.json version](https://img.shields.io/github/package-json/v/KGU-C-Lab/clab-platforms?filename=apps%2Fmember%2Fpackage.json&labelColor=black&color=black)

구성원의 활동과 커뮤니케이션을 지원하는 인터널(Internal) 플랫폼이에요.
구성원의 활동과 커뮤니케이션을 지원하는 인터널(Internal) 그룹웨어 시스템이에요.

### status &middot; ![WIP](https://img.shields.io/badge/work_in_progress-black)
### status &middot; ![WIP](https://img.shields.io/badge/work_in_progress-black) ![GitHub package.json version](https://img.shields.io/github/package-json/v/KGU-C-Lab/clab-platforms?filename=apps%2Fstatus%2Fpackage.json&labelColor=black&color=black)

서비스하는 모든 시스템의 상태를 모니터링하고 관리하는 시스템이에요.
서비스 시스템의 상태를 모니터링하고 관리하는 시스템이에요.

### time &middot; ![WIP](https://img.shields.io/badge/work_in_progress-black)
### time &middot; ![WIP](https://img.shields.io/badge/work_in_progress-black) ![GitHub package.json version](https://img.shields.io/github/package-json/v/KGU-C-Lab/clab-platforms?filename=apps%2Ftime%2Fpackage.json&labelColor=black&color=black)

학교 생활에 필요한 정보를 관리하는 플랫폼 시스템이에요.
학교 생활에 필요한 정보를 제공하고 관리하는 플랫폼 시스템이에요.

## Packages

### config

프로젝트 설정 파일의 일관성을 유지하기 위한 패키지에요.

### [design-system](https://github.com/KGU-C-Lab/clab-platforms/tree/main/packages/design-system) &middot; ![WIP](https://img.shields.io/badge/work_in_progress-black)
### [design-system](https://github.com/KGU-C-Lab/clab-platforms/tree/main/packages/design-system) &middot; ![WIP](https://img.shields.io/badge/work_in_progress-black) ![GitHub package.json version](https://img.shields.io/github/package-json/v/KGU-C-Lab/clab-platforms?filename=packages%2Fdesign-system%2Fpackage.json&labelColor=black&color=black)

일관성 있는 UI&UX를 위한 디자인 시스템이에요. @clab-platforms의 모든 프로젝트는 해당 디자인 시스템을 사용해요.

### utils

공통적으로 사용하는 유틸리티 패키지에요.

### icon

공통적으로 사용하는 아이콘 패키지에요.

## Server

> Back-end, Server, Infra에 대한 정보는 다른 저장소에서 확인할 수 있어요.
Expand All @@ -82,7 +70,7 @@

<details>
<summary>해당 시스템을 참고하거나 자유롭게 사용해도 되나요?</summary>
네, 가능합니다! 이 프로젝트는 GNU 라이센스 하에 배포되어 있으며, 라이센스 조건에 따라 자유롭게 사용하실 수 있습니다.
네, 가능합니다! 이 프로젝트는 GNU 라이센스 하에 배포되어 있으며, 라이센스 조건에 따라 자유롭게 사용하실 수 있어요.
</details>

<details>
Expand Down
2 changes: 1 addition & 1 deletion apps/member/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @clab-platforms/member &middot; [![MIT License](https://img.shields.io/badge/license-GPL--3.0-blue.svg)](https://github.com/KGU-C-Lab/clab-platforms/blob/main/LICENSE) [![pnpm CI](https://github.com/KGU-C-Lab/clab-platforms/actions/workflows/pnpm-ci.yml/badge.svg)](https://github.com/KGU-C-Lab/clab-platforms/actions/workflows/pnpm-ci.yml)
# @clab-platforms/member &middot; [![Website](https://img.shields.io/website?url=https%3A%2F%2Fplay.clab.page&up_message=online&up_color=black&down_message=offline&down_color=black&label=in%20production&labelColor=black)](https://play.clab.page/) ![GitHub package.json version](https://img.shields.io/github/package-json/v/KGU-C-Lab/clab-platforms?filename=apps%2Fmember%2Fpackage.json&labelColor=black&color=black)

멤버스(Members)는 구성원의 활동과 커뮤니케이션을 지원하는 인터널(Internal) 그룹웨어 시스템이에요.
모임에서 필요한 모든 기능을 제공하며, 구성원들이 손쉽게 활동을 관리하고 소통할 수 있도록 도와줘요. 활동, 일정, 커뮤니티, 도서관, 회비 등 다양한 기능을 제공하고 있어요.
Expand Down
36 changes: 0 additions & 36 deletions apps/status/README.md

This file was deleted.

4 changes: 2 additions & 2 deletions apps/status/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"type": "tsc --noEmit"
},
"dependencies": {
"@clab-platforms/utils": "workspace:^",
"@clab-platforms/utils": "workspace:*",
"next": "14.2.4",
"react": "^18",
"react-dom": "^18",
"react-lottie-player": "^2.0.0"
},
"devDependencies": {
"@clab-platforms/config": "workspace:^",
"@clab-platforms/config": "workspace:*",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
Expand Down
1 change: 0 additions & 1 deletion apps/time/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion apps/time/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@clab-platforms/kgu-plus",
"name": "@clab-platforms/time",
"version": "0.1.0",
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @clab-platforms/design-system &middot; [![MIT License](https://img.shields.io/badge/license-GPL--3.0-blue.svg)](https://github.com/KGU-C-Lab/clab-platforms/blob/main/LICENSE) [![pnpm CI](https://github.com/KGU-C-Lab/clab-platforms/actions/workflows/pnpm-ci.yml/badge.svg)](https://github.com/KGU-C-Lab/clab-platforms/actions/workflows/pnpm-ci.yml) [![codecov](https://codecov.io/gh/KGU-C-Lab/clab.page/graph/badge.svg?token=Z5PFR6US6Z)](https://codecov.io/gh/KGU-C-Lab/clab.page)
# @clab-platforms/design-system &middot; ![WIP](https://img.shields.io/badge/work_in_progress-black) ![GitHub package.json version](https://img.shields.io/github/package-json/v/KGU-C-Lab/clab-platforms?filename=packages%2Fdesign-system%2Fpackage.json&labelColor=black&color=black)

C-Lab Design System(CDS)은 동아리의 모든 프로젝트에 일관된 디자인을 적용하기 위해 개발된 통합 디자인 시스템이에요.
CDS는 동아리 내에서 사용할 목적으로 개발되었지만, 차기 버전은 지금의 모습보다 더욱 고도화하여 외부에서도 사용할 수 있도록 배포할 예정이에요.
Expand Down
6 changes: 3 additions & 3 deletions packages/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"build-storybook": "storybook build",
"build": "./build.bash"
},
"dependencies": {
"@clab-platforms/icon": "workspace:*"
},
"devDependencies": {
"@chromatic-com/storybook": "^1.3.4",
"@clab-platforms/config": "workspace:*",
Expand Down Expand Up @@ -52,8 +55,5 @@
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"dependencies": {
"@clab-platforms/icon": "workspace:*"
}
}
1 change: 0 additions & 1 deletion packages/icon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "@clab-platforms/icon",
"version": "0.1.0",
"private": true,
"main": "src/index.ts",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading