docs: add installation instructions for Forgejo registry and update package.json for publishing

This commit is contained in:
암냥 2026-04-05 19:23:21 +09:00
commit 9d1721bc3a
No known key found for this signature in database
3 changed files with 51 additions and 0 deletions

View file

@ -18,6 +18,18 @@ pnpm add @imnyang/comcigan.ts # pnpm
bun add @imnyang/comcigan.ts
```
## Forgejo 레지스트리에서 설치하기
이 패키지를 Forgejo 레지스트리에서 설치할 때는 설치하는 프로젝트(consumer) 쪽 설정이 필요합니다.
프로젝트 루트의 `.npmrc`에 아래를 추가하세요.
```ini
@imnyang:registry=https://git.mizuki.guru/api/packages/imnyang/npm/
```
패키지가 비공식(private)인 경우에는 인증 토큰도 필요합니다.
## 사용 예시
```typescript