@axyl-tcb/create-template 1.0.20 → 1.0.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axyl-tcb/create-template",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "Axyl TCB Cloud Function 프로젝트 스캐폴딩 CLI (npm create @axyl-tcb/template)",
5
5
  "bin": {
6
6
  "create-template": "bin/index.js"
@@ -6,6 +6,13 @@ TCB Cloud Function 실 환경 테스트 가이드입니다.
6
6
 
7
7
  ## CLI invoke 사용 방법 (실 환경, TCB 배포 필요)
8
8
 
9
+ > **사전 준비 — TCB(CloudBase) CLI** — `tcb` 명령은 최초 1회 설치·로그인이 필요합니다.
10
+ >
11
+ > ```bash
12
+ > npm i -g @cloudbase/cli # tcb 명령 설치
13
+ > tcb login # Tencent Cloud 계정 인증
14
+ > ```
15
+
9
16
  Windows 에서는 아래 명령어를 그대로 터미널에 붙여넣어 사용하세요.
10
17
 
11
18
  > **사전 준비 — invoke 전 반드시 빌드 + 배포**
@@ -189,6 +189,16 @@ npm test
189
189
 
190
190
  ### 4. 빌드 + 배포
191
191
 
192
+ 배포에는 **TCB(CloudBase) CLI** 가 필요합니다. 최초 1회 설치·로그인하세요.
193
+
194
+ ```bash
195
+ npm i -g @cloudbase/cli # tcb 명령 설치
196
+ tcb login # Tencent Cloud 계정 인증 (최초 1회)
197
+ tcb -v # 설치 확인
198
+ ```
199
+
200
+ 배포 대상 환경은 `cloudbaserc.json` 의 `envId` 값으로 지정됩니다.
201
+
192
202
  ```bash
193
203
  npm run deploy:build # 빌드 + 전체 배포
194
204
  npm run deploy # 빌드 없이 전체 배포