@solaqua/gji 0.4.0 → 0.4.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.
@@ -1,4 +1,4 @@
1
- .TH GJI\-CLEAN 1 "April 2026" "gji 0.4.0" "User Commands"
1
+ .TH GJI\-CLEAN 1 "May 2026" "gji 0.4.1" "User Commands"
2
2
  .SH NAME
3
3
  gji\-clean \- interactively prune linked worktrees
4
4
  .SH SYNOPSIS
@@ -10,6 +10,9 @@ interactively prune linked worktrees
10
10
  .B \-f, \-\-force
11
11
  bypass prompts, force\-remove dirty worktrees, and force\-delete unmerged branches
12
12
  .TP
13
+ .B \-\-stale
14
+ only target clean worktrees whose upstream is gone and branch is merged into the default branch
15
+ .TP
13
16
  .B \-\-dry\-run
14
17
  show what would be deleted without removing anything
15
18
  .TP
@@ -0,0 +1,9 @@
1
+ .TH GJI\-COMPLETION 1 "May 2026" "gji 0.4.1" "User Commands"
2
+ .SH NAME
3
+ gji\-completion \- print shell completion definitions
4
+ .SH SYNOPSIS
5
+ .B gji completion [options] [shell]
6
+ .SH DESCRIPTION
7
+ print shell completion definitions
8
+ .SH "SEE ALSO"
9
+ .BR gji (1)
@@ -1,4 +1,4 @@
1
- .TH GJI\-CONFIG 1 "April 2026" "gji 0.4.0" "User Commands"
1
+ .TH GJI\-CONFIG 1 "May 2026" "gji 0.4.1" "User Commands"
2
2
  .SH NAME
3
3
  gji\-config \- manage global config defaults
4
4
  .SH SYNOPSIS
package/man/man1/gji-go.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH GJI\-GO 1 "April 2026" "gji 0.4.0" "User Commands"
1
+ .TH GJI\-GO 1 "May 2026" "gji 0.4.1" "User Commands"
2
2
  .SH NAME
3
3
  gji\-go \- print or select a worktree path
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-INIT 1 "April 2026" "gji 0.4.0" "User Commands"
1
+ .TH GJI\-INIT 1 "May 2026" "gji 0.4.1" "User Commands"
2
2
  .SH NAME
3
3
  gji\-init \- print or install shell integration
4
4
  .SH SYNOPSIS
package/man/man1/gji-ls.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH GJI\-LS 1 "April 2026" "gji 0.4.0" "User Commands"
1
+ .TH GJI\-LS 1 "May 2026" "gji 0.4.1" "User Commands"
2
2
  .SH NAME
3
3
  gji\-ls \- list active worktrees
4
4
  .SH SYNOPSIS
@@ -7,6 +7,9 @@ gji\-ls \- list active worktrees
7
7
  list active worktrees
8
8
  .SH OPTIONS
9
9
  .TP
10
+ .B \-\-compact
11
+ show only branch and path columns
12
+ .TP
10
13
  .B \-\-json
11
14
  print active worktrees as JSON
12
15
  .SH "SEE ALSO"
@@ -1,4 +1,4 @@
1
- .TH GJI\-NEW 1 "April 2026" "gji 0.4.0" "User Commands"
1
+ .TH GJI\-NEW 1 "May 2026" "gji 0.4.1" "User Commands"
2
2
  .SH NAME
3
3
  gji\-new \- create a new branch or detached linked worktree
4
4
  .SH SYNOPSIS
package/man/man1/gji-pr.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH GJI\-PR 1 "April 2026" "gji 0.4.0" "User Commands"
1
+ .TH GJI\-PR 1 "May 2026" "gji 0.4.1" "User Commands"
2
2
  .SH NAME
3
3
  gji\-pr \- fetch a pull request by number, #number, or URL into a linked worktree
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-REMOVE 1 "April 2026" "gji 0.4.0" "User Commands"
1
+ .TH GJI\-REMOVE 1 "May 2026" "gji 0.4.1" "User Commands"
2
2
  .SH NAME
