-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
196 lines (196 loc) · 5.37 KB
/
Copy pathpackage.json
File metadata and controls
196 lines (196 loc) · 5.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
"name": "git-palette",
"displayName": "Git Palette",
"description": "Quick access to common Git commands with keyboard shortcuts",
"version": "0.1.0",
"publisher": "git-palette",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/yourusername/git-palette"
},
"main": "./dist/extension.js",
"engines": {
"vscode": "^1.125.0"
},
"categories": [
"SCM Providers",
"Other"
],
"scripts": {
"build": "tsc --noEmit && bun build.ts",
"package": "bunx @vscode/vsce package",
"package:install": "code --install-extension ./git-palette-0.1.0.vsix --force",
"publish": "bunx @vscode/vsce publish",
"vscode:prepublish": "bun run build",
"clean": "rm -rf dist *.vsix",
"test": "bun test"
},
"dependencies": {
"fuzzysort": "^4.0.2"
},
"devDependencies": {
"@types/bun": "^1.4.0",
"@types/node": "^26.4.1",
"@types/vscode": "^1.125.0",
"@vscode/vsce": "^3.9.2",
"typescript": "^7.0.2"
},
"contributes": {
"configuration": {
"title": "Git Palette",
"properties": {
"git-palette.autoAddFiles": {
"type": "boolean",
"default": true,
"description": "Automatically add all files when committing or amending a commit"
},
"git-palette.alwaysAddAllChanges": {
"type": "boolean",
"default": true,
"description": "Always add all changes when using Git Add command (true) or prompt for files to add (false)"
},
"git-palette.showNotifications": {
"type": "boolean",
"default": true,
"description": "Show popup notifications for Git Palette command results"
},
"git-palette.showSyncNotifications": {
"type": "boolean",
"default": true,
"description": "Show cancellable progress and result notifications for Git Sync"
},
"git-palette.showGitHooksOutput": {
"type": "boolean",
"default": true,
"description": "Stream live stdout and stderr from Git commands with relevant executable local hooks"
},
"git-palette.showGitHooksOutputTimestamps": {
"type": "boolean",
"default": true,
"description": "Show timestamps in Git hooks output headers"
}
}
},
"commands": [
{
"title": "Add",
"command": "git-palette.gitAdd",
"category": "Git Palette"
},
{
"title": "Commit",
"command": "git-palette.gitCommit",
"category": "Git Palette"
},
{
"title": "Commit Amend",
"command": "git-palette.gitCommitAmend",
"category": "Git Palette"
},
{
"title": "Clone",
"command": "git-palette.gitClone",
"category": "Git Palette"
},
{
"title": "Pull",
"command": "git-palette.gitPull",
"category": "Git Palette"
},
{
"title": "Push",
"command": "git-palette.gitPush",
"category": "Git Palette"
},
{
"title": "Sync",
"command": "git-palette.gitSync",
"category": "Git Palette"
},
{
"title": "Show Git Commands",
"command": "git-palette.showCustomCommands",
"category": "Git Palette"
},
{
"title": "Show Git Hooks Output",
"command": "git-palette.showGitHooksOutput",
"category": "Git Palette",
"enablement": "config.git-palette.showGitHooksOutput"
},
{
"title": "Rename Branch",
"command": "git-palette.renameBranch",
"category": "Git Palette"
},
{
"title": "Toggle Git Hooks",
"command": "git-palette.toggleNoVerify",
"category": "Git Palette"
},
{
"title": "Git Palette: Sync",
"command": "git-palette.gitSyncButton",
"icon": "$(sync)",
"enablement": "!operationInProgress"
},
{
"title": "Git Palette: Syncing...",
"command": "git-palette.gitSyncButtonSyncing",
"icon": "$(sync~spin)",
"enablement": "false"
},
{
"title": "Git Palette: Disable Git Hooks",
"command": "git-palette.toggleNoVerifyOn",
"icon": "$(shield)"
},
{
"title": "Git Palette: Enable Git Hooks",
"command": "git-palette.toggleNoVerifyOff",
"icon": "$(error)"
}
],
"keybindings": [
{
"command": "git-palette.showCustomCommands",
"key": "ctrl+shift+g",
"mac": "cmd+shift+g"
}
],
"menus": {
"scm/title": [
{
"command": "git-palette.gitSyncButton",
"group": "navigation",
"when": "scmProvider == git && !git-palette.isSyncing"
},
{
"command": "git-palette.gitSyncButtonSyncing",
"group": "navigation",
"when": "scmProvider == git && git-palette.isSyncing"
}
],
"commandPalette": [
{
"command": "git-palette.gitSyncButton",
"when": "false"
},
{
"command": "git-palette.gitSyncButtonSyncing",
"when": "false"
},
{
"command": "git-palette.toggleNoVerifyOn",
"when": "false"
},
{
"command": "git-palette.toggleNoVerifyOff",
"when": "false"
}
]
}
}
}