@only1btayy/g2w 1.0.13 → 1.0.14
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/lib/install.js +3 -3
- package/package.json +1 -1
package/lib/install.js
CHANGED
|
@@ -43,7 +43,7 @@ const G2W_HOOKS = {
|
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
function copySkills(targetBase) {
|
|
46
|
-
const dest = path.join(targetBase, '.claude', '
|
|
46
|
+
const dest = path.join(targetBase, '.claude', 'commands', 'g2w');
|
|
47
47
|
fs.mkdirSync(dest, { recursive: true });
|
|
48
48
|
const files = fs.readdirSync(SKILLS_SRC).filter(f => f.endsWith('.md'));
|
|
49
49
|
files.forEach(file => {
|
|
@@ -86,7 +86,7 @@ function mergeHooks(targetBase) {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
function removeSkills(targetBase) {
|
|
89
|
-
const dest = path.join(targetBase, '.claude', '
|
|
89
|
+
const dest = path.join(targetBase, '.claude', 'commands', 'g2w');
|
|
90
90
|
if (fs.existsSync(dest)) {
|
|
91
91
|
fs.rmSync(dest, { recursive: true, force: true });
|
|
92
92
|
return true;
|
|
@@ -129,7 +129,7 @@ async function run() {
|
|
|
129
129
|
writeTTY(`${LOGO}
|
|
130
130
|
\x1b[32m✅ G2W installed at ${label}\x1b[0m
|
|
131
131
|
|
|
132
|
-
${count} skills → ${path.join(label, '
|
|
132
|
+
${count} skills → ${path.join(label, 'commands/g2w/')}
|
|
133
133
|
Hooks → ${path.join(label, 'settings.json')}
|
|
134
134
|
|
|
135
135
|
Open any project with Claude Code and type:
|