git-stack-cli 1.15.0 → 2.0.0-beta

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 (59) hide show
  1. package/README.md +15 -14
  2. package/dist/js/index.js +45709 -0
  3. package/package.json +17 -23
  4. package/scripts/bun-build.ts +109 -0
  5. package/scripts/bun-compile.ts +79 -0
  6. package/scripts/npm-prepublishOnly.ts +1 -1
  7. package/scripts/release-brew.ts +26 -48
  8. package/scripts/release-github.ts +21 -9
  9. package/scripts/release-npm.ts +8 -11
  10. package/src/app/App.tsx +39 -31
  11. package/src/app/AutoUpdate.tsx +9 -24
  12. package/src/app/CherryPickCheck.tsx +1 -2
  13. package/src/app/Debug.tsx +3 -5
  14. package/src/app/DependencyCheck.tsx +6 -6
  15. package/src/app/DetectInitialPR.tsx +2 -8
  16. package/src/app/DirtyCheck.tsx +15 -1
  17. package/src/app/Exit.tsx +1 -5
  18. package/src/app/FormatText.tsx +1 -5
  19. package/src/app/GatherMetadata.tsx +6 -13
  20. package/src/app/GithubApiError.tsx +1 -1
  21. package/src/app/HandleCtrlCSigint.tsx +1 -12
  22. package/src/app/LocalCommitStatus.tsx +1 -3
  23. package/src/app/LogTimestamp.tsx +1 -5
  24. package/src/app/ManualRebase.tsx +4 -8
  25. package/src/app/MultiSelect.tsx +2 -2
  26. package/src/app/PostRebaseStatus.tsx +2 -0
  27. package/src/app/PreManualRebase.tsx +3 -5
  28. package/src/app/RebaseCheck.tsx +1 -2
  29. package/src/app/SelectCommitRanges.tsx +6 -10
  30. package/src/app/Status.tsx +1 -1
  31. package/src/app/StatusTable.tsx +1 -4
  32. package/src/app/Store.tsx +5 -1
  33. package/src/app/SyncGithub.tsx +4 -16
  34. package/src/app/Table.tsx +4 -14
  35. package/src/app/TextInput.tsx +2 -7
  36. package/src/app/VerboseDebugInfo.tsx +1 -5
  37. package/src/app/YesNoPrompt.tsx +42 -31
  38. package/src/command.ts +8 -17
  39. package/src/commands/Fixup.tsx +15 -22
  40. package/src/commands/Log.tsx +3 -7
  41. package/src/commands/Rebase.tsx +6 -8
  42. package/src/components/ErrorBoundary.tsx +79 -0
  43. package/src/components/ExitingGate.tsx +27 -0
  44. package/src/core/CommitMetadata.ts +1 -1
  45. package/src/core/GitReviseTodo.test.ts +3 -3
  46. package/src/core/GitReviseTodo.ts +8 -12
  47. package/src/core/Metadata.test.ts +4 -4
  48. package/src/core/StackSummaryTable.ts +3 -3
  49. package/src/core/chalk.ts +1 -5
  50. package/src/core/cli.ts +2 -2
  51. package/src/core/github.tsx +7 -13
  52. package/src/core/pretty_json.ts +1 -6
  53. package/src/github/gh.auth_status.test.ts +2 -6
  54. package/src/index.tsx +28 -3
  55. package/src/types/global.d.ts +0 -1
  56. package/tsconfig.json +1 -1
  57. package/dist/cjs/index.cjs +0 -38461
  58. package/rollup.config.js +0 -54
  59. package/scripts/build-standalone.ts +0 -73
package/README.md CHANGED
@@ -128,35 +128,36 @@ Ensure `node --version` is the same across both projects you are using to test t
128
128
  ```bash
129
129
  git submodule update --init --recursive
130
130
  npm i
131
- npm run dev
132
- npm unlink git-stack-cli
133
- npm link
134
-
135
- # navigate to project to test within
136
- npm unlink git-stack-cli
137
- npm link git-stack-cli
131
+ pnpm run dev
132
+ pnpm link --global
138
133
 
139
134
  git stack --verbose
140
135
  ```
141
136
 
142
- ## Build standalone executable
137
+ Remove global install
138
+
139
+ ```bash
140
+ pnpm remove -g git-stack-cli
141
+ ```
142
+
143
+ ## Build single-file executable
143
144
 
144
145
  ```bash
145
- npm run build:standalone
146
+ pnpm run compile
146
147
  ```
147
148
 
148
149
  ## Publishing
149
150
 
150
151
  > [!IMPORTANT]
151
152
  >
152
- > **You must update the `version` in `package.json` before running `npm run release`.
153
+ > **You must update the `version` in `package.json` before running `pnpm run release`.
153
154
  > DO NOT use `npm version` or commit the change, the release scripts handle git tags etc.**
154
155
 
155
156
  ```bash
156
- npm run release
157
+ pnpm run release
157
158
 
158
159
  # release individually
159
- npm run release:npm
160
- npm run release:github
161
- npm run release:brew
160
+ pnpm run release:npm
161
+ pnpm run release:github
162
+ pnpm run release:brew
162
163
  ```