-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
315 lines (315 loc) · 9.64 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
{
"name": "github-repository-manager",
"version": "1.6.1",
"publisher": "henriqueBruno",
"displayName": "GitHub Repository Manager",
"description": "Easily and quickly clone and access your GitHub repositories and create new ones",
"author": {
"name": "Henrique Bruno",
"email": "[email protected]"
},
"main": "./dist/extension.js",
"engines": {
"vscode": "^1.58.0"
},
"repository": {
"type": "git",
"url": "https://github.com/SrBrahma/GitHub-Repository-Manager"
},
"bugs": {
"url": "https://github.com/SrBrahma/GitHub-Repository-Manager/issues"
},
"icon": "images/logo/logo128.png",
"scripts": {
"typecheck": "tsc --noEmit",
"lint": "npm run typecheck && eslint --ext js,ts .",
"lint:fix": "npm run lint --fix",
"vscode:prepublish": "webpack --config webpack/webpack.config.prod.js",
"publish": "vsce publish",
"webpack-dev": "webpack --config webpack/webpack.config.dev.js --watch",
"watch": "npm run webpack-dev",
"start": "npm run watch"
},
"categories": [
"Other",
"SCM Providers"
],
"activationEvents": [
"onStartupFinished"
],
"license": "MIT",
"keywords": [
"github",
"repository",
"manager",
"repo",
"git"
],
"dependencies": {
"@octokit/core": "3.5.1",
"@octokit/rest": "18.12.0",
"execa": "5.1.1",
"fs-extra": "10.0.1",
"git-url-parse": "11.6.0",
"globby": "11.1.0"
},
"devDependencies": {
"@types/fs-extra": "9.0.13",
"@types/git-url-parse": "^9.0.1",
"@types/node": "^17.0.21",
"@types/vscode": "1.58.0",
"clean-webpack-plugin": "^4.0.0",
"eslint-config-gev": "2.47.1",
"fork-ts-checker-webpack-plugin": "^6.5.0",
"ts-loader": "^9.2.7",
"typescript": "^4.8.4",
"vsce": "2.13.0",
"webpack": "^5.69.1",
"webpack-cli": "^4.9.2",
"webpack-merge": "^5.8.0"
},
"contributes": {
"colors": [
{
"id": "githubRepositoryManager.private",
"description": "Color for private repositories icons in the tree view.",
"defaults": {
"dark": "#d4c964",
"light": "#d4c964",
"highContrast": "contrastBorder"
}
},
{
"id": "githubRepositoryManager.public",
"description": "Color for private repositories icons in the tree view.",
"defaults": {
"dark": "#7bbb7b",
"light": "#7bbb7b",
"highContrast": "contrastBorder"
}
},
{
"id": "githubRepositoryManager.fork",
"description": "Color for private repositories icons in the tree view.",
"defaults": {
"dark": "#64c8e9",
"light": "#64c8e9",
"highContrast": "contrastBorder"
}
}
],
"configuration": {
"title": "GitHub Repository Manager",
"properties": {
"githubRepositoryManager.alwaysCloneToDefaultDirectory": {
"type": "boolean",
"default": false,
"description": "Always clone to the directory specified in \"git.defaultCloneDirectory\"."
},
"githubRepositoryManager.defaultCloneDirectoryMaximumDepth": {
"minimum": 0,
"default": 2,
"type": "integer",
"description": "How deep on \"git.defaultCloneDirectory\" the cloned repositories will be searched. A depth of 0 means it will only search in the directory itself, a depth of 3 means it will search up to 3 directories below."
},
"githubRepositoryManager.directoriesToIgnore": {
"type": "array",
"default": [
"node_modules",
".vscode",
".git/*",
"logs",
"images",
"src",
"lib",
"out",
"build",
"etc",
"public"
],
"description": "Directories names that our cloned repositories searcher will ignore."
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "githubRepoMgr",
"title": "GitHub Repository Manager",
"icon": "images/logo/logoVS.png"
}
]
},
"viewsWelcome": [
{
"view": "githubRepoMgr.views.account",
"contents": "You are not yet logged in\n[Login with your GitHub account](command:githubRepoMgr.commands.auth.vscodeAuth)",
"when": "githubRepoMgr.userState == 'notLogged'"
}
],
"views": {
"githubRepoMgr": [
{
"id": "githubRepoMgr.views.account",
"name": "Account"
},
{
"id": "githubRepoMgr.views.repositories",
"name": "Repositories"
}
]
},
"commands": [
{
"title": "Create Repository",
"command": "githubRepoMgr.commands.repos.createRepo",
"icon": "$(repo-create)"
},
{
"title": "Create Repository for Current Project",
"command": "githubRepoMgr.commands.repos.publish",
"icon": "$(repo-push)"
},
{
"title": "Reload Repositories",
"command": "githubRepoMgr.commands.repos.reload",
"icon": "$(refresh)"
},
{
"command": "githubRepoMgr.commands.repos.openWebPage",
"title": "Open GitHub Page",
"icon": "$(globe)"
},
{
"command": "githubRepoMgr.commands.repos.copyRepositoryUrl",
"title": "Copy Repository URL"
},
{
"command": "githubRepoMgr.commands.clonedRepos.open",
"title": "Open"
},
{
"command": "githubRepoMgr.commands.clonedRepos.openInNewWindow",
"title": "Open in New Window",
"icon": "$(multiple-windows)"
},
{
"command": "githubRepoMgr.commands.clonedRepos.addToWorkspace",
"title": "Add to Workspace"
},
{
"command": "githubRepoMgr.commands.clonedRepos.openContainingFolder",
"title": "Open Containing Folder",
"icon": "$(symbol-folder)"
},
{
"command": "githubRepoMgr.commands.clonedRepos.copyPath",
"title": "Copy Path"
},
{
"command": "githubRepoMgr.commands.notClonedRepos.cloneTo",
"title": "Clone to"
},
{
"command": "githubRepoMgr.commands.clonedRepos.setAsFavorite",
"title": "Set as Favorite",
"icon": "$(star)"
},
{
"command": "githubRepoMgr.commands.clonedRepos.unsetAsFavorite",
"title": "Unset as Favorite",
"icon": "$(star-full)"
},
{
"command": "githubRepoMgr.commands.clonedRepos.delete",
"title": "Delete"
}
],
"menus": {
"view/title": [
{
"command": "githubRepoMgr.commands.repos.publish",
"when": "view == githubRepoMgr.views.repositories && githubRepoMgr.userState == 'logged' && githubRepoMgr.canPublish == true",
"group": "navigation@1"
},
{
"command": "githubRepoMgr.commands.repos.createRepo",
"when": "view == githubRepoMgr.views.repositories && githubRepoMgr.userState == 'logged'",
"group": "navigation@2"
},
{
"command": "githubRepoMgr.commands.repos.reload",
"when": "view == githubRepoMgr.views.repositories && githubRepoMgr.userState == 'logged'",
"group": "navigation@3"
}
],
"view/item/context": [
{
"command": "githubRepoMgr.commands.repos.openWebPage",
"when": "viewItem =~ /githubRepoMgr\\.context\\.(not)?clonedRepo/i",
"group": "9@0"
},
{
"command": "githubRepoMgr.commands.repos.copyRepositoryUrl",
"when": "viewItem =~ /githubRepoMgr\\.context\\.(not)?clonedRepo/i",
"group": "9@1"
},
{
"command": "githubRepoMgr.commands.clonedRepos.open",
"when": "viewItem == githubRepoMgr.context.clonedRepo",
"group": "0@0"
},
{
"command": "githubRepoMgr.commands.clonedRepos.openInNewWindow",
"when": "viewItem == githubRepoMgr.context.clonedRepo",
"group": "0@1"
},
{
"command": "githubRepoMgr.commands.clonedRepos.addToWorkspace",
"when": "viewItem == githubRepoMgr.context.clonedRepo",
"group": "0@2"
},
{
"command": "githubRepoMgr.commands.clonedRepos.openContainingFolder",
"when": "viewItem == githubRepoMgr.context.clonedRepo",
"group": "1@0"
},
{
"command": "githubRepoMgr.commands.clonedRepos.copyPath",
"when": "viewItem == githubRepoMgr.context.clonedRepo",
"group": "1@1"
},
{
"command": "githubRepoMgr.commands.clonedRepos.delete",
"when": "viewItem == githubRepoMgr.context.clonedRepo",
"group": "1@2"
},
{
"command": "githubRepoMgr.commands.notClonedRepos.cloneTo",
"when": "viewItem == githubRepoMgr.context.notClonedRepo",
"group": "0@0"
},
{
"command": "githubRepoMgr.commands.clonedRepos.setAsFavorite",
"when": "false && TODO",
"group": "inline@0"
},
{
"command": "githubRepoMgr.commands.clonedRepos.openInNewWindow",
"when": "viewItem == githubRepoMgr.context.clonedRepo",
"group": "inline@1"
},
{
"command": "githubRepoMgr.commands.clonedRepos.openContainingFolder",
"when": "viewItem == githubRepoMgr.context.clonedRepo",
"group": "inline@2"
},
{
"command": "githubRepoMgr.commands.repos.openWebPage",
"when": "viewItem =~ /githubRepoMgr\\.context\\.(not)?clonedRepo/i",
"group": "inline@5"
}
]
}
}
}