instrlint 0.1.1 → 0.1.2
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/cli.cjs +2 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -2809,8 +2809,8 @@ function readSkillContent(target) {
|
|
|
2809
2809
|
}
|
|
2810
2810
|
}
|
|
2811
2811
|
function installClaudeCode(content, projectRoot, isProject, force, output) {
|
|
2812
|
-
const targetDir = isProject ? (0, import_path11.join)(projectRoot, ".claude", "
|
|
2813
|
-
const targetPath = (0, import_path11.join)(targetDir, "
|
|
2812
|
+
const targetDir = isProject ? (0, import_path11.join)(projectRoot, ".claude", "commands") : (0, import_path11.join)((0, import_os.homedir)(), ".claude", "commands");
|
|
2813
|
+
const targetPath = (0, import_path11.join)(targetDir, "instrlint.md");
|
|
2814
2814
|
if ((0, import_fs12.existsSync)(targetPath) && !force) {
|
|
2815
2815
|
output.error(t("install.alreadyExists", { path: targetPath }));
|
|
2816
2816
|
return { exitCode: 1, errorMessage: "file already exists" };
|