[230514] Monorepo
1. ๋ชจ๋ ธ๋ ํฌ ํ์ต
https://d2.naver.com/helloworld/0923884
2. ๋ชจ๋ ธ๋ ํฌ ์ค์ต ์งํ
์ฐธ๊ณ url https://d2.naver.com/helloworld/0923884
- yarn berry ๋ก ๋ชจ๋ ธ๊ทธ๋จ ํ๊ฒฝ ์ ํ
- tsConfig ํ์ผ ํต์ผ (extends ํตํด ์ถ๊ฐ)
- Eslint ์ค์ ํต์ผ (eslint๋? js ๋ฌธ๋ฒ ์๋ฌ๋ฌ์ ๋ ํ์ํด์ฃผ๋ ๋๊ตฌ)
- React Libary ํจ๊ธฐ์ง ๋ง๋ค๊ธฐ
- name ์ @wanted/ui ์ด๋ฐ์์ผ๋ก ๊ณจ๋ฑ ์ด ๋ถํ๋๊ฒ ๊ด์ต , ์ด ํ๋ก์ ํธ ํ๊ณ ์๊ตฌ๋ ๋๋
3. nvm
- node.js ์ฌ๋ฌ๊ฐ ๋ฒ์ ์ผ๋ก ๊ด๋ฆฌ ๊ฐ๋ฅ
- .nvmrc ํ์ผ์ ๋ง๋ค๊ณ ๋ฒ์ ์ด๋, lts/gallium ์ ๋ ฅํ๋ฉด ํด๋น ๋ฒ์ ์ผ๋ก ๋ก๋ ์์ผ์ค
- ๋ก๋ ๋ฒ์ ์ ์์ด์ ๋ช ์ํด์ฃผ๋ ์ต๊ด ์์ผ๋ฉด ์ข์ ( nvm ์ต์คํ ์ ์ค์น๋์์ด์ผํจ , id : abumalick.vscode-nvm )
4. git action
- https://github.com/S2UZY/S2UZY.github.io/actions -> ๋ธ๋ก๊ทธ๋ action
- https://github.com/S2UZY/yarn-berry-test/actions
- manual.yml ์ด์ฉํ๋ฉด ๊น์์ ํด๋น ํ๋ก์ ํธ ๋น๋ํ ์๋ ์๊ณ ์ปค์คํ ๊ฐ๋ฅ
5. turborepo ์ค์ต ์งํ
- https://turbo.build/
- yarn-workspace ๊ฐ์ ๋ชจ๋ ธ๋ ํฌ ๊ธฐ๋ฅ์ ์ข ๋ ์ฝ๊ฒ ์ฌ์ฉ ๊ฐ๋ฅ
Leave a comment