Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ public
tmp/
temp/

# API Extractor outputs (keep docs/ and api-reports/ for GitHub Pages)
# temp/ - ignored (API Extractor temporary files)
# docs/ - committed (for GitHub Pages)
# api-reports/ - committed (for API tracking)

# Claude Code memory file
CLAUDE.md

Expand Down
113 changes: 113 additions & 0 deletions GITHUB_PAGES_SETUP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# GitHub Pages๋กœ API ๋ฌธ์„œ ํ˜ธ์ŠคํŒ…ํ•˜๊ธฐ

## ์ƒ์„ฑ๋œ ๋ฌธ์„œ

API Extractor๋ฅผ ํ†ตํ•ด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋ฌธ์„œ๊ฐ€ ์ƒ์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค:

### ๐Ÿ“ docs/ ํด๋”
- **index.md**: ๋ฉ”์ธ API ๋ฌธ์„œ ํŽ˜์ด์ง€
- **๊ฐ ํƒ€์ž…๋ณ„ ์ƒ์„ธ ๋ฌธ์„œ**: ๋ชจ๋“  ์ธํ„ฐํŽ˜์ด์Šค, ํƒ€์ž…, ํ•จ์ˆ˜์— ๋Œ€ํ•œ ๊ฐœ๋ณ„ ๋งˆํฌ๋‹ค์šด ํŒŒ์ผ
- **๋„ค์ž„์ŠคํŽ˜์ด์Šค๋ณ„ ๊ตฌ์„ฑ**: `dungeonfighter.*`, `cyphers.*` ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋กœ ์ฒด๊ณ„์  ๋ถ„๋ฅ˜

## GitHub Pages ์„ค์ • ๋ฐฉ๋ฒ•

### 1. GitHub ์ €์žฅ์†Œ ์„ค์ •
1. GitHub์—์„œ `neople-openapi-types` ์ €์žฅ์†Œ๋กœ ์ด๋™
2. **Settings** ํƒญ ํด๋ฆญ
3. ์™ผ์ชฝ ์‚ฌ์ด๋“œ๋ฐ”์—์„œ **Pages** ํด๋ฆญ

### 2. ์†Œ์Šค ์„ค์ •
1. **Source**์—์„œ **Deploy from a branch** ์„ ํƒ
2. **Branch**์—์„œ `main` ๋ธŒ๋žœ์น˜ ์„ ํƒ
3. **Folder**์—์„œ `/docs` ์„ ํƒ
4. **Save** ํด๋ฆญ

### 3. ์ ‘๊ทผ URL
์„ค์ • ์™„๋ฃŒ ํ›„ ๋‹ค์Œ URL์—์„œ ๋ฌธ์„œ์— ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
```
https://crowrish.github.io/neople-openapi-types/
```

## ๋ฌธ์„œ ๊ตฌ์กฐ

```
docs/
โ”œโ”€โ”€ index.md # ๋ฉ”์ธ ํŽ˜์ด์ง€
โ”œโ”€โ”€ neople-openapi-types.md # ํŒจํ‚ค์ง€ ๊ฐœ์š”
โ”œโ”€โ”€ neople-openapi-types.dungeonfighter.md # ๋˜์ „์•คํŒŒ์ดํ„ฐ ๋„ค์ž„์ŠคํŽ˜์ด์Šค
โ”œโ”€โ”€ neople-openapi-types.cyphers.md # ์‚ฌ์ดํผ์ฆˆ ๋„ค์ž„์ŠคํŽ˜์ด์Šค
โ”œโ”€โ”€ neople-openapi-types.commonapierrorcode.md # ๊ณตํ†ต ์—๋Ÿฌ ์ฝ”๋“œ
โ”œโ”€โ”€ neople-openapi-types.httpstatuscode.md # HTTP ์ƒํƒœ ์ฝ”๋“œ
โ””โ”€โ”€ [๊ฐ ํƒ€์ž…๋ณ„ ์ƒ์„ธ ํŒŒ์ผ๋“ค...]
```

## ์ž๋™ ์—…๋ฐ์ดํŠธ

ํ˜„์žฌ ์„ค์ •์œผ๋กœ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ž๋™ํ™”๋ฉ๋‹ˆ๋‹ค:

1. **์ฝ”๋“œ ๋ณ€๊ฒฝ** โ†’ `npm run build:docs` โ†’ **๋ฌธ์„œ ์žฌ์ƒ์„ฑ**
2. **Git ์ปค๋ฐ‹ & ํ‘ธ์‹œ** โ†’ **GitHub Pages ์ž๋™ ๋ฐฐํฌ**

## GitHub Actions ์ž๋™ํ™” (์„ ํƒ์‚ฌํ•ญ)

๋” ์™„์ „ํ•œ ์ž๋™ํ™”๋ฅผ ์œ„ํ•ด `.github/workflows/docs.yml` ์ถ”๊ฐ€:

```yml
name: Deploy Docs
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'

- run: npm install
- run: npm run build:docs

- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: \${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
```

## ์ ‘๊ทผ ๋ฐฉ๋ฒ•

