metadatafy 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,23 +30,79 @@ yarn add metadatafy
|
|
|
30
30
|
pnpm add metadatafy
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
+
## Quick Start / 빠른 시작
|
|
34
|
+
|
|
35
|
+
The easiest way to get started is with the interactive setup wizard:
|
|
36
|
+
|
|
37
|
+
가장 쉽게 시작하는 방법은 인터랙티브 설정 마법사를 사용하는 것입니다:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npx metadatafy init
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
This will:
|
|
44
|
+
- Auto-detect your project type (Next.js, Vite, CRA, etc.)
|
|
45
|
+
- Detect your package manager (npm, yarn, pnpm)
|
|
46
|
+
- Create a `metadata.config.json` with optimized settings
|
|
47
|
+
- Optionally add the plugin to your build config (vite.config.ts or next.config.js)
|
|
48
|
+
|
|
49
|
+
이 명령어는:
|
|
50
|
+
- 프로젝트 타입 자동 감지 (Next.js, Vite, CRA 등)
|
|
51
|
+
- 패키지 매니저 감지 (npm, yarn, pnpm)
|
|
52
|
+
- 최적화된 설정으로 `metadata.config.json` 생성
|
|
53
|
+
- 선택적으로 빌드 설정에 플러그인 추가 (vite.config.ts 또는 next.config.js)
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
$ npx metadatafy init
|
|
57
|
+
|
|
58
|
+
🚀 metadatafy 설정 마법사
|
|
59
|
+
|
|
60
|
+
프로젝트: my-app
|
|
61
|
+
경로: /Users/you/projects/my-app
|
|
62
|
+
|
|
63
|
+
🔍 프로젝트 분석 중...
|
|
64
|
+
|
|
65
|
+
✅ 감지된 정보:
|
|
66
|
+
프로젝트 타입: Next.js (App Router)
|
|
67
|
+
패키지 매니저: pnpm
|
|
68
|
+
TypeScript: 예
|
|
69
|
+
주요 폴더: app, components, hooks, lib
|
|
70
|
+
|
|
71
|
+
📦 프로젝트 타입을 선택하세요:
|
|
72
|
+
1) Next.js (App Router) (감지됨)
|
|
73
|
+
2) Next.js (Pages Router)
|
|
74
|
+
3) Vite + React
|
|
75
|
+
4) Create React App
|
|
76
|
+
5) Node.js Backend
|
|
77
|
+
|
|
78
|
+
선택 [1]:
|
|
79
|
+
```
|
|
80
|
+
|
|
33
81
|
## Usage / 사용법
|
|
34
82
|
|
|
35
83
|
### CLI
|
|
36
84
|
|
|
37
85
|
```bash
|
|
86
|
+
# Interactive setup (recommended for new projects)
|
|
87
|
+
# 인터랙티브 설정 (새 프로젝트에 권장)
|
|
88
|
+
npx metadatafy init
|
|
89
|
+
|
|
38
90
|
# Analyze project and generate metadata
|
|
39
91
|
# 프로젝트 분석 및 메타데이터 생성
|
|
40
92
|
npx metadatafy analyze
|
|
41
93
|
|
|
42
94
|
# With options / 옵션과 함께
|
|
43
95
|
npx metadatafy analyze --project-id my-project --output ./metadata.json --verbose
|
|
44
|
-
|
|
45
|
-
# Generate config file / 설정 파일 생성
|
|
46
|
-
npx metadatafy init
|
|
47
96
|
```
|
|
48
97
|
|
|
49
|
-
#### CLI
|
|
98
|
+
#### CLI Commands / CLI 명령어
|
|
99
|
+
|
|
100
|
+
| Command | Description |
|
|
101
|
+
|---------|-------------|
|
|
102
|
+
| `init` | Interactive setup wizard / 인터랙티브 설정 마법사 |
|
|
103
|
+
| `analyze` | Analyze project and generate metadata / 프로젝트 분석 및 메타데이터 생성 |
|
|
104
|
+
|
|
105
|
+
#### Analyze Options / Analyze 옵션
|
|
50
106
|
|
|
51
107
|
| Option | Short | Description |
|
|
52
108
|
|--------|-------|-------------|
|