@kitlangton/ghui 0.3.0 → 0.3.2

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.
Files changed (54) hide show
  1. package/bin/ghui.js +6 -1
  2. package/dist/index.js +9419 -0
  3. package/package.json +7 -4
  4. package/src/App.tsx +0 -2779
  5. package/src/appCommands.ts +0 -409
  6. package/src/commands.ts +0 -73
  7. package/src/config.ts +0 -20
  8. package/src/date.ts +0 -20
  9. package/src/domain.ts +0 -149
  10. package/src/errors.ts +0 -10
  11. package/src/index.tsx +0 -50
  12. package/src/keyboard/opentuiAdapter.ts +0 -43
  13. package/src/keymap/all.ts +0 -116
  14. package/src/keymap/changedFilesModal.ts +0 -23
  15. package/src/keymap/closeModal.ts +0 -13
  16. package/src/keymap/commandPalette.ts +0 -16
  17. package/src/keymap/commentModal.ts +0 -73
  18. package/src/keymap/commentThreadModal.ts +0 -24
  19. package/src/keymap/detailView.ts +0 -30
  20. package/src/keymap/diffView.ts +0 -93
  21. package/src/keymap/filterMode.ts +0 -13
  22. package/src/keymap/helpers.ts +0 -24
  23. package/src/keymap/labelModal.ts +0 -16
  24. package/src/keymap/listNav.ts +0 -119
  25. package/src/keymap/mergeModal.ts +0 -23
  26. package/src/keymap/openRepositoryModal.ts +0 -13
  27. package/src/keymap/submitReviewModal.ts +0 -48
  28. package/src/keymap/themeModal.ts +0 -49
  29. package/src/mergeActions.ts +0 -88
  30. package/src/observability.ts +0 -46
  31. package/src/pullRequestCache.ts +0 -19
  32. package/src/pullRequestViews.ts +0 -43
  33. package/src/services/BrowserOpener.ts +0 -22
  34. package/src/services/Clipboard.ts +0 -46
  35. package/src/services/CommandRunner.ts +0 -91
  36. package/src/services/GitHubService.ts +0 -756
  37. package/src/services/MockGitHubService.ts +0 -182
  38. package/src/themeStore.ts +0 -60
  39. package/src/ui/CommandPalette.tsx +0 -176
  40. package/src/ui/DetailsPane.tsx +0 -656
  41. package/src/ui/FooterHints.tsx +0 -90
  42. package/src/ui/LoadingLogo.tsx +0 -75
  43. package/src/ui/PullRequestDiffPane.tsx +0 -249
  44. package/src/ui/PullRequestList.tsx +0 -194
  45. package/src/ui/colors.ts +0 -821
  46. package/src/ui/commentEditor.ts +0 -126
  47. package/src/ui/comments.tsx +0 -143
  48. package/src/ui/diff.ts +0 -650
  49. package/src/ui/diffStats.tsx +0 -25
  50. package/src/ui/modals.tsx +0 -964
  51. package/src/ui/primitives.tsx +0 -350
  52. package/src/ui/pullRequests.ts +0 -106
  53. package/src/ui/singleLineInput.ts +0 -26
  54. package/src/ui/spinner.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitlangton/ghui",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Terminal UI for GitHub pull requests",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@
21
21
  ],
22
22
  "files": [
23
23
  "bin",
24
- "src",
24
+ "dist",
25
25
  "README.md",
26
26
  ".env.example",
27
27
  "LICENSE"
@@ -35,6 +35,7 @@
35
35
  "ghui": "bin/ghui.js"
36
36
  },
37
37
  "scripts": {
38
+ "build:cli": "bun run dev/build-cli.ts",
38
39
  "changeset": "npm exec --package @changesets/cli@2.31.0 -- changeset",
39
40
  "changeset:status": "npm exec --package @changesets/cli@2.31.0 -- changeset status",
40
41
  "changeset:version": "npm exec --package @changesets/cli@2.31.0 -- changeset version",
@@ -46,7 +47,9 @@
46
47
  "typecheck": "tsc --noEmit",
47
48
  "lint": "oxlint --tsconfig tsconfig.json src/ test/",
48
49
  "format": "oxfmt src/ test/ dev/",
49
- "format:check": "oxfmt --check src/ test/ dev/"
50
+ "format:check": "oxfmt --check src/ test/ dev/",
51
+ "package:smoke": "bun run dev/package-smoke.ts",
52
+ "prepack": "bun run build:cli"
50
53
  },
51
54
  "workspaces": [
52
55
  ".",
@@ -54,7 +57,6 @@
54
57
  ],
55
58
  "dependencies": {
56
59
  "@effect/atom-react": "4.0.0-beta.59",
57
- "@ghui/keymap": "workspace:*",
58
60
  "@opentui/core": "0.2.1",
59
61
  "@opentui/react": "0.2.1",
60
62
  "effect": "4.0.0-beta.59",
@@ -62,6 +64,7 @@
62
64
  "scheduler": "0.27.0"
63
65
  },
64
66
  "devDependencies": {
67
+ "@ghui/keymap": "workspace:*",
65
68
  "@effect/language-service": "0.85.1",
66
69
  "@types/bun": "1.3.12",
67
70
  "@types/react": "19.2.14",