-
Notifications
You must be signed in to change notification settings - Fork 2
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
chore(template): add private:true package.json in template #113
Conversation
|
Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 eslint
scripts/createComponent.tsOops! Something went wrong! :( ESLint: 9.17.0 ESLint couldn't find an eslint.config.(js|mjs|cjs) file. From ESLint v9.0.0, the default configuration file is now eslint.config.js. https://eslint.org/docs/latest/use/configure/migration-guide If you still have problems after following the migration guide, please stop by 워크스루이 풀 리퀘스트는 세 개의 주요 파일 ( 변경 사항
가능한 관련 PR
제안된 리뷰어
시퀀스 다이어그램sequenceDiagram
participant Dev as 개발자
participant Script as createComponent.ts
participant Template as 컴포넌트 템플릿
participant PackageJson as package.json
Dev->>Script: 컴포넌트 생성 명령 실행
Script->>Template: 템플릿 파일 복사
Script->>PackageJson: private 속성 업데이트
Script-->>Dev: 컴포넌트 생성 완료
토끼의 시
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
.github/workflows/release.yaml
(1 hunks).templates/component/package.json
(1 hunks)package.json
(1 hunks)scripts/createComponent.ts
(2 hunks)
🔇 Additional comments (4)
scripts/createComponent.ts (2)
82-91
:updatePackageJson
메서드 구현이 깔끔합니다!비구조화 할당을 사용하여 private 속성을 제거하는 방식이 우아합니다.
130-130
: 실행 순서가 적절합니다.템플릿 복사 후 package.json을 업데이트하는 순서가 논리적입니다.
.github/workflows/release.yaml (1)
31-31
:--ignore
플래그 제거가 적절합니다.PR 목적에 맞게
--ignore
플래그를 제거하여 모든 패키지가 버전 관리에 포함되도록 수정되었습니다.package.json (1)
62-62
: YAML 파일이 린트 대상에서 제외되었습니다.
yml
과yaml
파일이 린트 대상에서 제외되어 워크플로우 파일들의 일관성이 저하될 수 있습니다.다음 스크립트로 영향을 받는 YAML 파일들을 확인해보세요:
"sideEffects": false, | ||
"private": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private
플래그와 publishConfig
설정이 충돌됩니다.
"private": true
와 publishConfig.access: "public"
이 서로 상충됩니다. 이는 패키지의 가시성에 혼란을 줄 수 있습니다.
다음 중 하나의 방법으로 해결해주세요:
private
플래그 제거 (패키지를 공개하려는 경우)publishConfig
섹션 제거 (패키지를 비공개로 유지하려는 경우)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
일단은 approve 안되면 같이 살펴봅시당
Changes
--ignore flag
를 세워도 진행되지 않았습니다. changeset쪽에서도 Monorepo 쪽에서는 커스터마이징이 의도처럼 안될 수 있으니private: true
를 추가해보라고 나와있어서 이 방법을 시도해보려고합니다.Visuals
script를 통해서 컴포넌트를 생성할때, private는 제거토록 했습니다.
Checklist
Additional Discussion Points
Summary by CodeRabbit
워크플로우 변경
패키지 설정
개발 도구
스크립트 개선