-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
310 lines (310 loc) · 8.06 KB
/
package.json
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
{
"name": "git-mob",
"displayName": "Git Mob co-author commits",
"description": "Manage and add co-author meta data to commits during pair/mob programming from the source control panel.",
"version": "1.21.1",
"publisher": "RichardKotze",
"engines": {
"vscode": "^1.67.0"
},
"repository": {
"type": "git",
"url": "https://github.com/rkotze/git-mob-vs-code.git"
},
"categories": [
"Other"
],
"icon": "resources/gitmob.png",
"galleryBanner": {
"color": "#232323",
"theme": "dark"
},
"license": "MIT",
"author": {
"name": "Richard Kotze",
"email": "[email protected]"
},
"homepage": "https://github.com/rkotze/git-mob-vs-code/blob/master/README.md",
"bugs": {
"url": "https://github.com/rkotze/git-mob-vs-code/issues"
},
"extensionDependencies": [
"vscode.git"
],
"activationEvents": [
"onCommand:gitmob.openGitCoauthor",
"onCommand:gitmob.reload",
"onCommand:gitmob.searchRepositoryUsers",
"onCommand:gitmob.searchGithubAuthors",
"onCommand:gitmob.addRepoAuthorToCoAuthors",
"onCommand:gitmob.solo",
"onCommand:gitmob.searchGitEmojis",
"*"
],
"main": "./extension",
"keywords": [
"git",
"co-authors",
"git author",
"author",
"annotation",
"github",
"commit",
"emojis",
"pair programming",
"mob programming"
],
"contributes": {
"languages": [
{
"id": "json",
"extensions": [
".git-coauthors"
]
}
],
"configuration": {
"title": "Git Mob",
"properties": {
"gitMob.postCommit.solo": {
"type": "boolean",
"default": false,
"description": "After a commit remove selected co-authors"
},
"gitMob.authorList.expandMoreAuthors": {
"type": "boolean",
"default": true,
"description": "Expand 'More Authors' tree when UI starts"
},
"gitMob.authorList.moreAuthorsToCo-authoring": {
"type": "boolean",
"default": true,
"description": "Add a new author directly to 'Co-authoring' from 'More Authors'"
},
"gitMob.coAuthors.sortDirection": {
"type": "string",
"default": "ascending",
"enum": [
"ascending",
"descending"
],
"description": "Co-author list sorting direction"
}
}
},
"commands": [
{
"command": "gitmob.openGitCoauthor",
"title": "Open git-coauthors file",
"category": "Git Mob",
"icon": "$(file)"
},
{
"command": "gitmob.searchGitEmojis",
"title": "Search Gitmojis - emojis",
"category": "Git Mob",
"icon": "$(smiley)"
},
{
"command": "gitmob.addFromFavourite",
"title": "Select co-authors",
"category": "Git Mob"
},
{
"command": "gitmob.reload",
"title": "Reload view",
"category": "Git Mob",
"icon": "$(refresh)"
},
{
"command": "gitmob.addCoAuthor",
"title": "Select co-author",
"category": "Git Mob",
"icon": "$(add)"
},
{
"command": "gitmob.addRepoAuthorToCoAuthors",
"title": "Add new co-author",
"category": "Git Mob",
"icon": "$(add)"
},
{
"command": "gitmob.searchRepositoryUsers",
"title": "Search Git repository for co-authors",
"category": "Git Mob",
"icon": "$(search)"
},
{
"command": "gitmob.searchGithubAuthors",
"title": "Search GitHub for co-authors",
"category": "Git Mob"
},
{
"command": "gitmob.openSettings",
"title": "Settings",
"category": "Git Mob"
},
{
"command": "gitmob.changePrimaryAuthor",
"title": "Change primary author",
"category": "Git Mob",
"icon": "$(sync)"
},
{
"command": "gitmob.removeCoAuthor",
"title": "Unselect co-author",
"category": "Git Mob",
"icon": "$(remove)"
},
{
"command": "gitmob.solo",
"title": "Solo: remove all co-authors",
"category": "Git Mob",
"icon": "$(remove)"
},
{
"command": "gitmob.copyCoAuthor",
"title": "Copy co-author",
"category": "Git Mob"
}
],
"menus": {
"view/title": [
{
"command": "gitmob.searchGitEmojis",
"when": "view == gitmob.CoAuthorsView",
"group": "navigation"
},
{
"command": "gitmob.openGitCoauthor",
"when": "view == gitmob.CoAuthorsView",
"group": "navigation"
},
{
"command": "gitmob.reload",
"when": "view == gitmob.CoAuthorsView",
"group": "2_misc@1"
},
{
"command": "gitmob.openSettings",
"when": "view == gitmob.CoAuthorsView",
"group": "2_misc@2"
},
{
"command": "gitmob.searchRepositoryUsers",
"when": "view == gitmob.CoAuthorsView",
"group": "1_search@1"
},
{
"command": "gitmob.searchGithubAuthors",
"when": "view == gitmob.CoAuthorsView",
"group": "1_search@2"
}
],
"view/item/context": [
{
"command": "gitmob.addCoAuthor",
"when": "viewItem == add-author",
"group": "inline"
},
{
"command": "gitmob.reload",
"when": "viewItem == project-folder",
"group": "inline"
},
{
"command": "gitmob.addRepoAuthorToCoAuthors",
"when": "viewItem == add-repo-author",
"group": "inline"
},
{
"command": "gitmob.removeCoAuthor",
"when": "viewItem == remove-author",
"group": "inline"
},
{
"command": "gitmob.changePrimaryAuthor",
"when": "viewItem == primary-author",
"group": "inline"
},
{
"command": "gitmob.solo",
"when": "viewItem == selected",
"group": "inline"
},
{
"command": "gitmob.searchRepositoryUsers",
"when": "viewItem == more-authors",
"group": "inline"
},
{
"command": "gitmob.copyCoAuthor",
"when": "viewItem == add-author || viewItem == add-repo-author || viewItem == remove-author || viewItem == primary-author",
"group": "navigation"
}
],
"commandPalette": [
{
"command": "gitmob.copyCoAuthor",
"when": "false"
},
{
"command": "gitmob.removeCoAuthor",
"when": "false"
},
{
"command": "gitmob.openSettings",
"when": "false"
},
{
"command": "gitmob.addCoAuthor",
"when": "false"
}
]
},
"views": {
"scm": [
{
"id": "gitmob.CoAuthorsView",
"name": "Git Mob Co-authors"
}
]
},
"viewsWelcome": [
{
"view": "gitmob.CoAuthorsView",
"contents": "The current open folder does not have a git repository.\nInitialize one to activate Git Mob.",
"when": "config.git.enabled && git.state == initialized && workbenchState == empty"
}
]
},
"scripts": {
"test": "jest",
"ui-test": "node ./test/setup/test-runner",
"lint": "eslint",
"ci": "npm run lint && npm test",
"preversion": "npm run ci",
"postversion": "git push --follow-tags",
"package": "vsce package",
"vsix-publish": "vsce publish",
"ovsx-publish": "ovsx publish"
},
"devDependencies": {
"@eslint/js": "^9.16.0",
"@types/jest": "^29.5.14",
"@types/vscode": "^1.67.0",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.2.1",
"chai": "^5.1.2",
"eslint": "^9.18.0",
"glob": "^11.0.1",
"globals": "^15.14.0",
"jest": "^29.7.0",
"jest-environment-node": "^29.6.4",
"mocha": "^11.0.1",
"ovsx": "^0.10.1"
},
"dependencies": {
"git-mob-core": "^0.10.0"
}
}