@team-semicolon/semo-cli 1.1.0 → 1.2.0
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/index.js +9 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -57,7 +57,7 @@ const inquirer_1 = __importDefault(require("inquirer"));
|
|
|
57
57
|
const child_process_1 = require("child_process");
|
|
58
58
|
const fs = __importStar(require("fs"));
|
|
59
59
|
const path = __importStar(require("path"));
|
|
60
|
-
const VERSION = "1.
|
|
60
|
+
const VERSION = "1.2.0";
|
|
61
61
|
// === 유틸리티: 덮어쓰기 확인 ===
|
|
62
62
|
async function confirmOverwrite(itemName, itemPath) {
|
|
63
63
|
if (!fs.existsSync(itemPath)) {
|
|
@@ -177,6 +177,14 @@ async function setupWhiteBox(cwd, force) {
|
|
|
177
177
|
fs.symlinkSync("../semo-system/semo-skills", skillsLink);
|
|
178
178
|
console.log(chalk_1.default.green(" ✓ .claude/skills → semo-system/semo-skills"));
|
|
179
179
|
}
|
|
180
|
+
// commands 심볼릭 링크 생성
|
|
181
|
+
const commandsDir = path.join(claudeDir, "commands");
|
|
182
|
+
fs.mkdirSync(commandsDir, { recursive: true });
|
|
183
|
+
const semoCommandsLink = path.join(commandsDir, "SEMO");
|
|
184
|
+
if (!fs.existsSync(semoCommandsLink)) {
|
|
185
|
+
fs.symlinkSync("../../semo-system/semo-core/commands/SEMO", semoCommandsLink);
|
|
186
|
+
console.log(chalk_1.default.green(" ✓ .claude/commands/SEMO → semo-system/semo-core/commands/SEMO"));
|
|
187
|
+
}
|
|
180
188
|
}
|
|
181
189
|
catch (error) {
|
|
182
190
|
spinner.fail("White Box 설정 실패");
|