claude-code-starter 0.0.1 → 0.0.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/README.md +5 -5
- package/init +23 -12
- package/package.json +3 -2
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.5
|
|
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,13 +1,10 @@
|
|
|
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.1"
|
|
10
|
-
|
|
11
8
|
# Colors
|
|
12
9
|
GREEN='\033[0;32m'
|
|
13
10
|
BLUE='\033[0;34m'
|
|
@@ -19,15 +16,29 @@ NC='\033[0m'
|
|
|
19
16
|
# Default options
|
|
20
17
|
FORCE=false
|
|
21
18
|
|
|
22
|
-
# Get framework directory
|
|
23
|
-
|
|
19
|
+
# Get framework directory (resolve symlinks for npm global install)
|
|
20
|
+
SCRIPT_PATH="$0"
|
|
21
|
+
if [ -L "$SCRIPT_PATH" ]; then
|
|
22
|
+
# Resolve symlink
|
|
23
|
+
if command -v readlink >/dev/null 2>&1; then
|
|
24
|
+
SCRIPT_PATH="$(readlink "$SCRIPT_PATH")"
|
|
25
|
+
# Handle relative symlinks
|
|
26
|
+
if [[ "$SCRIPT_PATH" != /* ]]; then
|
|
27
|
+
SCRIPT_PATH="$(dirname "$0")/$SCRIPT_PATH"
|
|
28
|
+
fi
|
|
29
|
+
fi
|
|
30
|
+
fi
|
|
31
|
+
FRAMEWORK_DIR="$(cd "$(dirname "$SCRIPT_PATH")" && pwd)"
|
|
32
|
+
|
|
33
|
+
# Get version from package.json (single source of truth)
|
|
34
|
+
VERSION=$(node -p "require('$FRAMEWORK_DIR/package.json').version")
|
|
24
35
|
|
|
25
36
|
# Help message
|
|
26
37
|
show_help() {
|
|
27
38
|
cat << EOF
|
|
28
|
-
Claude Code
|
|
39
|
+
Claude Code Starter v${VERSION}
|
|
29
40
|
|
|
30
|
-
A lightweight
|
|
41
|
+
A lightweight starter kit for AI-assisted development with Claude Code.
|
|
31
42
|
|
|
32
43
|
USAGE:
|
|
33
44
|
npx claude-code-starter [OPTIONS]
|
|
@@ -57,7 +68,7 @@ WHAT IT DOES:
|
|
|
57
68
|
5. Creates initial task state
|
|
58
69
|
|
|
59
70
|
MORE INFO:
|
|
60
|
-
https://github.com/
|
|
71
|
+
https://github.com/cassmtnr/claude-code-starter
|
|
61
72
|
EOF
|
|
62
73
|
}
|
|
63
74
|
|
|
@@ -121,9 +132,9 @@ validate_framework() {
|
|
|
121
132
|
validate_framework
|
|
122
133
|
|
|
123
134
|
# Show banner
|
|
124
|
-
echo -e "${CYAN}
|
|
125
|
-
echo -e "${CYAN}║ Claude Code
|
|
126
|
-
echo -e "${CYAN}
|
|
135
|
+
echo -e "${CYAN}╔═════════════════════════════════════╗${NC}"
|
|
136
|
+
echo -e "${CYAN}║ Claude Code Starter v${VERSION} ║${NC}"
|
|
137
|
+
echo -e "${CYAN}╚═════════════════════════════════════╝${NC}"
|
|
127
138
|
echo ""
|
|
128
139
|
|
|
129
140
|
# Create .claude directory structure
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-starter",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "A lightweight framework for AI-assisted development with Claude Code",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
@@ -15,8 +15,9 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
18
|
-
"url": "git+https://github.com/
|
|
18
|
+
"url": "git+https://github.com/cassmtnr/claude-code-starter.git"
|
|
19
19
|
},
|
|
20
|
+
"homepage": "https://github.com/cassmtnr/claude-code-starter#readme",
|
|
20
21
|
"bin": {
|
|
21
22
|
"claude-code-starter": "./init"
|
|
22
23
|
},
|