This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
/
package.json
290 lines (290 loc) · 9.54 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
{
"name": "vscode-github",
"displayName": "GitHub",
"description": "Integrates github and its workflows into vscode",
"icon": "images/octocat.png",
"galleryBanner": {
"color": "#dddddd",
"theme": "light"
},
"version": "0.30.7",
"publisher": "KnisterPeter",
"engines": {
"vscode": "^1.18.0"
},
"categories": [
"Other"
],
"keywords": [
"git",
"github",
"gitlab",
"pull request"
],
"activationEvents": [
"*"
],
"main": "./out/src/main",
"contributes": {
"configuration": {
"title": "GitHub configuration",
"type": "object",
"properties": {
"github.gitCommand": {
"type": "string",
"description": "Path to the git executable. If it is in the OS path, this should not be necessary to set.",
"scope": "window"
},
"github.preferedMergeMethod": {
"type": "string",
"description": "By default the extension asks the user during merge process. This could be set to on of 'merge', 'squash' or 'rebase' to define the prefered method and not to be asked every time.",
"scope": "resource"
},
"github.remoteName": {
"type": "string",
"description": "Defines the name of the git remote. Defaults to undefined which automatically tries to determine the proper remote name.",
"scope": "resource"
},
"github.upstream": {
"type": "string",
"description": "By default the extension get the repository and user from .git/config. For forks where upstream is a different repository this could be configured here (e.g. microsoft/typescript).",
"scope": "resource"
},
"github.customPullRequestTitle": {
"type": "boolean",
"default": false,
"description": "Ask the user for a custom title when creating the PR. If false, defaults to the last commit message.",
"scope": "resource"
},
"github.customPullRequestDescription": {
"type": "string",
"enum": [
"off",
"singleLine",
"gitEditor"
],
"default": "off",
"description": "By default the pull request description is the first commit message. When this property is set, the user is asked for a description when creating the PR. This can be a single-line description via an input dialog ('singleLine') or a multi-line markdown description via the editor configured in git ('gitEditor').",
"scope": "resource"
},
"github.autoPublish": {
"type": "boolean",
"description": "Automatically publish the current branch before creating a pull request. Defaults to false",
"default": false,
"scope": "resource"
},
"github.allowUnsafeSSL": {
"type": "boolean",
"description": "Allow SSL connnection with unauthorized self-signed certificates. Defaults to false",
"default": false,
"scope": "resource"
},
"github.statusbar.enabled": {
"type": "boolean",
"description": "True if the statusbar integration should be enabled. Defaults to true",
"default": true,
"scope": "window"
},
"github.statusbar.command": {
"type": [
"string",
"null"
],
"description": "Defines which command is executed when clicking the status bar item. Default behaviour is the create-pull-request-then-merge cycle (different command based on state). For example to open the current pull request set this to 'vscode-github.browserSimplePullRequest'",
"default": null,
"scope": "window"
},
"github.statusbar.refresh": {
"type": "number",
"default": 5,
"description": "Interval in seconds to refresh the current pull request status.",
"scope": "window"
},
"github.statusbar.color": {
"type": "boolean",
"default": true,
"description": "Enables or disables the coloring of the status bar based on the mergeable state.",
"scope": "window"
},
"github.statusbar.successText": {
"type": "string",
"description": "Overrides the default success text.",
"scope": "window"
},
"github.statusbar.pendingText": {
"type": "string",
"description": "Overrides the default pending text.",
"scope": "window"
},
"github.statusbar.failureText": {
"type": "string",
"description": "Overrides the default failure text.",
"scope": "window"
},
"gitlab.removeSourceBranch": {
"type": "boolean",
"description": "GitLab setting to 'remove_source_branch' per MergeRequest.",
"default": false,
"scope": "resource"
}
}
},
"commands": [
{
"command": "vscode-github.setGitHubToken",
"title": "Set Personal Access Token...",
"category": "GitHub"
},
{
"command": "vscode-github.setGitHubEnterpriseToken",
"title": "Setup GitHub Enterprise Token...",
"category": "GitHub"
},
{
"command": "vscode-github.setGitlabToken",
"title": "Setup Gitlab Token...",
"category": "GitHub"
},
{
"command": "vscode-github.clearToken",
"title": "Remove Token...",
"category": "GitHub"
},
{
"command": "vscode-github.browseProject",
"title": "Browse project",
"category": "GitHub"
},
{
"command": "vscode-github.createPullRequest",
"title": "Create pull request...",
"category": "GitHub"
},
{
"command": "vscode-github.createSimplePullRequest",
"title": "Create pull request from current branch in current repository (quick)",
"category": "GitHub"
},
{
"command": "vscode-github.checkoutPullRequests",
"title": "Checkout open pull request...",
"category": "GitHub"
},
{
"command": "vscode-github.browserSimplePullRequest",
"title": "Browse pull request of current branch",
"category": "GitHub"
},
{
"command": "vscode-github.browserPullRequest",
"title": "Browse open pull request...",
"category": "GitHub"
},
{
"command": "vscode-github.mergePullRequest",
"title": "Merge pull request (current branch)...",
"category": "GitHub"
},
{
"command": "vscode-github.addAssignee",
"title": "Add assignee to pull request...",
"category": "GitHub"
},
{
"command": "vscode-github.removeAssignee",
"title": "Remove assignee from pull request...",
"category": "GitHub"
},
{
"command": "vscode-github.requestReview",
"title": "Request a review for the current pull request...",
"category": "GitHub"
},
{
"command": "vscode-github.deleteReviewRequest",
"title": "Cancel a pull request review...",
"category": "GitHub"
},
{
"command": "vscode-github.browseOpenIssue",
"title": "Browse open issue...",
"category": "GitHub"
},
{
"command": "vscode-github.browseCurrentFile",
"title": "Browse current file",
"category": "GitHub"
}
]
},
"scripts": {
"linter": "tslint --project ./tsconfig.json",
"pretest": "rm -rf /tmp/test-workspace && mkdir /tmp/test-workspace && cd /tmp/test-workspace && git init && cd -",
"test": "CODE_TESTS_WORKSPACE=/tmp/test-workspace node ./node_modules/vscode/bin/test",
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"prerelease": "git checkout master && git pull origin master && npm run vscode:prepublish",
"release": "standard-version",
"postrelease": "git push --follow-tags origin master",
"publish-extension": "vsce publish $(node -e \"console.log(require('./package.json').version)\")"
},
"devDependencies": {
"@knisterpeter/standard-tslint": "1.7.2",
"@types/common-tags": "1.8.1",
"@types/lru-cache": "5.1.1",
"@types/mocha": "10.0.1",
"@types/node": "18.11.17",
"conventional-changelog-lint": "2.1.1",
"cz-customizable": "7.0.0",
"husky": "8.0.2",
"mocha": "10.2.0",
"standard-version": "9.5.0",
"tslint": "6.1.3",
"typescript": "4.9.4",
"vscode": "1.1.37"
},
"dependencies": {
"common-tags": "1.8.2",
"conventional-changelog-lint-config-angular": "1.0.0",
"decko": "1.2.0",
"execa": "5.1.1",
"https": "1.0.0",
"isomorphic-fetch": "3.0.0",
"lru-cache": "7.4.0",
"pretend": "3.1.1",
"sander": "0.6.0",
"tsdi": "0.25.0",
"vscode-extension-telemetry": "0.4.5"
},
"repository": {
"type": "git",
"url": "https://github.com/KnisterPeter/vscode-github.git"
},
"author": {
"name": "Markus Wolf",
"email": "knister.peter@shadowrun-clan.de"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/KnisterPeter/vscode-github/issues"
},
"homepage": "https://github.com/KnisterPeter/vscode-github",
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
},
"cz-customizable": {
"config": "./.cz-config.js"
}
},
"prettier": {
"singleQuote": true
},
"husky": {
"hooks": {
"commit-msg": "conventional-changelog-lint -e"
}
}
}