-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
179 lines (179 loc) · 6.77 KB
/
package.json
File metadata and controls
179 lines (179 loc) · 6.77 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
{
"name": "bettergitvscode",
"displayName": "BetterGitVSCode",
"description": "Simplified, non-destructive version control.",
"version": "0.4.0",
"engines": {
"vscode": "^1.110.0"
},
"extensionDependencies": [
"github.copilot-chat"
],
"publisher": "yggdrasil-au",
"main": "./out/extension.js",
"repository": {},
"scripts": {
"production-1": "pnpm run build && pnpm run package && pnpm run uninstall-extension && pnpm run install-extension",
"production": "pnpm run build && pnpm run package",
"publish-public": "vsce publish --pat ${PAT} --pre-release",
"build": "tsc -p ./",
"increment-version": "node ./scripts/increment-version.mjs",
"package": "pnpm run increment-version && vsce package --pre-release -o ./build/",
"uninstall-extension": "code --uninstall-extension yggdrasil-au.bettergitvscode",
"install-extension": "node -e \"require('child_process').execSync('code --install-extension ./build/bettergitvscode-' + require('./package.json').version + '.vsix', {stdio: 'inherit'})\""
},
"contributes": {
"configuration": {
"title": "BetterGit",
"properties": {
"bettergit.executablePath": {
"type": "string",
"default": "",
"markdownDescription": "Path to the BetterGit executable (`BetterGit.exe`).\n\nAlternatively, you can edit this in [settings.json](command:workbench.action.openSettingsJson)."
},
"bettergit.submoduleChanges.openRepoNode": {
"type": "boolean",
"default": true,
"markdownDescription": "When a change item is a submodule (directory/gitlink), reveal and expand the submodule's repo node in the BetterGit view instead of opening a diff."
},
"bettergit.submoduleChanges.revealInExplorer": {
"type": "boolean",
"default": false,
"markdownDescription": "When a change item is a submodule (directory/gitlink), also reveal the submodule folder in your OS file explorer."
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "BetterSourceControlContainer",
"title": "Better Source Control",
"icon": "resources/shield-icon.svg"
}
]
},
"views": {
"BetterSourceControlContainer": [
{
"id": "BetterSourceControlView",
"name": "Project Status",
"icon": "resources/shield-icon.svg"
}
]
},
"commands": [
{
"command": "bettersourcecontrol.save",
"title": "Save",
"icon": "$(save)"
},
{
"command": "bettersourcecontrol.undo",
"title": "Undo",
"icon": "$(discard)"
},
{
"command": "bettersourcecontrol.redo",
"title": "Redo",
"icon": "$(redo)"
},
{
"command": "bettersourcecontrol.refresh",
"title": "Refresh",
"icon": "$(refresh)"
},
{
"command": "bettersourcecontrol.init",
"title": "Initialize Repository",
"icon": "$(repo)"
},
{
"command": "bettersourcecontrol.initNode",
"title": "Initialize Node Repository",
"icon": "$(repo)"
},
{
"command": "bettersourcecontrol.restore",
"title": "Restore This Version",
"icon": "$(reply)"
},
{
"command": "bettersourcecontrol.publish",
"title": "Publish (Push)",
"icon": "$(cloud-upload)"
},
{
"command": "bettersourcecontrol.merge",
"title": "Merge into Current",
"icon": "$(git-merge)"
},
{
"command": "bettersourcecontrol.setChannel",
"title": "Set Release Channel",
"icon": "$(beaker)"
},
{
"command": "bettersourcecontrol.remoteMoveGroup",
"title": "Move Remote To Group",
"icon": "$(folder)"
},
{
"command": "bettersourcecontrol.remoteTogglePublic",
"title": "Toggle Remote Public/Private",
"icon": "$(lock)"
},
{
"command": "bettersourcecontrol.addSafeDirectory",
"title": "Add to Git Safe Directories",
"icon": "$(shield)"
}
],
"menus": {
"view/title": [
{
"command": "bettersourcecontrol.refresh",
"when": "view == BetterSourceControlView",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "bettersourcecontrol.restore",
"when": "view == BetterSourceControlView && viewItem == archive-item",
"group": "inline"
},
{
"command": "bettersourcecontrol.restore",
"when": "view == BetterSourceControlView && viewItem == commit",
"group": "inline"
},
{
"command": "bettersourcecontrol.merge",
"when": "view == BetterSourceControlView && viewItem == archive-item",
"group": "inline"
},
{
"command": "bettersourcecontrol.merge",
"when": "view == BetterSourceControlView && viewItem == commit",
"group": "inline"
},
{
"command": "bettersourcecontrol.remoteMoveGroup",
"when": "view == BetterSourceControlView && viewItem == remote-item",
"group": "inline"
},
{
"command": "bettersourcecontrol.remoteTogglePublic",
"when": "view == BetterSourceControlView && viewItem == remote-item",
"group": "inline"
}
]
}
},
"devDependencies": {
"@types/node": "25.4.0",
"@types/vscode": "1.110.0",
"@vscode/vsce": "3.7.1",
"typescript": "5.9.3"
}
}