Github Package Registry에 패키지 올려보기
- PAT 발급
- https://github.com/settings/tokens/new
read:packages
체크
- package.json과 같은 위치에 .npmrc 생성 후 아래 내용 저장
//npm.pkg.github.com/:_authToken=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
@chinsun9:registry=https://npm.pkg.github.com/
- 개인 토큰 넣어주기
yarn add @chinsun9/hello-package