ralph-prd 1.0.11 → 1.0.12
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/install.sh +10 -13
- package/package.json +1 -1
- package/ralph/ralph-claude.mjs +1 -1
package/install.sh
CHANGED
|
@@ -95,20 +95,17 @@ if [ -f "$SOURCE_DIR/package.json" ]; then
|
|
|
95
95
|
info "Stamped version: $VERSION"
|
|
96
96
|
fi
|
|
97
97
|
|
|
98
|
-
#
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
GITIGNORE
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
if [ ! -f "$GITIGNORE" ] || ! grep -qF "# ralph-prd" "$GITIGNORE"; then
|
|
105
|
-
printf '\n# ralph-prd (installed via install.sh)\n' >> "$GITIGNORE"
|
|
106
|
-
fi
|
|
107
|
-
echo "$entry" >> "$GITIGNORE"
|
|
108
|
-
ok "Added $entry to .gitignore"
|
|
98
|
+
# Add required entries to .gitignore (idempotent — skips entries already present).
|
|
99
|
+
GITIGNORE="$PROJECT_ROOT/.gitignore"
|
|
100
|
+
for entry in ".claude/ralph/" ".claude/skills/" "logs/"; do
|
|
101
|
+
if [ ! -f "$GITIGNORE" ] || ! grep -qxF "$entry" "$GITIGNORE"; then
|
|
102
|
+
if [ ! -f "$GITIGNORE" ] || ! grep -qF "# ralph-prd" "$GITIGNORE"; then
|
|
103
|
+
printf '\n# ralph-prd (installed via install.sh)\n' >> "$GITIGNORE"
|
|
109
104
|
fi
|
|
110
|
-
|
|
111
|
-
|
|
105
|
+
echo "$entry" >> "$GITIGNORE"
|
|
106
|
+
ok "Added $entry to .gitignore"
|
|
107
|
+
fi
|
|
108
|
+
done
|
|
112
109
|
|
|
113
110
|
# Summary
|
|
114
111
|
echo ""
|
package/package.json
CHANGED
package/ralph/ralph-claude.mjs
CHANGED
|
@@ -363,7 +363,7 @@ async function main() {
|
|
|
363
363
|
// Derive branch name and log directory
|
|
364
364
|
const branch = deriveBranchName(planPath);
|
|
365
365
|
const timestamp = new Date().toISOString().replace(/[:.]/g, '-').slice(0, 19);
|
|
366
|
-
const logsBaseDir = resolve(__dirname, 'logs');
|
|
366
|
+
const logsBaseDir = resolve(__dirname, '../..', 'logs');
|
|
367
367
|
let logsDir;
|
|
368
368
|
if (isDryRun) {
|
|
369
369
|
// Dry runs always get a fresh folder
|