@atlashub/smartstack-cli 1.27.0 → 1.28.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlashub/smartstack-cli",
3
- "version": "1.27.0",
3
+ "version": "1.28.0",
4
4
  "description": "SmartStack Claude Code automation toolkit - GitFlow, APEX, EF Core migrations, prompts and more",
5
5
  "author": {
6
6
  "name": "SmartStack",
@@ -129,24 +129,26 @@ WAIT for user response. If "Modify", go back to STEP 2.
129
129
 
130
130
  ONLY after user confirms "Yes, create":
131
131
 
132
+ **IMPORTANT:** Use absolute paths for ALL operations. The `cd` command does not persist between Bash calls.
133
+
132
134
  ```bash
135
+ # Set the project base path (use forward slashes even on Windows)
133
136
  PROJECT_BASE="{TARGET_FOLDER}/{PROJECT_NAME}"
134
- mkdir -p "$PROJECT_BASE"
135
- cd "$PROJECT_BASE"
136
137
 
137
- # Clone as bare repository
138
- git clone --bare "{URL}" .bare
139
- echo "gitdir: ./.bare" > .git
138
+ # Create project directory and clone as bare repository
139
+ mkdir -p "$PROJECT_BASE" && \
140
+ git clone --bare "{URL}" "$PROJECT_BASE/.bare" && \
141
+ echo "gitdir: ./.bare" > "$PROJECT_BASE/.git"
140
142
 
141
- # Create worktree directories
142
- mkdir -p 01-Main 02-Develop features releases hotfixes
143
+ # Create worktree directories (use absolute paths)
144
+ mkdir -p "$PROJECT_BASE/01-Main" "$PROJECT_BASE/02-Develop" "$PROJECT_BASE/features" "$PROJECT_BASE/releases" "$PROJECT_BASE/hotfixes"
143
145
 
144
- # Setup worktrees
145
- git worktree add 01-Main main
146
- git worktree add 02-Develop develop
146
+ # Setup worktrees (must cd first, chain with &&)
147
+ cd "$PROJECT_BASE" && git worktree add 01-Main main
148
+ cd "$PROJECT_BASE" && git worktree add 02-Develop develop
147
149
 
148
- # Create config in 02-Develop
149
- mkdir -p 02-Develop/.claude/gitflow
150
+ # Create config directory
151
+ mkdir -p "$PROJECT_BASE/02-Develop/.claude/gitflow"
150
152
  ```
151
153
 
152
154
  ### STEP 6: OUTPUT