๐ ****Reference
๐ ****Chapter
Settings & ๋ช
๋ น์ด
Troubleshooting
Yarn classic
Yarn Berry, Yarn Modern
Yarn V3
yarn workspaces
npm, yarn, pnpm
pnpm
npm
โฃ
โฃ
๐ฆย Package
@yarnpkg/sdks
yarn
- Yet Another Resource Negotiator
- Facebook์์ yarn์ ๋ง๋ค์๋ค.
- ํ๋ก์ ํธ์ ์์กด์ฑ์ ๊ด๋ฆฌํ๋ JavaScript ํจํค์ง ๋งค๋์ ์ด๋ค.
- Java์ Gradle์ด๋ Python pip์ ๋น์ทํ ์ญํ ์ ํ๋ค.
- npm๋ณด๋ค ๋ ๋น ๋ฅด๊ณ ๊ฑฐ๊ธฐ๋ค ๋์ฑ ์์ ํ๋ค.
- npm๊ณผ ๊ฐ์ด JavaScript ํจํค์ง์ ์ ์ฅ์๋ฅผ ์ ๊ณตํ ๋ฟ๋ง ์๋๋ผ ์์คํ
์์ ์์กด ํจํค์ง๋ฅผ ์ค์นํ๊ฑฐ๋ ์
๋ฐ์ดํธ ํ๋ ๋ฑ์ ๋ค์ํ ๋ช
๋ น์ ์ ๊ณตํ๋ค.
- yarn์ npm๊ณผ ๋ง์ฐฌ๊ฐ์ง๋ก
package.json
์ ํตํด ์์กด ํจํค์ง๋ฅผ ๊ตฌ๋ถํ๊ณ ํ๋ก์ ํธ์์ ์ด๋ ํ ์ผ๋ค์ ํด์ผ ํ ์ง ๊ฒฐ์ ํ๋ค.
- yarn์ ๋ชจ๋ ํจํค์ง๋ฅผ ์ ์ ๋๋ ํ ๋ฆฌ์ ์ ์ฅํด ์บ์ฑ ํ๋ค.
yarn - ๋ฒ์
- Yarn Classic (v1.x)
- Yarn Berry / Yarn Modern (v2, v3, v4+)