-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Fix] yarn zero install 적용 #314
Conversation
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.
반쪽짜리 yarn berry에서 진정한 yarn berry가 되었네요!!! 👍
zero-install까지 적용하시다니... 영현님 덕분에 많이 배워갑니다 👍👍👍
이제 다른 팀원이 패키지 설치했을때 yarn install하지 않아도 됩니다!! (unplugged된 패키지들은 제외)
- zero-install 덕분에 모든 환경에서 동일한 유효성을 가져서 yarn install을 할 필요가 없어졌다는 것으로 이해했는데 맞을까요?! 🤔
바뀌지 않은 패키지라면 CI환경에 캐싱할 수 있을 것 같은데 어떻게 하면 좋을까 고민입니다!
- github actions 의 cache를 이용하는 방법이 있는 것 같은데 이게 맞을까요?!🤔
빌드 할때 경고와 함께 되던데 수정해야할까요...?🙄
- 컴포넌트를 잘게 쪼개면 해결되는 걸까요..?! 🫠
|
||
- name: Install dependencies | ||
run: yarn install | ||
run: yarn install --immutable |
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.
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.
댓글로 설명하기엔 살짝 길어서 블로그링크 첨부해드릴게요!
https://velog.io/@loevray/TIL-84-yarnberry-zero-install
느낀점 윗 윗 목차 보시면 됩니다!
- 넵! unplugged된 파일을 제외한 모든 의존성 파일이 yarn/cache 폴더에 들어간채 커밋 되었고 pnp.cjs로 패키지 경로와 잘 링크되어있어서 이제 yarn install 할일이 거의 없을거에요
- 오 저도 한번 살펴봤던 액션인데 그게 맞는 것 같아요 ㅎㅎ 다음엔 캐싱 적용해보겠습니다
- 음 경고문구는 다시한번 보고 구글링 해보겠습니다ㅎㅎ
📋 Issue Number
close #313
💻 구현 내용
typescript
types/node
yarn
yarn/sdks
yarn install
하지 않아도 됩니다!! (unplugged된 패키지들은 제외)📷 Screenshots
zero install 도입 전
zero install 도입 후
🤔 고민사항
2. 아직 500kb가넘는 청크가 존재하는데 무엇때문에 이렇게 큰걸까요...?!=> 원인 찾았습니다