diffstalker 0.2.3 → 0.2.5
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/.dependency-cruiser.cjs +2 -2
- package/.githooks/pre-push +2 -2
- package/.github/workflows/release.yml +3 -0
- package/CHANGELOG.md +6 -0
- package/dist/App.js +278 -758
- package/dist/KeyBindings.js +103 -91
- package/dist/ModalController.js +166 -0
- package/dist/MouseHandlers.js +37 -30
- package/dist/NavigationController.js +290 -0
- package/dist/StagingOperations.js +199 -0
- package/dist/config.js +39 -0
- package/dist/core/CompareManager.js +134 -0
- package/dist/core/ExplorerStateManager.js +7 -3
- package/dist/core/GitStateManager.js +28 -771
- package/dist/core/HistoryManager.js +72 -0
- package/dist/core/RemoteOperationManager.js +109 -0
- package/dist/core/WorkingTreeManager.js +412 -0
- package/dist/index.js +57 -57
- package/dist/state/FocusRing.js +40 -0
- package/dist/state/UIState.js +82 -48
- package/dist/ui/PaneRenderers.js +3 -6
- package/dist/ui/modals/BaseBranchPicker.js +4 -7
- package/dist/ui/modals/CommitActionConfirm.js +4 -4
- package/dist/ui/modals/DiscardConfirm.js +4 -7
- package/dist/ui/modals/FileFinder.js +3 -6
- package/dist/ui/modals/HotkeysModal.js +24 -21
- package/dist/ui/modals/Modal.js +1 -0
- package/dist/ui/modals/RepoPicker.js +109 -0
- package/dist/ui/modals/ThemePicker.js +4 -7
- package/dist/ui/widgets/CommitPanel.js +26 -94
- package/dist/ui/widgets/CompareListView.js +1 -11
- package/dist/ui/widgets/DiffView.js +2 -27
- package/dist/ui/widgets/ExplorerContent.js +1 -4
- package/dist/ui/widgets/ExplorerView.js +1 -11
- package/dist/ui/widgets/FileList.js +2 -8
- package/dist/ui/widgets/Footer.js +1 -0
- package/dist/utils/ansi.js +38 -0
- package/dist/utils/ansiTruncate.js +1 -5
- package/dist/utils/displayRows.js +72 -59
- package/dist/utils/fileCategories.js +7 -0
- package/dist/utils/fileResolution.js +23 -0
- package/dist/utils/languageDetection.js +3 -2
- package/dist/utils/logger.js +32 -0
- package/metrics/v0.2.4.json +236 -0
- package/metrics/v0.2.5.json +236 -0
- package/package.json +1 -1
- package/dist/ui/modals/BranchPicker.js +0 -157
- package/dist/ui/modals/SoftResetConfirm.js +0 -68
- package/dist/ui/modals/StashListModal.js +0 -98
- package/dist/utils/layoutCalculations.js +0 -100
package/.dependency-cruiser.cjs
CHANGED
|
@@ -43,11 +43,11 @@ module.exports = {
|
|
|
43
43
|
// --- UI layer must not import top-level orchestrators ---
|
|
44
44
|
{
|
|
45
45
|
name: "ui-no-top-level",
|
|
46
|
-
comment: "ui/ must not import App, index, KeyBindings, MouseHandlers, or FollowMode",
|
|
46
|
+
comment: "ui/ must not import App, index, KeyBindings, MouseHandlers, NavigationController, or FollowMode",
|
|
47
47
|
severity: "error",
|
|
48
48
|
from: { path: "^src/ui/" },
|
|
49
49
|
to: {
|
|
50
|
-
path: "^src/(App|index|KeyBindings|MouseHandlers|FollowMode)\\.ts$",
|
|
50
|
+
path: "^src/(App|index|KeyBindings|MouseHandlers|NavigationController|StagingOperations|ModalController|FollowMode)\\.ts$",
|
|
51
51
|
},
|
|
52
52
|
},
|
|
53
53
|
|
package/.githooks/pre-push
CHANGED
|
@@ -10,6 +10,6 @@ while read local_ref local_sha remote_ref remote_sha; do
|
|
|
10
10
|
done
|
|
11
11
|
|
|
12
12
|
if [ "$pushing_tag" = true ]; then
|
|
13
|
-
echo "Tag push detected — running
|
|
14
|
-
|
|
13
|
+
echo "Tag push detected — dry-running CI workflow..."
|
|
14
|
+
act push --env ACT=true --workflows .github/workflows/release.yml
|
|
15
15
|
fi
|
|
@@ -28,6 +28,7 @@ jobs:
|
|
|
28
28
|
- run: bun test
|
|
29
29
|
- run: bun run metrics:snapshot
|
|
30
30
|
- name: Commit metrics snapshot
|
|
31
|
+
if: ${{ !env.ACT }}
|
|
31
32
|
run: |
|
|
32
33
|
git config user.name "github-actions[bot]"
|
|
33
34
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
@@ -35,8 +36,10 @@ jobs:
|
|
|
35
36
|
git commit -m "Add metrics snapshot for ${{ github.ref_name }}" || true
|
|
36
37
|
git push origin HEAD:main
|
|
37
38
|
- run: npm publish --access public
|
|
39
|
+
if: ${{ !env.ACT }}
|
|
38
40
|
|
|
39
41
|
- name: Create GitHub Release
|
|
42
|
+
if: ${{ !env.ACT }}
|
|
40
43
|
uses: softprops/action-gh-release@v2
|
|
41
44
|
with:
|
|
42
45
|
generate_release_notes: true
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.2.5] - 2026-03-06
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Show application version in hotkeys modal footer
|
|
13
|
+
|
|
8
14
|
## [0.2.0] - 2026-01-27
|
|
9
15
|
|
|
10
16
|
### Changed
|