pnpm에는 'Catalogs'라는 기능이 있다. 프로젝트 루트의 YAML 파일에 "react: ^18.3.1" 처럼 의존성 버전을 명시해놓으면, 하위 워크스페이스의 package.json에서 "react: catalog:"와 같은 방식으로 YAML 파일에 명시된 버전을 참조할 수 있다. 대규모 모노레포 환경에서는 모든 워크스페이스에 걸쳐서 일종의 '표준 의존성 집합'을 정의하고 전파할 수 있게 만들어주기 때문에 아주 유용하다. 그리고 그걸 yarn에서도 쓸 수 있게 해주는 플러그인: https://github.com/toss/yarn-plugin-catalogs
If you have a fediverse account, you can quote this note from your own instance. Search https://social.silicon.moe/users/parksb/statuses/114268309333445948 on your instance and quote it. (Note that quoting is not supported in Mastodon.)