3
3
  gji\-remove \- remove a linked worktree and delete its branch when present
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-ROOT 1 "April 2026" "gji 0.4.0" "User Commands"
1
+ .TH GJI\-ROOT 1 "May 2026" "gji 0.4.1" "User Commands"
2
2
  .SH NAME
3
3
  gji\-root \- print the main repository root path
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-STATUS 1 "April 2026" "gji 0.4.0" "User Commands"
1
+ .TH GJI\-STATUS 1 "May 2026" "gji 0.4.1" "User Commands"
2
2
  .SH NAME
3
3
  gji\-status \- summarize repository and worktree health
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-SYNC 1 "April 2026" "gji 0.4.0" "User Commands"
1
+ .TH GJI\-SYNC 1 "May 2026" "gji 0.4.1" "User Commands"
2
2
  .SH NAME
3
3
  gji\-sync \- fetch and update one or all worktrees
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-TRIGGER\-HOOK 1 "April 2026" "gji 0.4.0" "User Commands"
1
+ .TH GJI\-TRIGGER\-HOOK 1 "May 2026" "gji 0.4.1" "User Commands"
2
2
  .SH NAME
3
3
  gji\-trigger\-hook \- run a named hook (afterCreate, afterEnter, beforeRemove) in the current worktree
4
4
  .SH SYNOPSIS
package/man/man1/gji.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH GJI 1 "April 2026" "gji 0.4.0" "User Commands"
1
+ .TH GJI 1 "May 2026" "gji 0.4.1" "User Commands"
2
2
  .SH NAME
3
3
  gji \- Context switching without the mess.
4
4
  .SH SYNOPSIS
@@ -17,6 +17,9 @@ create a new branch or detached linked worktree
17
17
  .B init [options] [shell]
18
18
  print or install shell integration
19
19
  .TP
20
+ .B completion [options] [shell]
21
+ print shell completion definitions
22
+ .TP
20
23
  .B pr [options] <ref>
21
24
  fetch a pull request by number, #number, or URL into a linked worktree
22
25
  .TP
@@ -55,6 +58,7 @@ output the version number
55
58
  .SH "SEE ALSO"
56
59
  .BR gji\-new (1),
57
60
  .BR gji\-init (1),
61
+ .BR gji\-completion (1),
58
62
  .BR gji\-pr (1),
59
63
  .BR gji\-go (1),
60
64
  .BR gji\-root (1),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solaqua/gji",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Git worktree CLI for fast context switching.",
5
5
  "license": "MIT",
6
6
  "author": "sjquant",
@@ -42,7 +42,11 @@
42
42
  },
43
43
  "scripts": {
44
44
  "build": "node scripts/clean-dist.mjs && tsc -p tsconfig.build.json",
45
+ "generate:readme-demos": "node scripts/generate-readme-demos.mjs",
46
+ "bundle": "node scripts/bundle.mjs",
45
47
  "generate-man": "node scripts/generate-man.mjs",
48
+ "docs:build": "pnpm --dir website build",
49
+ "docs:start": "pnpm --dir website start",
46
50
  "prepublishOnly": "pnpm test && pnpm build && pnpm generate-man",
47
51
  "test": "vitest run --passWithNoTests",
48
52
  "test:watch": "vitest"
@@ -50,11 +54,16 @@
50
54
  "dependencies": {
51
55
  "@clack/core": "0.5.0",
52
56
  "@clack/prompts": "^0.11.0",
53
- "commander": "^14.0.1"
57
+ "commander": "^14.0.1",
58
+ "update-notifier": "^7.3.1"
54
59
  },
55
60
  "devDependencies": {
56
61
  "@types/node": "^24.6.0",
62
+ "esbuild": "^0.27.0",
57
63
  "typescript": "^5.9.3",
58
64
  "vitest": "^3.2.4"
65
+ },
66
+ "pnpm": {
67
+ "onlyBuiltDependencies": ["esbuild"]
59
68
  }
60
69
  }