@omercnet/paseo-fresh-worktrees 2.2.0 → 2.2.1-next.228.1
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/OVERVIEW.md +7 -0
- package/package.json +5 -4
package/OVERVIEW.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Fresh Worktrees updates the local base branch before Paseo creates a branch-off worktree, so new work starts from the latest remote code instead of a stale `main`.
|
|
2
|
+
|
|
3
|
+
Before the worktree is created, the plugin runs `git fetch --prune` against the repository's remote, then fast-forwards the local base branch with `git merge --ff-only`. It does this only when that branch is checked out in the source checkout and the checkout has no uncommitted changes. If the checkout is dirty, the fetch fails, or the update is not a fast-forward, it warns and the workspace is created from the existing local base. Explicit remote bases are fetched but no local branch is changed, and repositories without a remote are left alone.
|
|
4
|
+
|
|
5
|
+
It also shows `Behind · N` in the workspace header when a worktree is behind its source branch's remote. On Paseo 0.11 and later, a sidebar footer lists behind workspaces and offers **Refresh all**, which fast-forwards each clean source checkout and skips dirty or diverged ones. It never modifies worktree branches.
|
|
6
|
+
|
|
7
|
+
Setup: `git` on the daemon host. The plugin runs `git` there with the daemon's environment and contacts the repository's remote on each fetch. Requires Paseo ^0.9.0, ^0.10.0 or ^0.11.0.
|
package/package.json
CHANGED
|
@@ -30,9 +30,10 @@
|
|
|
30
30
|
"server",
|
|
31
31
|
"client",
|
|
32
32
|
"shared",
|
|
33
|
-
"paseo-plugin.json"
|
|
33
|
+
"paseo-plugin.json",
|
|
34
|
+
"OVERVIEW.md"
|
|
34
35
|
],
|
|
35
|
-
"version": "2.2.
|
|
36
|
+
"version": "2.2.1-next.228.1",
|
|
36
37
|
"type": "module",
|
|
37
38
|
"packageManager": "bun@1.4.2",
|
|
38
39
|
"engines": {
|
|
@@ -46,8 +47,8 @@
|
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
49
|
"@biomejs/biome": "^2.5.10",
|
|
49
|
-
"@getpaseo/client": "0.11.0-beta.
|
|
50
|
-
"@getpaseo/plugin": "0.11.0-beta.
|
|
50
|
+
"@getpaseo/client": "0.11.0-beta.5",
|
|
51
|
+
"@getpaseo/plugin": "0.11.0-beta.5",
|
|
51
52
|
"@types/node": "^24.10.1",
|
|
52
53
|
"@types/react": "^19.2.18",
|
|
53
54
|
"react": "19.1.0",
|