relayax-cli 0.4.19 → 0.4.20
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/dist/commands/create.js
CHANGED
|
@@ -80,8 +80,8 @@ function registerCreate(program) {
|
|
|
80
80
|
message: '공개 범위를 선택하세요.',
|
|
81
81
|
fix: `relay create ${name} --description "${description}" --visibility <visibility> --json`,
|
|
82
82
|
options: [
|
|
83
|
-
{ value: 'public', label: '공개 —
|
|
84
|
-
{ value: 'private', label: '비공개 —
|
|
83
|
+
{ value: 'public', label: '공개 — 누구나 검색 및 설치 가능' },
|
|
84
|
+
{ value: 'private', label: '비공개 — 허가 코드 등록자만 사용 가능' },
|
|
85
85
|
{ value: 'internal', label: '내부 — 조직 내의 누구나 사용 가능' },
|
|
86
86
|
],
|
|
87
87
|
}));
|
|
@@ -136,8 +136,8 @@ function registerCreate(program) {
|
|
|
136
136
|
visibility = await promptSelect({
|
|
137
137
|
message: '공개 범위:',
|
|
138
138
|
choices: [
|
|
139
|
-
{ name: '공개 —
|
|
140
|
-
{ name: '비공개 —
|
|
139
|
+
{ name: '공개 — 누구나 검색 및 설치 가능', value: 'public' },
|
|
140
|
+
{ name: '비공개 — 허가 코드 등록자만 사용 가능', value: 'private' },
|
|
141
141
|
{ name: '내부 — 조직 내의 누구나 사용 가능', value: 'internal' },
|
|
142
142
|
],
|
|
143
143
|
});
|
package/dist/commands/publish.js
CHANGED
|
@@ -774,8 +774,9 @@ function registerPublish(program) {
|
|
|
774
774
|
}
|
|
775
775
|
const result = await publishToApi(token, tarPath, metadata);
|
|
776
776
|
// Git push: commit and push to git server (required)
|
|
777
|
-
const
|
|
778
|
-
if (
|
|
777
|
+
const gitUrlRaw = result.git_url;
|
|
778
|
+
if (gitUrlRaw) {
|
|
779
|
+
const gitUrl = (0, git_operations_js_1.buildGitUrl)(gitUrlRaw, { token });
|
|
779
780
|
if (!json) {
|
|
780
781
|
console.error('git 저장소에 푸시 중...');
|
|
781
782
|
}
|
package/dist/prompts/create.md
CHANGED
|
@@ -91,8 +91,8 @@ relay.yaml이 없으면 새로 만들고, 있으면 변경사항을 반영합니
|
|
|
91
91
|
선택에 따라 **사용자에게 질문하여 visibility를 물어봅니다:**
|
|
92
92
|
- **Org 없이 배포**: `public`, `private` (2개)
|
|
93
93
|
- **Org에 배포**: `public`, `private`, `internal` (3개)
|
|
94
|
-
- `public` — 조직 밖의 누구나 사용 가능
|
|
95
|
-
- `private` — 조직 내의 허가된 사용자만 사용 가능
|
|
94
|
+
- `public` — 누구나 검색 및 설치 가능 (Org: 조직 밖의 누구나 사용 가능)
|
|
95
|
+
- `private` — 허가 코드 등록자만 사용 가능 (Org: 조직 내의 허가된 사용자만 사용 가능)
|
|
96
96
|
- `internal` — 조직 내의 누구나 사용 가능 (Org 배포 시에만 선택 가능)
|
|
97
97
|
|
|
98
98
|
### 5. relay.yaml 작성 & 배포
|