-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
317 lines (317 loc) · 9.53 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
311
312
313
314
315
316
317
{
"name": "git-worktree",
"displayName": "Git Worktree",
"description": "Manage git worktrees with ease",
"version": "1.2.9",
"publisher": "philstainer",
"homepage": "https://github.com/philstainer/git-worktree/blob/main/README.md",
"bugs": {
"url": "https://github.com/philstainer/git-worktree/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/philstainer/git-worktree"
},
"icon": "images/icon.png",
"categories": [
"Other"
],
"activationEvents": [
"onCommand:git-worktree.clone",
"onCommand:git-worktree.add",
"onCommand:git-worktree.list",
"onCommand:git-worktree.rename",
"onCommand:git-worktree.remove",
"onCommand:git-worktree.publish",
"onCommand:git-worktree.projects"
],
"main": "./out/main.js",
"contributes": {
"commands": [
{
"category": "Git Worktree",
"command": "git-worktree.clone",
"title": "Clone"
},
{
"category": "Git Worktree",
"command": "git-worktree.add",
"title": "Add"
},
{
"category": "Git Worktree",
"command": "git-worktree.list",
"title": "List"
},
{
"category": "Git Worktree",
"command": "git-worktree.rename",
"title": "Rename"
},
{
"category": "Git Worktree",
"command": "git-worktree.remove",
"title": "Remove"
},
{
"category": "Git Worktree",
"command": "git-worktree.publish",
"title": "Publish Worktree"
},
{
"category": "Git Worktree",
"command": "git-worktree.projects",
"title": "Cloned Projects"
}
],
"configuration": [
{
"id": "wt-general-settings",
"title": "General Settings",
"properties": {
"gitWorktree.worktree.automatically": {
"type": "string",
"default": "Yes",
"description": "Should push worktree automatically to remote",
"enum": [
"No",
"Yes",
"Ask"
],
"enumDescriptions": [
"Do not automatically push worktrees",
"Automatically push worktrees to remote",
"Ask to push worktrees to remote"
]
},
"gitWorktree.worktree.loggingLevel": {
"type": "string",
"default": "Info",
"description": "Select logging level",
"enum": [
"Error",
"Warn",
"Info"
],
"enumDescriptions": [
"Error logging level",
"Warn logging level",
"Info logging level"
]
},
"gitWorktree.worktree.closeInputOnBlur": {
"type": "boolean",
"default": true,
"description": "Should we close input automatically when a user switches focus"
}
}
},
{
"id": "wt-clone-settings",
"title": "Clone Settings",
"properties": {
"gitWorktree.worktree.cloneBaseDirectory": {
"type": "string",
"default": "./.bare",
"description": "Base directory to clone git files into"
},
"gitWorktree.worktree.openOnClone": {
"type": "string",
"default": "Yes",
"description": "Should open vscode when cloning a project",
"enum": [
"No",
"Yes",
"New Window",
"Ask"
],
"enumDescriptions": [
"Don't open new vscode window when you clone worktree",
"Move into worktree when you clone",
"Open new vscode window when you clone worktree",
"Ask when you clone worktree"
]
}
}
},
{
"id": "wt-projects-settings",
"title": "Project Settings",
"properties": {
"gitWorktree.worktree.openOnProject": {
"type": "string",
"default": "Yes",
"description": "Should open vscode when selecting a project",
"enum": [
"No",
"Yes",
"New Window",
"Ask"
],
"enumDescriptions": [
"Don't open new vscode window when you select a project",
"Move into worktree when you select a project",
"Open new vscode window when you select a project",
"Ask when you select a project"
]
},
"gitWorktree.worktree.saveProjectsAutomatically": {
"type": "string",
"default": "No",
"description": "Should automatically save cloned repositories",
"enum": [
"No",
"Yes",
"Ask"
],
"enumDescriptions": [
"Don't automatically save cloned repositories",
"Automatically save cloned repositories",
"Ask to save when cloning repositories"
]
}
}
},
{
"id": "wt-list-settings",
"title": "List Settings",
"properties": {
"gitWorktree.worktree.openOnSwitch": {
"type": "string",
"default": "Yes",
"description": "Should open vscode when selecting a worktree",
"enum": [
"No",
"Yes",
"New Window",
"Ask"
],
"enumDescriptions": [
"Don't open new vscode window when you list worktree",
"Move into worktree when you list",
"Open new vscode window when you list worktree",
"Ask when you list worktree"
]
}
}
},
{
"id": "wt-add-settings",
"title": "Add Settings",
"properties": {
"gitWorktree.worktree.baseDirectory": {
"type": "string",
"default": "../",
"description": "Absolute or relative path to worktree base directory location"
},
"gitWorktree.worktree.includeRemote": {
"type": "boolean",
"default": true,
"description": "Should include remote branches when adding new worktree"
},
"gitWorktree.worktree.pruneBranches": {
"type": "boolean",
"default": false,
"description": "Should prune branches when creating worktrees"
},
"gitWorktree.worktree.openOnAdd": {
"type": "string",
"default": "Yes",
"description": "Should open vscode when adding a worktree",
"enum": [
"No",
"Yes",
"New Window",
"Ask"
],
"enumDescriptions": [
"Don't open new vscode window when you add worktree",
"Move into worktree when you add",
"Open new vscode window when you add worktree",
"Ask when you add worktree"
]
}
}
},
{
"id": "wt-rename-settings",
"title": "Rename Settings",
"properties": {
"gitWorktree.worktree.openOnRename": {
"type": "string",
"default": "No",
"description": "Should open vscode when renaming a worktree",
"enum": [
"No",
"Yes",
"New Window",
"Ask"
],
"enumDescriptions": [
"Don't open new vscode window when you rename worktree",
"Move into worktree when you rename",
"Open new vscode window when you rename worktree",
"Ask when you rename worktree"
]
}
}
},
{
"id": "wt-remove-settings",
"title": "Remove Settings",
"properties": {
"gitWorktree.worktree.removeBranch": {
"type": "boolean",
"default": false,
"description": "Should remove branch when removing a worktree"
},
"gitWorktree.worktree.removeMultiple": {
"type": "boolean",
"default": false,
"description": "Enable the multiple selection off worktrees"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "pnpm run esbuild-base --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "pnpm run esbuild-base --sourcemap",
"watch": "pnpm run esbuild-base --sourcemap --watch",
"test-compile": "tsc -p ./",
"prepare": "husky install"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.7",
"@types/git-url-parse": "^9.0.1",
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "16.x",
"@types/vscode": "^1.72.0",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"@vscode/test-electron": "^2.1.5",
"conventional-changelog-conventionalcommits": "^5.0.0",
"esbuild": "^0.15.13",
"eslint": "^8.24.0",
"glob": "^8.0.3",
"husky": "^8.0.1",
"mocha": "^10.0.0",
"prettier": "^2.8.1",
"semantic-release": "^21.0.1",
"ts-loader": "^9.4.1",
"tsc-files": "^1.1.3",
"typescript": "^4.8.4"
},
"dependencies": {
"parse-url": "^8.1.0"
},
"engines": {
"pnpm": ">=8",
"node": ">=18",
"vscode": "^1.72.0"
}
}