@seahworks/branch-cli 1.0.4 → 1.0.5
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 +17 -17
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @seahworks/branch-cli
|
|
2
2
|
|
|
3
3
|
세아웍스 Git 브랜치 네이밍 규칙을 준수하는 브랜치를 쉽게 생성하는 CLI 도구입니다.
|
|
4
4
|
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
### Yarn (권장)
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
yarn global add @
|
|
18
|
+
yarn global add @seahworks/branch-cli
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
### npm
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
npm install -g @
|
|
24
|
+
npm install -g @seahworks/branch-cli
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
## 환경별 추가 설정
|
|
@@ -91,7 +91,7 @@ git checkout dev_06MON
|
|
|
91
91
|
### 2. CLI 도구 실행
|
|
92
92
|
|
|
93
93
|
```bash
|
|
94
|
-
|
|
94
|
+
-branch
|
|
95
95
|
```
|
|
96
96
|
|
|
97
97
|
도구가 자동으로 다음을 확인합니다:
|
|
@@ -162,7 +162,7 @@ feature/2024/board/etc/1229
|
|
|
162
162
|
### ✅ 정상 진행
|
|
163
163
|
|
|
164
164
|
```bash
|
|
165
|
-
$
|
|
165
|
+
$ -branch
|
|
166
166
|
|
|
167
167
|
🌿 세아웍스 브랜치 생성 도구
|
|
168
168
|
|
|
@@ -189,7 +189,7 @@ $ seah-branch
|
|
|
189
189
|
### ❌ dev 브랜치가 아닌 경우
|
|
190
190
|
|
|
191
191
|
```bash
|
|
192
|
-
$
|
|
192
|
+
$ -branch
|
|
193
193
|
|
|
194
194
|
🌿 세아웍스 브랜치 생성 도구
|
|
195
195
|
|
|
@@ -206,7 +206,7 @@ $ seah-branch
|
|
|
206
206
|
### ⚠️ Pull이 필요한 경우
|
|
207
207
|
|
|
208
208
|
```bash
|
|
209
|
-
$
|
|
209
|
+
$ -branch
|
|
210
210
|
|
|
211
211
|
🌿 세아웍스 브랜치 생성 도구
|
|
212
212
|
|
|
@@ -228,7 +228,7 @@ $ seah-branch
|
|
|
228
228
|
### ⚠️ Push가 필요한 경우
|
|
229
229
|
|
|
230
230
|
```bash
|
|
231
|
-
$
|
|
231
|
+
$ -branch
|
|
232
232
|
|
|
233
233
|
🌿 세아웍스 브랜치 생성 도구
|
|
234
234
|
|
|
@@ -258,15 +258,15 @@ $ seah-branch
|
|
|
258
258
|
|
|
259
259
|
```bash
|
|
260
260
|
# Yarn
|
|
261
|
-
yarn global upgrade
|
|
261
|
+
yarn global upgrade @/branch-cli
|
|
262
262
|
|
|
263
263
|
# npm
|
|
264
|
-
npm update -g
|
|
264
|
+
npm update -g @/branch-cli
|
|
265
265
|
```
|
|
266
266
|
|
|
267
267
|
## 문제 해결
|
|
268
268
|
|
|
269
|
-
### command not found:
|
|
269
|
+
### command not found: -branch
|
|
270
270
|
|
|
271
271
|
#### Windows - Git Bash
|
|
272
272
|
|
|
@@ -280,7 +280,7 @@ echo "export PATH=\"$YARN_BIN:\$PATH\"" >> ~/.bashrc
|
|
|
280
280
|
source ~/.bashrc
|
|
281
281
|
|
|
282
282
|
# 확인
|
|
283
|
-
|
|
283
|
+
-branch
|
|
284
284
|
```
|
|
285
285
|
|
|
286
286
|
#### Windows - PowerShell/CMD
|
|
@@ -337,7 +337,7 @@ PATH 설정이 어려운 경우:
|
|
|
337
337
|
#### npx 사용 (npm 설치 시)
|
|
338
338
|
|
|
339
339
|
```bash
|
|
340
|
-
npx
|
|
340
|
+
npx @/branch-cli
|
|
341
341
|
```
|
|
342
342
|
|
|
343
343
|
#### 전체 경로로 실행
|
|
@@ -345,19 +345,19 @@ npx @seah/branch-cli
|
|
|
345
345
|
**Windows - Git Bash:**
|
|
346
346
|
|
|
347
347
|
```bash
|
|
348
|
-
"/c/Users/YourName/AppData/Local/Yarn/bin
|
|
348
|
+
"/c/Users/YourName/AppData/Local/Yarn/bin/-branch"
|
|
349
349
|
```
|
|
350
350
|
|
|
351
351
|
**Windows - PowerShell/CMD:**
|
|
352
352
|
|
|
353
353
|
```bash
|
|
354
|
-
C:\Users\YourName\AppData\Local\Yarn\bin
|
|
354
|
+
C:\Users\YourName\AppData\Local\Yarn\bin\-branch
|
|
355
355
|
```
|
|
356
356
|
|
|
357
357
|
**macOS / Linux:**
|
|
358
358
|
|
|
359
359
|
```bash
|
|
360
|
-
$(yarn global bin)
|
|
360
|
+
$(yarn global bin)/-branch
|
|
361
361
|
```
|
|
362
362
|
|
|
363
363
|
#### package.json 스크립트
|
|
@@ -367,7 +367,7 @@ $(yarn global bin)/seah-branch
|
|
|
367
367
|
```json
|
|
368
368
|
{
|
|
369
369
|
"scripts": {
|
|
370
|
-
"branch": "
|
|
370
|
+
"branch": "-branch"
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
373
|
```
|