728x90
React + Yarn + Github
https://github.com/facebook/react 에 github로 기여 해보기 위해서
fork -> clon -> translation README.md to README_KOR.md -> pull-request
하는 중에 난관에 봉착했다. 아래 내용들을 수행한 다음 pu;l;-request하란다...
해보자.......
Before submitting a pull request, please make sure the following is done:
- Fork the repository and create your branch from
master. - Run
yarnin the repository root. - If you've fixed a bug or added code that should be tested, add tests!
- Ensure the test suite passes (
yarn test). Tip:yarn test --watch TestNameis helpful in development. - Format your code with prettier (
yarn prettier). - Make sure your code lints (
yarn lint). Tip:yarn lincto only check changed files. - Run the Flow typechecks (
yarn flow). - If you haven't already, complete the CLA.
Learn more about contributing: https://reactjs.org/docs/how-to-contribute.html
Pull request하기전에, 다음 사항이 완료 되었는지 확안 하십시오:
- THe repository 를 fork하고 master에 branch를 만든다.
- Local 에 clon하고 폴더로 이동후 yarn을 실행한다. //아래 yarn 설치 참조
- 테스트 해야할 버그를 수정했거나 코드를 수정한경우 해당폴더에 테스트들을 추가한다.(ex: README_test.md
- (
yarn test)테스트 슈트가 통과되었는지 확안 하십시오. Tip:yarn test --watch TestName(ex:README_test.md)가 개발에 유용합니다. - (
yarn prettier) 코드를 예쁘게 포멧하십시오. - (
yarn lint)에러가 발생할만한 코드가 있는지 확인하십시오. Tip:yarn linc변경된 파일만 검사. - (
yarn flow) 유형들의 흐름 체크를 실행하시오. - 아직 CLA를 완료하지 않았다면 완료하십시오..
Learn more about contributing: https://reactjs.org/docs/how-to-contribute.html
$ sudo apt install -global yarn
해당 폴더 이동
$ yarn
$ yarn add [package] //add depindencies (=npm --save install [package])
$ yarn remove [package] // remove dependencies(=npm remove [package]
$ yarn // Installing all dependencies in package.json
$ git
'my_lesson > _GIT' 카테고리의 다른 글
| GIT - Edit file (0) | 2018.03.24 |
|---|---|
| GIT - Fork your own copy (0) | 2018.03.24 |
| Git - GITHUB +ATOM 사용 설정하기 (0) | 2017.10.22 |
| GIT - GITHUB 사용법 [중급] (0) | 2017.04.22 |
| GIT - GITHUB Create SSH key (0) | 2016.05.12 |
댓글