https://github.com/chinsun9/hello-package
https://github.com/chinsun9/hello-package
github-registry npm registry
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chinsun9/hello-package
- Owner: chinsun9
- Created: 2021-06-17T01:47:47.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-17T04:28:53.000Z (almost 4 years ago)
- Last Synced: 2025-01-30T08:43:08.800Z (4 months ago)
- Topics: github-registry, npm, registry
- Language: TypeScript
- Homepage: https://chinsun9.github.io/2021/06/17/my-first-github-package/
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hello-package
Github Package Registry에 패키지 올려보기
## Install
0. PAT 발급
> https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-to-github-packages
- https://github.com/settings/tokens/new
- `read:packages` 체크1. package.json과 같은 위치에 **.npmrc** 생성 후 아래 내용 저장
```.npmrc .npmrc
//npm.pkg.github.com/:_authToken=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
@chinsun9:registry=https://npm.pkg.github.com/
```- 개인 토큰 넣어주기
2. `yarn add @chinsun9/hello-package`