claude-code-templates 1.21.7 → 1.21.9
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.
|
@@ -125,7 +125,6 @@ def main():
|
|
|
125
125
|
retry_count += 1
|
|
126
126
|
if retry_count < max_retries:
|
|
127
127
|
print(f"⚠️ WebSocket connection failed (attempt {retry_count}), retrying in 3 seconds...")
|
|
128
|
-
import time
|
|
129
128
|
time.sleep(3)
|
|
130
129
|
continue
|
|
131
130
|
else:
|
|
@@ -355,7 +354,20 @@ Now, please execute this request and create all necessary files."""
|
|
|
355
354
|
print("📁 GENERATED FILES:")
|
|
356
355
|
print("=" * 60)
|
|
357
356
|
|
|
358
|
-
|
|
357
|
+
# More comprehensive file search - include jsx, tsx, and other common extensions
|
|
358
|
+
files_result = sbx.commands.run("""find . -type f \\( \
|
|
359
|
+
-name '*.html' -o -name '*.js' -o -name '*.jsx' -o \
|
|
360
|
+
-name '*.ts' -o -name '*.tsx' -o \
|
|
361
|
+
-name '*.css' -o -name '*.scss' -o -name '*.sass' -o \
|
|
362
|
+
-name '*.py' -o -name '*.json' -o -name '*.md' -o \
|
|
363
|
+
-name '*.vue' -o -name '*.svelte' -o \
|
|
364
|
+
-name '*.yaml' -o -name '*.yml' -o \
|
|
365
|
+
-name '*.xml' -o -name '*.txt' -o \
|
|
366
|
+
-name '*.env' -o -name '*.env.example' -o \
|
|
367
|
+
-name '*.sh' -o -name '*.bash' -o \
|
|
368
|
+
-name '*.go' -o -name '*.rs' -o -name '*.java' -o \
|
|
369
|
+
-name '*.php' -o -name '*.rb' -o -name '*.swift' \
|
|
370
|
+
\\) ! -path '*/.npm/*' ! -path '*/.claude/*' ! -path '*/node_modules/*' | head -50""")
|
|
359
371
|
if files_result.stdout.strip():
|
|
360
372
|
print(files_result.stdout)
|
|
361
373
|
|
|
@@ -377,7 +389,7 @@ Now, please execute this request and create all necessary files."""
|
|
|
377
389
|
files_to_download = files_result.stdout.strip().split('\n')
|
|
378
390
|
for file_path in files_to_download:
|
|
379
391
|
file_path = file_path.strip()
|
|
380
|
-
if file_path
|
|
392
|
+
if file_path and not file_path.startswith('./.npm/'): # Skip npm cache files
|
|
381
393
|
try:
|
|
382
394
|
# Read file content from sandbox
|
|
383
395
|
file_content = sbx.commands.run(f"cat '{file_path}'", timeout=30)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-templates",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.9",
|
|
4
4
|
"description": "CLI tool to setup Claude Code configurations with framework-specific commands, automation hooks and MCP Servers for your projects",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|