claude-code-templates 1.21.8 → 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.
|
@@ -354,7 +354,20 @@ Now, please execute this request and create all necessary files."""
|
|
|
354
354
|
print("📁 GENERATED FILES:")
|
|
355
355
|
print("=" * 60)
|
|
356
356
|
|
|
357
|
-
|
|
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""")
|
|
358
371
|
if files_result.stdout.strip():
|
|
359
372
|
print(files_result.stdout)
|
|
360
373
|
|
|
@@ -376,7 +389,7 @@ Now, please execute this request and create all necessary files."""
|
|
|
376
389
|
files_to_download = files_result.stdout.strip().split('\n')
|
|
377
390
|
for file_path in files_to_download:
|
|
378
391
|
file_path = file_path.strip()
|
|
379
|
-
if file_path
|
|
392
|
+
if file_path and not file_path.startswith('./.npm/'): # Skip npm cache files
|
|
380
393
|
try:
|
|
381
394
|
# Read file content from sandbox
|
|
382
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": {
|