forked from waderyan/vscode-gitblame
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathpackage.json
222 lines (222 loc) · 7.19 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
{
"name": "gitblame",
"displayName": "Git Blame",
"description": "See git blame information in the status bar.",
"version": "11.1.1",
"publisher": "waderyan",
"engines": {
"vscode": "^1.91.0",
"node": "^20.9.0"
},
"categories": [
"Other"
],
"galleryBanner": {
"color": "#f0efe7",
"theme": "light"
},
"icon": "images/git_icon.png",
"activationEvents": [
"onStartupFinished"
],
"keywords": [
"git",
"gitblame",
"blame",
"github",
"gitlab",
"bitbucket"
],
"qna": false,
"main": "./out/src/index",
"scripts": {
"vscode:prepublish": "npm run build",
"build": "node esbuild.mjs",
"package": "npx @vscode/vsce package",
"lint": "biome ci ./src",
"pretest": "tsc --project tsconfig.test.json",
"test": "npm run pretest && node ./out/test/run-test.js"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@types/mocha": "10.0.7",
"@types/node": "20.14.6",
"@types/sinon": "17.0.3",
"@types/sinonjs__fake-timers": "8.1.5",
"@types/vscode": "1.91.0",
"@vscode/test-electron": "2.4.1",
"esbuild": "0.24.0",
"mocha": "10.7.3",
"sinon": "19.0.2",
"typescript": "5.6.2"
},
"homepage": "https://github.com/Sertion/vscode-gitblame/blob/main/README.md",
"bugs": {
"url": "https://github.com/Sertion/vscode-gitblame/issues"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Sertion/vscode-gitblame"
},
"extensionDependencies": [
"vscode.git"
],
"capabilities": {
"virtualWorkspaces": false,
"untrustedWorkspaces": {
"supported": false,
"description": "Git Blame (extension) executes command line tools in the workspace"
}
},
"contributes": {
"commands": [
{
"command": "gitblame.quickInfo",
"title": "Git Blame: Show quick info"
},
{
"command": "gitblame.online",
"title": "Git Blame: View last change online"
},
{
"command": "gitblame.addCommitHashToClipboard",
"title": "Git Blame: Copy hash to clipboard"
},
{
"command": "gitblame.addToolUrlToClipboard",
"title": "Git Blame: Copy tool URL to clipboard"
},
{
"command": "gitblame.gitShow",
"title": "Git Blame: Git show for current line hash"
}
],
"colors": [
{
"id": "gitblame.inlineMessage",
"description": "Inline git blame message. Defaults to editorCodeLens.foreground",
"defaults": {
"dark": "editorCodeLens.foreground",
"light": "editorCodeLens.foreground",
"highContrast": "editorCodeLens.foreground",
"highContrastLight": "editorCodeLens.foreground"
}
}
],
"configuration": {
"type": "object",
"title": "Git Blame",
"properties": {
"gitblame.infoMessageFormat": {
"type": "string",
"default": "${commit.summary}",
"description": "Customize the info message"
},
"gitblame.statusBarMessageClickAction": {
"type": "string",
"default": "Show info message",
"enum": [
"Show info message",
"Open tool URL",
"Open git show",
"Copy hash to clipboard"
],
"enumDescriptions": [
"Show a info message with a short summary of the commit",
"Attempt to directly open the tool URL",
"Run git show in a vscode terminal view",
"Copies the hash of the current line's commit to the clipboard"
]
},
"gitblame.statusBarMessageFormat": {
"type": "string",
"default": "Blame ${author.name} (${time.ago})",
"description": "Customize the status bar message"
},
"gitblame.statusBarMessageNoCommit": {
"type": "string",
"default": "Not Committed Yet",
"description": "Customize the status bar message"
},
"gitblame.statusBarPositionPriority": {
"type": "number",
"default": 500,
"description": "Priority where the status bar view should be placed"
},
"gitblame.inlineMessageEnabled": {
"type": "boolean",
"default": false,
"description": "Show blame information inline (next to the code)"
},
"gitblame.inlineMessageFormat": {
"type": "string",
"default": "Blame ${author.name} (${time.ago})",
"description": "Customize the inline message"
},
"gitblame.inlineMessageNoCommit": {
"type": "string",
"default": "Not Committed Yet",
"description": "Customize the inline message"
},
"gitblame.inlineMessageMargin": {
"type": "number",
"default": 2,
"description": "The amount of margin between line and inline blame view"
},
"gitblame.currentUserAlias": {
"type": "string",
"default": "",
"markdownDescription": "Replaces `${author.name}` and `${committer.name}` when the git config `user.email` matches the author's or committer's email address."
},
"gitblame.remoteName": {
"type": "string",
"default": "origin",
"description": "The name of the git remote used to build the URL."
},
"gitblame.commitUrl": {
"type": "string",
"default": "${tool.protocol}//${gitorigin.hostname}${gitorigin.port}${gitorigin.path}${tool.commitpath}${hash}",
"markdownDescription": "The link to an online tool to view a commit (use `${hash}` for the commit hash)."
},
"gitblame.ignoreWhitespace": {
"type": "boolean",
"default": false,
"markdownDescription": "Ignore whitespace changes when blaming (`-w` flag)"
},
"gitblame.isWebPathPlural": {
"deprecationMessage": "This setting has been replaced by gitblame.pluralWebPathSubstrings"
},
"gitblame.pluralWebPathSubstrings": {
"type": "array",
"default": [
"bitbucket",
"atlassian"
],
"markdownDescription": "An array of substrings that, when present in the git origin URL, adds an extra _s_ to the url after _commit_ in `gitblame.commitUrl`'s default behavior"
},
"gitblame.delayBlame": {
"type": "number",
"default": 0,
"description": "This setting adds a delay (in milliseconds) before the blame is displayed"
},
"gitblame.parallelBlames": {
"type": "number",
"minimum": 1,
"default": 2,
"description": "Limit allowed parallel git blame process count"
},
"gitblame.maxLineCount": {
"type": "number",
"default": 16384,
"markdownDescription": "Will skip blaming files with **more** lines than this value"
},
"gitblame.revsFile": {
"type": "array",
"default": [],
"markdownDescription": "List of refs-file names to look for relative to the closest `.git`-folder. The first file in the list that is accessible will be used with the `-S`-argument in `git blame`."
}
}
}
}
}