@kood/claude-code 0.3.15 → 0.3.16
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 +6 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -145,10 +145,10 @@ var listAvailableTemplates = async () => {
|
|
|
145
145
|
return templates;
|
|
146
146
|
};
|
|
147
147
|
var TEMPLATE_SKILLS_MAP = {
|
|
148
|
-
nextjs: ["nextjs-react-best-practices", "
|
|
148
|
+
nextjs: ["nextjs-react-best-practices", "korea-uiux-design"],
|
|
149
149
|
"tanstack-start": [
|
|
150
150
|
"tanstack-start-react-best-practices",
|
|
151
|
-
"
|
|
151
|
+
"korea-uiux-design"
|
|
152
152
|
]
|
|
153
153
|
// hono와 npx는 스킬 없음
|
|
154
154
|
};
|
|
@@ -169,6 +169,9 @@ var copySkills = async (templates, targetDir) => {
|
|
|
169
169
|
const skillSrc = path.join(skillsSrc, skill);
|
|
170
170
|
const skillDest = path.join(targetSkillsDir, skill);
|
|
171
171
|
if (await fs.pathExists(skillSrc)) {
|
|
172
|
+
if (await fs.pathExists(skillDest)) {
|
|
173
|
+
await fs.remove(skillDest);
|
|
174
|
+
}
|
|
172
175
|
await copyRecursive(skillSrc, skillDest, counter);
|
|
173
176
|
}
|
|
174
177
|
}
|
|
@@ -431,7 +434,7 @@ var init = async (options) => {
|
|
|
431
434
|
|
|
432
435
|
// src/index.ts
|
|
433
436
|
var program = new Command();
|
|
434
|
-
program.name("claude-code").description("Claude Code documentation installer for projects").version("0.3.
|
|
437
|
+
program.name("claude-code").description("Claude Code documentation installer for projects").version("0.3.16");
|
|
435
438
|
program.option(
|
|
436
439
|
"-t, --template <names>",
|
|
437
440
|
"template names (comma-separated: tanstack-start,hono)"
|