gsd-cc 1.5.4 → 1.5.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/bin/install.js +21 -0
- package/package.json +1 -1
package/bin/install.js
CHANGED
|
@@ -115,6 +115,27 @@ function install(isGlobal) {
|
|
|
115
115
|
|
|
116
116
|
console.log(` Installing to ${cyan}${label}${reset}\n`);
|
|
117
117
|
|
|
118
|
+
// Clean up legacy skill directories (gsd-cc-* from pre-1.5 versions)
|
|
119
|
+
const skillsDir = path.join(claudeBase, 'skills');
|
|
120
|
+
if (fs.existsSync(skillsDir)) {
|
|
121
|
+
const entries = fs.readdirSync(skillsDir);
|
|
122
|
+
for (const entry of entries) {
|
|
123
|
+
if (entry.startsWith('gsd-cc-') || entry === 'gsd') {
|
|
124
|
+
const legacyPath = path.join(skillsDir, entry);
|
|
125
|
+
if (fs.statSync(legacyPath).isDirectory()) {
|
|
126
|
+
removeDir(legacyPath);
|
|
127
|
+
console.log(` ${dim}Removed legacy: skills/${entry}${reset}`);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
// Also remove legacy prompts/ directory
|
|
132
|
+
const legacyPrompts = path.join(claudeBase, 'prompts');
|
|
133
|
+
if (fs.existsSync(legacyPrompts)) {
|
|
134
|
+
removeDir(legacyPrompts);
|
|
135
|
+
console.log(` ${dim}Removed legacy: prompts/${reset}`);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
118
139
|
let fileCount = 0;
|
|
119
140
|
|
|
120
141
|
// Copy each directory 1:1 into .claude/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gsd-cc",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5",
|
|
4
4
|
"description": "Get Shit Done on Claude Code — structured AI development with your Max plan",
|
|
5
5
|
"author": "Philipp Briese (https://github.com/0ui-labs)",
|
|
6
6
|
"homepage": "https://github.com/0ui-labs/GSD-CC#readme",
|