claude-code-starter 0.0.1 → 0.0.4
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/README.md +5 -5
- package/init +20 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Claude Code
|
|
1
|
+
# Claude Code Starter
|
|
2
2
|
|
|
3
|
-
A lightweight
|
|
3
|
+
A lightweight starter kit for AI-assisted development with Claude Code.
|
|
4
4
|
|
|
5
|
-
**Version:** 0.0.
|
|
5
|
+
**Version:** 0.0.4
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -52,7 +52,7 @@ npx claude-code-starter
|
|
|
52
52
|
Output:
|
|
53
53
|
```
|
|
54
54
|
╔═══════════════════════════════════════╗
|
|
55
|
-
║ Claude Code Framework v0.0.
|
|
55
|
+
║ Claude Code Framework v0.0.2 ║
|
|
56
56
|
╚═══════════════════════════════════════╝
|
|
57
57
|
|
|
58
58
|
Setting up framework files...
|
|
@@ -90,7 +90,7 @@ npx claude-code-starter
|
|
|
90
90
|
Output:
|
|
91
91
|
```
|
|
92
92
|
╔═══════════════════════════════════════╗
|
|
93
|
-
║ Claude Code Framework v0.0.
|
|
93
|
+
║ Claude Code Framework v0.0.2 ║
|
|
94
94
|
╚═══════════════════════════════════════╝
|
|
95
95
|
|
|
96
96
|
Setting up framework files...
|
package/init
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
#
|
|
3
|
-
# Claude Code
|
|
4
|
-
# Version: 1.0.0
|
|
3
|
+
# Claude Code Starter - Init Script
|
|
5
4
|
#
|
|
6
5
|
|
|
7
6
|
set -e
|
|
8
7
|
|
|
9
|
-
VERSION="0.0.
|
|
8
|
+
VERSION="0.0.4"
|
|
10
9
|
|
|
11
10
|
# Colors
|
|
12
11
|
GREEN='\033[0;32m'
|
|
@@ -19,15 +18,26 @@ NC='\033[0m'
|
|
|
19
18
|
# Default options
|
|
20
19
|
FORCE=false
|
|
21
20
|
|
|
22
|
-
# Get framework directory
|
|
23
|
-
|
|
21
|
+
# Get framework directory (resolve symlinks for npm global install)
|
|
22
|
+
SCRIPT_PATH="$0"
|
|
23
|
+
if [ -L "$SCRIPT_PATH" ]; then
|
|
24
|
+
# Resolve symlink
|
|
25
|
+
if command -v readlink >/dev/null 2>&1; then
|
|
26
|
+
SCRIPT_PATH="$(readlink "$SCRIPT_PATH")"
|
|
27
|
+
# Handle relative symlinks
|
|
28
|
+
if [[ "$SCRIPT_PATH" != /* ]]; then
|
|
29
|
+
SCRIPT_PATH="$(dirname "$0")/$SCRIPT_PATH"
|
|
30
|
+
fi
|
|
31
|
+
fi
|
|
32
|
+
fi
|
|
33
|
+
FRAMEWORK_DIR="$(cd "$(dirname "$SCRIPT_PATH")" && pwd)"
|
|
24
34
|
|
|
25
35
|
# Help message
|
|
26
36
|
show_help() {
|
|
27
37
|
cat << EOF
|
|
28
|
-
Claude Code
|
|
38
|
+
Claude Code Starter v${VERSION}
|
|
29
39
|
|
|
30
|
-
A lightweight
|
|
40
|
+
A lightweight starter kit for AI-assisted development with Claude Code.
|
|
31
41
|
|
|
32
42
|
USAGE:
|
|
33
43
|
npx claude-code-starter [OPTIONS]
|
|
@@ -121,9 +131,9 @@ validate_framework() {
|
|
|
121
131
|
validate_framework
|
|
122
132
|
|
|
123
133
|
# Show banner
|
|
124
|
-
echo -e "${CYAN}
|
|
125
|
-
echo -e "${CYAN}║ Claude Code
|
|
126
|
-
echo -e "${CYAN}
|
|
134
|
+
echo -e "${CYAN}╔═════════════════════════════════════╗${NC}"
|
|
135
|
+
echo -e "${CYAN}║ Claude Code Starter v${VERSION} ║${NC}"
|
|
136
|
+
echo -e "${CYAN}╚═════════════════════════════════════╝${NC}"
|
|
127
137
|
echo ""
|
|
128
138
|
|
|
129
139
|
# Create .claude directory structure
|