-
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
Feature/set yarn berry/tmf 27 #185
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.
수고하셨습니당 😎
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.
수고하셨습니다.......
|
개요
프로젝트 규모가 커짐에 따라 효율적인 종속성 관리 툴이 필요하여
yarn berry
설정을 하였습니다.작업사항
기본 설정 관련
yarnpkg.com
을 보고 플러그 앤 플레이 방식으로yarn berry
설정을 하였고 그 이후 발생된 이슈들을 처리했습니다. 마이그레이션시 참고한 자료입니다. 📖 <.pnp.cjs
에 플러그 앤 플레이가 디폴트로 설정되어 있기는 하지만 명시해주면 좋을것 같아 아래 코드를 삽입했습니다.nodeLinker: "pnp"
그리고 플러그 앤 플레이 방식으로 변경됨에 따라 기존의
node-modules
(gitignore당해서 github에는 존재하지 않음)와package-lock.json
을 제거했습니다.그리고
package.json
에서는eslint
설정을 불러올 수 없기에.eslintrc.json
에 다음과 같은 코드를 옮겼습니다.yarn script 관련
react-script start
앞에export 8080 ...
코드때문에 실행이 되지 않았습니다.yarn add eslint-config-react-app
을 입력하여 해결했습니다. 관련 자료yarn add react-router eslint-config-react-app
을 입력하여 해결하였습니다. 관련 자료yarn add react-is
를 입력하여 해결했습니다. 관련 자료type-script 관련