### 1. ๋ธŒ๋ผ์šฐ์ €์—์„œ ์ง์ ‘ ์ ‘๊ทผ
- ๋ฉ”์ธ ํŽ˜์ด์ง€: `https://crowrish.github.io/neople-openapi-types/`
- ํŠน์ • ํƒ€์ž…: `https://crowrish.github.io/neople-openapi-types/neople-openapi-types.dungeonfighter.characterbasic.md`

### 2. README.md์— ๋งํฌ ์ถ”๊ฐ€
```markdown
## ๐Ÿ“– API ๋ฌธ์„œ
- [์˜จ๋ผ์ธ API ๋ฌธ์„œ](https://crowrish.github.io/neople-openapi-types/)
- [GitHub ์ €์žฅ์†Œ](https://github.com/crowrish/neople-openapi-types)
```

### 3. ํŒจํ‚ค์ง€์—์„œ ์ฐธ์กฐ
```typescript
/**
* ์ž์„ธํ•œ ์‚ฌ์šฉ๋ฒ•์€ ๋‹ค์Œ ๋ฌธ์„œ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”:
* @see https://crowrish.github.io/neople-openapi-types/
*/
```

## ์žฅ์ 

โœ… **๋ฌด๋ฃŒ ํ˜ธ์ŠคํŒ…**: GitHub Pages๋Š” ๊ณต๊ฐœ ์ €์žฅ์†Œ์—์„œ ๋ฌด๋ฃŒ
โœ… **์ž๋™ ๋ฐฐํฌ**: ์ฝ”๋“œ ๋ณ€๊ฒฝ ์‹œ ์ž๋™์œผ๋กœ ๋ฌธ์„œ ์—…๋ฐ์ดํŠธ
โœ… **๊ฒ€์ƒ‰ ์—”์ง„ ์ตœ์ ํ™”**: ๋งˆํฌ๋‹ค์šด ๊ธฐ๋ฐ˜์œผ๋กœ SEO ์นœํ™”์ 
โœ… **๋ชจ๋ฐ”์ผ ์ง€์›**: GitHub Pages์˜ ๊ธฐ๋ณธ ํ…Œ๋งˆ๋Š” ๋ฐ˜์‘ํ˜•
โœ… **๋ฒ„์ „ ๊ด€๋ฆฌ**: Git์„ ํ†ตํ•œ ๋ฌธ์„œ ๋ฒ„์ „ ์ถ”์  ๊ฐ€๋Šฅ

์ด์ œ ์ „ ์„ธ๊ณ„ ๊ฐœ๋ฐœ์ž๋“ค์ด ์›น ๋ธŒ๋ผ์šฐ์ €์—์„œ ์†์‰ฝ๊ฒŒ API ๋ฌธ์„œ๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค!
46 changes: 43 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

<img width="1200" height="400" alt="Frame 3" src="https://github.com/user-attachments/assets/31af878e-f425-4b54-b7e2-bebd2e73e897" />


