-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor/monorepo button package #14
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 다양한 컴포넌트에서 사용하는 tailwind유틸리티를 패키지로 독립적으로 관리 하게 함 - 독립된 패키지의 안정성을 위해 테스트 코드 추가
- pnpm-lock.yaml 파일 추가 및 의존성 관리 - pnpm-workspace.yaml에서 패키지 경로 수정 - UI 패키지의 react-button 컴포넌트 추가 및 관련 설정 업데이트 - tsconfig 파일에서 경로 및 컴파일러 옵션 조정
- TypeScript SDK 경로 추가 및 워크스페이스 TSDK 사용 프롬프트 활성화
- 기본 TypeScript 설정(base.json) 및 Next.js, React 라이브러리용 설정(nextjs.json, react-library.json) 추가 - 패키지 메타데이터(package.json) 생성
- package.json에 Turbo 관련 스크립트 추가 - turbo.json 파일 생성하여 빌드, 테스트, 린트 작업 정의 - pnpm-lock.yaml에 Turbo 및 관련 패키지 버전 추가 - .gitignore에 Turbo 관련 파일 추가
- components.json에서 alias 경로를 base-ui로 변경 - tsconfig 파일에서 lib 경로 추가 및 dist, node_modules 제외 - base-ui 버튼 컴포넌트 및 유틸리티 함수 추가
- package.json에서 private 속성을 false로 변경하고, publishConfig 추가 - README.md 파일 생성하여 설치 및 사용법 문서화 - tsconfig.json 파일 추가하여 TypeScript 설정 정의 - vite.config.ts에서 출력 형식 및 경로 설정 수정 - 버튼 컴포넌트에 fullWidth 속성 추가 및 스토리북에 관련 스토리 추가
- base.json에서 verbatimModuleSyntax 속성 제거 - react-button의 package.json에 lint 스크립트 추가 - button.tsx에서 ButtonProps 타입 가져오는 방식을 수정
- pnpm-lock.yaml에서 '@hensley-ui/utils' 의존성 제거 - turbo.json에서 react-button 및 ui 패키지의 의존성 수정 - tsconfig 파일에서 경로 및 포함 항목 조정 - utils 패키지 및 관련 파일 internal로 변경 및 삭제
- package.json에서 워크스페이스에 'packages/ui/*' 추가
🦋 Changeset detectedLatest commit: a3d7bae The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
- TypeScript 오류와 lint 문제가 프로덕션에 도달하는 것을 방지하기위함
- rect-button 패키지내 react의존성 트리 충돌 이슈 를 react, react-dom 19.1.0 통일화
- dts 설정을 통해 src 폴더 구조를 생략하고 타입 선언 파일을 dist 루트에 직접 생성해 깔끔한 출력구조 구성 - 불필요한 테스트/스토리북 파일을 빌드에서 제외
- storybook빌드 성공 후 storybook-static 깃 제거 - button 레거시 참조 경로 제거
- exports에 require 경로 추가
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.