reborn-prompt 1.0.3 → 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/install.mjs +15 -10
- package/package.json +1 -1
package/install.mjs
CHANGED
|
@@ -119,7 +119,7 @@ const 글표 = {
|
|
|
119
119
|
설명링크: "Learn more · https://rebornlabs.kr/prompt?utm_source=installer&utm_medium=cli&utm_campaign=prompt",
|
|
120
120
|
꼬리1: "This makes one conversation better. Fixing how Claude works overall is a separate thing.",
|
|
121
121
|
제품이름: "REBORN LABS Skill Pack",
|
|
122
|
-
제품설명: "— 48 skills
|
|
122
|
+
제품설명: "— 48 handpicked skills, in one line. US$8",
|
|
123
123
|
제품링크: "https://skillpack.rebornlabs.kr/?utm_source=installer&utm_medium=cli&utm_campaign=prompt",
|
|
124
124
|
제품꼬리: "The list and the exact install command are right there on that page. You don't have to buy it.",
|
|
125
125
|
},
|
|
@@ -151,7 +151,7 @@ const 글표 = {
|
|
|
151
151
|
설명링크: "詳細 · https://rebornlabs.kr/ja/prompt?utm_source=installer&utm_medium=cli&utm_campaign=prompt",
|
|
152
152
|
꼬리1: "これは1回の会話を良くするものです。Claude が行う作業自体を整えるのは別のものです。",
|
|
153
153
|
제품이름: "REBORN LABS スキルパック",
|
|
154
|
-
제품설명: "— 私たちが実際にインストールして選んだ48種を1
|
|
154
|
+
제품설명: "— 私たちが実際にインストールして選んだ48種を1行で。$8",
|
|
155
155
|
제품링크: "https://rebornlabs.kr/ja/skillpack?utm_source=installer&utm_medium=cli&utm_campaign=prompt",
|
|
156
156
|
제품꼬리: "一覧と実際にインストールするコマンドはそのページにそのまま載せています。購入は必須ではありません。",
|
|
157
157
|
},
|
|
@@ -216,22 +216,27 @@ if (확인만) {
|
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
/* ── 설치 ───────────────────────────────────────────────────────────── */
|
|
219
|
-
/* ★영문이면 skill/SKILL.en.md 를 SKILL.md 자리에 심는다
|
|
220
|
-
|
|
219
|
+
/* ★영문이면 skill/SKILL.en.md, 일본어면 skill/SKILL.ja.md 를 SKILL.md 자리에 심는다
|
|
220
|
+
(2026-09-23 영어권 2차 ① · 2026-09-28 국가런칭 검수로 ja 분기 추가 — 여태 en 만
|
|
221
|
+
있어서 --lang=ja 로 설치해도 SKILL.md 는 한국어 원본이 그대로 심겼다).
|
|
222
|
+
고객 쪽 파일명은 늘 SKILL.md 여야 클로드가 읽는다. SKILL.en.md·SKILL.ja.md 자체는
|
|
223
|
+
따로 심지 않는다. */
|
|
221
224
|
const 영문본 = join(원본, "SKILL.en.md");
|
|
222
|
-
const
|
|
225
|
+
const 일본어본 = join(원본, "SKILL.ja.md");
|
|
226
|
+
const 번역본 = 말 === "en" ? 영문본 : 말 === "ja" ? 일본어본 : null;
|
|
227
|
+
const 번역적용 = !!번역본 && existsSync(번역본);
|
|
223
228
|
let 쓴수 = 0;
|
|
224
229
|
for (const src of 넣을것) {
|
|
225
230
|
const 상대 = relative(원본, src);
|
|
226
|
-
if (상대 === "SKILL.en.md") continue;
|
|
227
|
-
const 실제소스 = (상대 === "SKILL.md" &&
|
|
231
|
+
if (상대 === "SKILL.en.md" || 상대 === "SKILL.ja.md") continue;
|
|
232
|
+
const 실제소스 = (상대 === "SKILL.md" && 번역적용) ? 번역본 : src;
|
|
228
233
|
const dst = join(대상, 상대);
|
|
229
234
|
mkdirSync(dirname(dst), { recursive: true });
|
|
230
235
|
writeFileSync(dst, readFileSync(실제소스));
|
|
231
236
|
쓴수++;
|
|
232
|
-
/*
|
|
233
|
-
en 화면에서는 줄 자체를 건너뛴다 — 개수·도착 경로는 아래 요약 줄로 이미 준다. */
|
|
234
|
-
if (말
|
|
237
|
+
/* ★영문·일본어 실행은 한글이 0자여야 한다. 참고 문서 파일명(낭비35.md)은 아직 한글이라
|
|
238
|
+
en/ja 화면에서는 줄 자체를 건너뛴다 — 개수·도착 경로는 아래 요약 줄로 이미 준다. */
|
|
239
|
+
if (말 === "ko" || !/[가-힣]/.test(상대)) console.log(` ${c.d}·${c[0]} ${상대}`);
|
|
235
240
|
}
|
|
236
241
|
console.log(`\n${c.d}${G.설치요약(쓴수, 대상)}${c[0]}`);
|
|
237
242
|
|