[๋„ค์˜คํ”Œ Open API](https://developers.neople.co.kr/)๋ฅผ ์œ„ํ•œ ํฌ๊ด„์ ์ธ TypeScript ํƒ€์ž… ์ •์˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์ž…๋‹ˆ๋‹ค.

## ๐Ÿ“– ๋ฌธ์„œ

- **[์˜จ๋ผ์ธ API ๋ฌธ์„œ](https://crowrish.github.io/neople-openapi-types/)** - ์ „์ฒด ํƒ€์ž… ์ •์˜ ๋ฌธ์„œ
- **[GitHub ์ €์žฅ์†Œ](https://github.com/crowrish/neople-openapi-types)** - ์†Œ์Šค ์ฝ”๋“œ ๋ฐ ์ด์Šˆ ํŠธ๋ž˜ํ‚น

## ์„ค์น˜

```bash
Expand Down Expand Up @@ -645,10 +649,46 @@ src/
### ๋นŒ๋“œ

```bash
npm run build # TypeScript ์ปดํŒŒ์ผ
npm run clean # dist ํด๋” ์ •๋ฆฌ
npm run build # TypeScript ์ปดํŒŒ์ผ
npm run build:full # ์ „์ฒด ๋นŒ๋“œ + API ์ถ”์ถœ
npm run docs:generate # API ๋ฌธ์„œ ์ƒ์„ฑ
npm run clean # ๋นŒ๋“œ ๊ฒฐ๊ณผ๋ฌผ ์ •๋ฆฌ
```

## ๐Ÿ”„ ๋ฒ„์ „ ํžˆ์Šคํ† ๋ฆฌ

### v0.5.0 (2025-01-19) - API ๋ฌธ์„œํ™” ๋ฐ ํ’ˆ์งˆ ๊ฐœ์„ 
- โœจ **[NEW]** Microsoft API Extractor ๋„์ž…
- ํ†ตํ•ฉ ํƒ€์ž… ์„ ์–ธ ํŒŒ์ผ ์ƒ์„ฑ (`dist/neople-openapi-types.d.ts`)
- API ๋ณ€๊ฒฝ์‚ฌํ•ญ ์ž๋™ ์ถ”์  (`api-reports/`)
- ๋ฒ„์ „ ๊ฐ„ ํ˜ธํ™˜์„ฑ ๊ฒ€์ฆ
- ๐Ÿ“– **[NEW]** ์ž๋™ ์ƒ์„ฑ API ๋ฌธ์„œ
- GitHub Pages ์ง€์› (`docs/` ํด๋”)
- ๋ชจ๋“  ํƒ€์ž…์— ๋Œ€ํ•œ ์ƒ์„ธ ๋งˆํฌ๋‹ค์šด ๋ฌธ์„œ
- ์˜จ๋ผ์ธ ๋ฌธ์„œ: https://crowrish.github.io/neople-openapi-types/
- ๐Ÿ”ง **[IMPROVED]** ๊ฐœ๋ฐœ ์›Œํฌํ”Œ๋กœ์šฐ ๊ฐ•ํ™”
- TSDoc ์„ค์ • ์ตœ์ ํ™” (`tsdoc.json`)
- ์ƒˆ๋กœ์šด npm ์Šคํฌ๋ฆฝํŠธ: `build:full`, `docs:generate`
- ๋ฐฐํฌ ์ „ API ํ˜ธํ™˜์„ฑ ์ž๋™ ๊ฒ€์ฆ

### v0.4.0 (2025-01-18) - ์ฝ”๋“œ ํ’ˆ์งˆ ๊ด€๋ฆฌ
- ๐Ÿ”ง **[NEW]** ESLint v9 + Prettier ์„ค์ •
- ๐Ÿค– **[NEW]** GitHub Actions PR ๊ฒ€์ฆ ์›Œํฌํ”Œ๋กœ์šฐ
- ๐Ÿ“ **[IMPROVED]** README.md ํ…Œ์ด๋ธ” ํ˜•์‹ ๊ฐœ์„  (๊ฐ€๋…์„ฑ ํ–ฅ์ƒ)

### v0.3.0 (2025-01-19) - API ์™„์ „ ์ง€์›
- โœ… **[COMPLETE]** ๋˜์ „์•คํŒŒ์ดํ„ฐ API 34/34 ์—”๋“œํฌ์ธํŠธ 100% ์ง€์›
- โœ… **[COMPLETE]** ์‚ฌ์ดํผ์ฆˆ API 11/11 ์—”๋“œํฌ์ธํŠธ 100% ์ง€์›
- ๐Ÿ—‘๏ธ **[REMOVED]** ๋น„์‹ค์ œ API ์—”๋“œํฌ์ธํŠธ 2๊ฐœ ์ œ๊ฑฐ (์‚ฌ์ดํผ์ฆˆ)
- ๐Ÿ“‹ **[NEW]** API ์—”๋“œํฌ์ธํŠธ ๋ฌธ์„œ (`DUNGEON_FIGHTER_API_ENDPOINTS.md`, `CYPHERS_API_ENDPOINTS.md`)

### v0.2.0 - ํƒ€์ž… ๊ตฌ์กฐ ๊ฐœ์„ 
- ๐Ÿ”„ **[REFACTOR]** ๊ฒŒ์ž„๋ณ„ ๋„ค์ž„์ŠคํŽ˜์ด์Šค ๋ถ„๋ฆฌ
- โœจ **[NEW]** ์ „์šฉ enum ํƒ€์ž… ์ถ”๊ฐ€

### v0.1.0 - ์ดˆ๊ธฐ ๋ฆด๋ฆฌ์ฆˆ
- ๐ŸŽฎ ๋˜์ „์•คํŒŒ์ดํ„ฐ + ์‚ฌ์ดํผ์ฆˆ ๊ธฐ๋ณธ ํƒ€์ž… ์ง€์›

## ๋ผ์ด์„ ์Šค

MIT License
Expand Down
56 changes: 56 additions & 0 deletions api-extractor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "dist/index.d.ts",
"bundledPackages": [],
"compiler": {
"tsconfigFilePath": "./tsconfig.json"
},
"apiReport": {
"enabled": true,
"reportFolder": "./api-reports/",
"reportFileName": "neople-openapi-types.api.md",
"reportTempFolder": "./temp/"
},
"docModel": {
"enabled": true,
"apiJsonFilePath": "./temp/neople-openapi-types.api.json"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "./dist/neople-openapi-types.d.ts",
"publicTrimmedFilePath": "./dist/neople-openapi-types-public.d.ts"
},
"tsdocMetadata": {
"enabled": true,
"tsdocMetadataFilePath": "./dist/tsdoc-metadata.json"
},
"messages": {
"compilerMessageReporting": {
"default": {
"logLevel": "warning"
}
},
"extractorMessageReporting": {
"default": {
"logLevel": "warning"
},
"ae-missing-release-tag": {
"logLevel": "none"
}
},
"tsdocMessageReporting": {
"default": {
"logLevel": "warning"
},
"tsdoc-undefined-tag": {
"logLevel": "none"
},
"tsdoc-escape-right-brace": {
"logLevel": "none"
},
"tsdoc-malformed-inline-tag": {
"logLevel": "none"
}
}
}
}
Loading