@jakobm/peacekeeper 0.24.0 → 0.25.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/README.md
CHANGED
|
@@ -394,9 +394,11 @@ Platform-specific `setup.linux.script`, `setup.macos.script`, and
|
|
|
394
394
|
`setup.windows.script` overrides, when present, must start with the same prefix.
|
|
395
395
|
The setup requires Bash and curl, activates or installs Volta, logs tool versions,
|
|
396
396
|
and runs `npm ci` using the package.json pins. It then runs
|
|
397
|
-
`peacekeeper initialize-codex-worktree --sync-primary`
|
|
398
|
-
|
|
399
|
-
|
|
397
|
+
`peacekeeper initialize-codex-worktree --sync-primary` followed by
|
|
398
|
+
`peacekeeper cleanup-merged-branches --execute` before any project-specific setup,
|
|
399
|
+
initializing each new linked worktree from the exact commit fetched from the
|
|
400
|
+
configured remote default branch, safely synchronizing the primary checkout, and
|
|
401
|
+
removing merged branches and their linked worktrees.
|
|
400
402
|
A passing check validates the parsed script text; it does not run setup or prove
|
|
401
403
|
that a fresh environment works. Verify that separately in a new Codex worktree.
|
|
402
404
|
Prefix changes in future Peacekeeper versions require updating each project's
|
|
@@ -410,6 +412,7 @@ script = '''
|
|
|
410
412
|
# ...the required Peacekeeper setup prefix...
|
|
411
413
|
npm ci
|
|
412
414
|
npm exec --no -- peacekeeper initialize-codex-worktree --sync-primary
|
|
415
|
+
npm exec --no -- peacekeeper cleanup-merged-branches --execute
|
|
413
416
|
# Add custom project setup below
|
|
414
417
|
'''
|
|
415
418
|
```
|
package/dist/package.json
CHANGED
|
@@ -20,5 +20,6 @@ npm ci
|
|
|
20
20
|
|
|
21
21
|
# Initialize the linked worktree and safely synchronize the primary checkout.
|
|
22
22
|
npm exec --no -- peacekeeper initialize-codex-worktree --sync-primary
|
|
23
|
+
npm exec --no -- peacekeeper cleanup-merged-branches --execute
|
|
23
24
|
|
|
24
25
|
# Add custom project setup below
|