Skip to content

chinsun9/hello-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello-package

Github Package Registry에 패키지 올려보기

Install

  1. PAT 발급

https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-to-github-packages

  1. package.json과 같은 위치에 .npmrc 생성 후 아래 내용 저장
//npm.pkg.github.com/:_authToken=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
@chinsun9:registry=https://npm.pkg.github.com/
  • 개인 토큰 넣어주기
  1. yarn add @chinsun9/hello-package