@solaqua/gji 0.6.2 → 0.7.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/README.md +26 -1
- package/dist/back.d.ts +1 -1
- package/dist/back.js +23 -17
- package/dist/clean.d.ts +1 -1
- package/dist/clean.js +44 -35
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +266 -165
- package/dist/completion.js +3 -3
- package/dist/config-command.js +5 -5
- package/dist/config.js +41 -35
- package/dist/conflict.d.ts +1 -1
- package/dist/conflict.js +14 -6
- package/dist/editor.js +29 -9
- package/dist/file-sync.d.ts +1 -0
- package/dist/file-sync.js +15 -11
- package/dist/git.d.ts +1 -1
- package/dist/git.js +21 -19
- package/dist/gji-bundle.mjs +1688 -865
- package/dist/go.d.ts +2 -2
- package/dist/go.js +39 -26
- package/dist/headless.js +1 -1
- package/dist/history-command.js +3 -3
- package/dist/history.js +12 -12
- package/dist/hooks.d.ts +3 -3
- package/dist/hooks.js +19 -19
- package/dist/index.js +13 -9
- package/dist/init.d.ts +5 -5
- package/dist/init.js +115 -103
- package/dist/install-prompt.d.ts +3 -3
- package/dist/install-prompt.js +57 -38
- package/dist/ls.d.ts +2 -2
- package/dist/ls.js +29 -29
- package/dist/new.d.ts +2 -2
- package/dist/new.js +97 -82
- package/dist/open.d.ts +2 -2
- package/dist/open.js +24 -21
- package/dist/package-manager.js +96 -45
- package/dist/pr.d.ts +2 -2
- package/dist/pr.js +47 -34
- package/dist/remove.d.ts +1 -1
- package/dist/remove.js +39 -27
- package/dist/repo-registry.js +14 -14
- package/dist/repo.js +29 -28
- package/dist/root.js +3 -3
- package/dist/run-hook.d.ts +6 -0
- package/dist/{trigger-hook.js → run-hook.js} +18 -8
- package/dist/shell-completion.d.ts +1 -1
- package/dist/shell-completion.js +67 -39
- package/dist/shell-handoff.js +2 -2
- package/dist/shell.d.ts +1 -1
- package/dist/shell.js +4 -4
- package/dist/status.d.ts +5 -5
- package/dist/status.js +23 -23
- package/dist/sync-files-command.d.ts +10 -0
- package/dist/sync-files-command.js +137 -0
- package/dist/sync.js +23 -15
- package/dist/warp.js +37 -33
- package/dist/worktree-info.d.ts +9 -9
- package/dist/worktree-info.js +31 -29
- package/dist/worktree-management.d.ts +1 -1
- package/dist/worktree-management.js +26 -11
- package/dist/worktree-prompts.js +5 -5
- package/man/man1/gji-back.1 +1 -1
- package/man/man1/gji-clean.1 +1 -1
- package/man/man1/gji-completion.1 +1 -1
- package/man/man1/gji-config.1 +1 -1
- package/man/man1/gji-go.1 +1 -1
- package/man/man1/gji-history.1 +1 -1
- package/man/man1/gji-init.1 +1 -1
- package/man/man1/gji-ls.1 +1 -1
- package/man/man1/gji-new.1 +1 -1
- package/man/man1/gji-open.1 +1 -1
- package/man/man1/gji-pr.1 +1 -1
- package/man/man1/gji-remove.1 +1 -1
- package/man/man1/gji-root.1 +1 -1
- package/man/man1/gji-run-hook.1 +9 -0
- package/man/man1/gji-status.1 +1 -1
- package/man/man1/gji-sync-files.1 +23 -0
- package/man/man1/gji-sync.1 +1 -1
- package/man/man1/gji-warp.1 +1 -1
- package/man/man1/gji.1 +10 -4
- package/package.json +8 -2
- package/dist/trigger-hook.d.ts +0 -6
- package/man/man1/gji-trigger-hook.1 +0 -9
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.TH GJI\-SYNC\-FILES 1 "June 2026" "gji 0.7.1" "User Commands"
|
|
2
|
+
.SH NAME
|
|
3
|
+
gji\-sync\-files \- manage local files copied into new worktrees
|
|
4
|
+
.SH SYNOPSIS
|
|
5
|
+
.B gji sync\-files [\fIoptions\fR] [options] [command]
|
|
6
|
+
.SH DESCRIPTION
|
|
7
|
+
manage local files copied into new worktrees
|
|
8
|
+
.SH OPTIONS
|
|
9
|
+
.TP
|
|
10
|
+
.B \-\-json
|
|
11
|
+
emit JSON instead of human\-readable output
|
|
12
|
+
.SH SUBCOMMANDS
|
|
13
|
+
.TP
|
|
14
|
+
.B list
|
|
15
|
+
list files synced into new worktrees for this repo
|
|
16
|
+
.TP
|
|
17
|
+
.B add
|
|
18
|
+
add repo\-local sync files to global config
|
|
19
|
+
.TP
|
|
20
|
+
.B remove
|
|
21
|
+
remove repo\-local sync files from global config
|
|
22
|
+
.SH "SEE ALSO"
|
|
23
|
+
.BR gji (1)
|
package/man/man1/gji-sync.1
CHANGED
package/man/man1/gji-warp.1
CHANGED
package/man/man1/gji.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH GJI 1 "
|
|
1
|
+
.TH GJI 1 "June 2026" "gji 0.7.1" "User Commands"
|
|
2
2
|
.SH NAME
|
|
3
3
|
gji \- Context switching without the mess.
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -46,6 +46,9 @@ summarize repository and worktree health
|
|
|
46
46
|
.B sync [options]
|
|
47
47
|
fetch and update one or all worktrees
|
|
48
48
|
.TP
|
|
49
|
+
.B sync\-files [options] [command]
|
|
50
|
+
manage local files copied into new worktrees
|
|
51
|
+
.TP
|
|
49
52
|
.B ls [options]
|
|
50
53
|
list active worktrees
|
|
51
54
|
.TP
|
|
@@ -57,8 +60,10 @@ remove a linked worktree and delete its branch when present
|
|
|
57
60
|
.br
|
|
58
61
|
Alias: \fBrm\fR
|
|
59
62
|
.TP
|
|
60
|
-
.B
|
|
61
|
-
run a named hook (
|
|
63
|
+
.B run\-hook [options] <hook>
|
|
64
|
+
run a named hook (after\-create, after\-enter, before\-remove) in the current worktree
|
|
65
|
+
.br
|
|
66
|
+
Alias: \fBtrigger\-hook\fR
|
|
62
67
|
.TP
|
|
63
68
|
.B warp [options] [branch]
|
|
64
69
|
jump to any worktree across all known repos
|
|
@@ -81,9 +86,10 @@ output the version number
|
|
|
81
86
|
.BR gji\-root (1),
|
|
82
87
|
.BR gji\-status (1),
|
|
83
88
|
.BR gji\-sync (1),
|
|
89
|
+
.BR gji\-sync\-files (1),
|
|
84
90
|
.BR gji\-ls (1),
|
|
85
91
|
.BR gji\-clean (1),
|
|
86
92
|
.BR gji\-remove (1),
|
|
87
|
-
.BR gji\-
|
|
93
|
+
.BR gji\-run\-hook (1),
|
|
88
94
|
.BR gji\-warp (1),
|
|
89
95
|
.BR gji\-config (1)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solaqua/gji",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Git worktree CLI for fast context switching.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "sjquant",
|
|
@@ -49,7 +49,11 @@
|
|
|
49
49
|
"docs:start": "pnpm --dir website start",
|
|
50
50
|
"prepublishOnly": "pnpm test && pnpm build && pnpm generate-man",
|
|
51
51
|
"test": "vitest run --passWithNoTests",
|
|
52
|
-
"test:watch": "vitest"
|
|
52
|
+
"test:watch": "vitest",
|
|
53
|
+
"lint": "biome lint --write .",
|
|
54
|
+
"format": "biome format --write .",
|
|
55
|
+
"typecheck": "tsc --noEmit",
|
|
56
|
+
"prepare": "prek install || true"
|
|
53
57
|
},
|
|
54
58
|
"dependencies": {
|
|
55
59
|
"@clack/core": "0.5.0",
|
|
@@ -58,6 +62,8 @@
|
|
|
58
62
|
"update-notifier": "^7.3.1"
|
|
59
63
|
},
|
|
60
64
|
"devDependencies": {
|
|
65
|
+
"@biomejs/biome": "^2.4.15",
|
|
66
|
+
"@j178/prek": "^0.3.13",
|
|
61
67
|
"@types/node": "^24.6.0",
|
|
62
68
|
"esbuild": "^0.27.0",
|
|
63
69
|
"typescript": "^5.9.3",
|
package/dist/trigger-hook.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
.TH GJI\-TRIGGER\-HOOK 1 "May 2026" "gji 0.6.2" "User Commands"
|
|
2
|
-
.SH NAME
|
|
3
|
-
gji\-trigger\-hook \- run a named hook (afterCreate, afterEnter, beforeRemove) in the current worktree
|
|
4
|
-
.SH SYNOPSIS
|
|
5
|
-
.B gji trigger\-hook [options] <hook>
|
|
6
|
-
.SH DESCRIPTION
|
|
7
|
-
run a named hook (afterCreate, afterEnter, beforeRemove) in the current worktree
|
|
8
|
-
.SH "SEE ALSO"
|
|
9
|
-
.BR gji (1)
|