@tanagram/cli 0.5.22 → 0.5.24

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.
Binary file
Binary file
Binary file
Binary file
Binary file
package/install.js CHANGED
@@ -148,7 +148,7 @@ function installClaudeSkill() {
148
148
  fs.mkdirSync(skillsTargetDir, { recursive: true });
149
149
 
150
150
  // Copy skill files
151
- const files = ['SKILL.md', 'quick-reference.md'];
151
+ const files = ['SKILL.md'];
152
152
  for (const file of files) {
153
153
  const srcPath = path.join(skillsSourceDir, file);
154
154
  const dstPath = path.join(skillsTargetDir, file);
@@ -157,6 +157,15 @@ function installClaudeSkill() {
157
157
  }
158
158
  }
159
159
 
160
+ // Clean up stale files from previous installs
161
+ const staleFiles = ['quick-reference.md'];
162
+ for (const file of staleFiles) {
163
+ const stalePath = path.join(skillsTargetDir, file);
164
+ if (fs.existsSync(stalePath)) {
165
+ fs.unlinkSync(stalePath);
166
+ }
167
+ }
168
+
160
169
  console.error(`✓ Tanagram skill installed to ${skillsTargetDir}`);
161
170
  track('cli.skill.install.success', { first_time: isFirstTime });
162
171
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanagram/cli",
3
- "version": "0.5.22",
3
+ "version": "0.5.24",
4
4
  "description": "Tanagram - Catch sloppy code before it ships",
5
5
  "main": "index.js",
6
6
  "bin": {