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

Yarn Berry + Workspace 도입, 프론트엔드 패키지 모노레포 전환 (행록 서비스 + 디자인시스템 + 어드민 통합) #782

Merged
merged 32 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
dc1afca
feature: 프론트엔드 패키지들(행록 서비스, 디자인시스템) 모노레포 초기 구축
dladncks1217 Jan 20, 2024
ecf1a36
build: cypress e2e CI workflow_dispatch 추가
dladncks1217 Jan 20, 2024
f8a67e1
build: cypress e2e CI workflow_dispatch 수정
dladncks1217 Jan 20, 2024
d86ec68
build: cypress ci yml 임시수정
dladncks1217 Jan 20, 2024
58f21f1
build: cypress ci yml 임시수정
dladncks1217 Jan 20, 2024
789db5a
build: cypress ci yml 임시수정
dladncks1217 Jan 20, 2024
b4926fd
build: cypress ci yml 임시수정 3트
dladncks1217 Jan 20, 2024
895cde1
build: cypress ci yml 임시수정 4트
dladncks1217 Jan 20, 2024
f79e11e
build: cypress ci yml 임시수정 5트
dladncks1217 Jan 20, 2024
3c622ce
build: cypress ci yml 임시수정 6트
dladncks1217 Jan 20, 2024
5562061
build: cypress ci yml 임시수정 7트
dladncks1217 Jan 20, 2024
d1a629c
build: hanglog service cypress CI 파이프라인 수정
dladncks1217 Jan 20, 2024
ca72b8b
refactor: 모노레포 패키지 구조 변경, workspace 내 typescript 버전문제 개선중
dladncks1217 Jan 21, 2024
df21801
fix: workspace에서 type을 찾지 못하는 문제 해결
dladncks1217 Jan 22, 2024
b9384e8
chore: .code-workspace 설정 추가
dladncks1217 Jan 22, 2024
4c3c29d
refactor: type error 관련 코드 수정
dladncks1217 Jan 22, 2024
3630472
refactor: 디자인시스템 eslint 터지는 코드 개선
dladncks1217 Jan 22, 2024
7f73493
refactor: 패키지 구조 변경에 의한 cypress ci 테스트코드 수정
dladncks1217 Jan 22, 2024
4e43e26
refactor: 패키지 구조 변경에 의한 chromatic ci yml 수정
dladncks1217 Jan 22, 2024
6643c77
refactor: 패키지 구조 변경에 의한 chromatic ci yml 수정
dladncks1217 Jan 22, 2024
1ff5cc6
refactor: 패키지 구조 변경에 의한 chromatic ci yml 수정 3트
dladncks1217 Jan 22, 2024
a35ac16
fix: ts-pattern 버전문제로 인한 문제 수정
dladncks1217 Jan 22, 2024
2e1c83e
chore: 디자인시스템 ts-pattern 제거
dladncks1217 Jan 22, 2024
4a5604c
chore: 불필요한 ts-pattern 제거
dladncks1217 Jan 22, 2024
8466607
refactor: 패키지 구조 변경에 의한 chromatic ci yml 수정 4트
dladncks1217 Jan 22, 2024
8e2ab91
refactor: 패키지 구조 변경에 의한 chromatic ci yml 수정 5트
dladncks1217 Jan 22, 2024
56ba051
refactor: 패키지 구조 변경에 의한 chromatic ci yml 수정 6트
dladncks1217 Jan 22, 2024
9ae4e42
refactor: 패키지 구조 변경에 의한 chromatic ci yml 수정 7트
dladncks1217 Jan 22, 2024
372b410
refactor: 패키지 구조 변경에 의한 chromatic ci yml 수정 8트
dladncks1217 Jan 22, 2024
8923c8e
refactor: 패키지 구조 변경에 의한 chromatic ci yml 수정 9트
dladncks1217 Jan 22, 2024
ad76480
refactor: chromatic 관련 workspace명령어 제거
dladncks1217 Jan 22, 2024
dafa323
Update README.md
dladncks1217 Jan 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 11 additions & 7 deletions .github/workflows/frontend-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,23 @@ on:
branches:
- develop
paths:
- frontend/**
- .github/**
- frontend-monorepo/packages/hanglog-service/**

defaults:
run:
working-directory: frontend

working-directory: frontend-monorepo/packages/hanglog-service
jobs:
run-dev:
if: contains(github.event.pull_request.labels.*.name, 'FE')
if: contains(github.event.pull_request.labels.*.name, 'FE-Service')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: build design-system
run: yarn run build:design-system

- name: Create env file
run: |
touch .env
Expand All @@ -28,13 +30,15 @@ jobs:
cat .env

- name: Cypress run
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@v6
with:
browser: chrome
start: npm run serve:dev
start: yarn run serve:dev
wait-on: "http://localhost:3000"
record: false
working-directory: ./frontend
working-directory: ./frontend-monorepo/packages/hanglog-service
install-command: yarn install
command: yarn run --binaries-only cypress run
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
7 changes: 7 additions & 0 deletions frontend-monorepo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
31,564 changes: 31,564 additions & 0 deletions frontend-monorepo/.pnp.cjs

Large diffs are not rendered by default.

Loading