Skip to content

Conversation

@Seungwoo321
Copy link
Member

문제점

베타 릴리스 시 하위 패키지들이 빌드 오류 발생했지만 그대로 퍼블리시됨:

  • Could not find a declaration file for module 'vue-pivottable'
  • TypeScript 오류가 있었지만 워크플로우는 계속 진행

해결방법

1. 빌드 실패 시 즉시 중단

set -e  # Exit immediately if any command fails

2. 빌드 순서 조정

# Before: 모든 패키지 동시 빌드
pnpm build:all

# After: 메인 패키지 먼저, 하위 패키지 나중에
pnpm build  # 메인 패키지 (타입 선언 파일 생성)
pnpm -r --filter './packages/*' build  # 하위 패키지

이렇게 하면 하위 패키지들이 메인 패키지의 타입 선언 파일을 참조할 수 있습니다.

변경 파일

  • .github/workflows/release-develop.yml
  • .changeset/fix-build-order.md

Seungwoo321 and others added 4 commits June 19, 2025 14:22
- set -e 추가: 빌드 실패 시 즉시 중단
- 빌드 순서 변경: 메인 패키지 → 하위 패키지
- 타입 선언 파일 문제 해결

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- 기존 워크플로우와 새 워크플로우 비교 (Mermaid 다이어그램)
- TypeScript 전환 시 발생한 실제 문제 설명
- Changesets와 베타 릴리스 도입 효과

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Remove TO_SUMIN.md documentation file
- Update pnpm-lock.yaml after dependency reinstall
- Add missing id to release workflow step
@Seungwoo321 Seungwoo321 merged commit f856540 into develop Jun 19, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants