-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
386 lines (386 loc) · 13.1 KB
/
package.json
File metadata and controls
386 lines (386 loc) · 13.1 KB
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
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
{
"name": "beads-git-graph",
"displayName": "Beads Git Graph",
"version": "0.1.32",
"description": "Git graph and Beads issue tools for VS Code.",
"categories": [
"Other",
"SCM Providers",
"Visualization"
],
"keywords": [
"beads",
"branch",
"commit graph",
"git",
"git graph",
"git history",
"git log",
"issue tracker",
"scm",
"visualize"
],
"homepage": "https://github.com/ToppyMicroServices/beads-git-graph",
"bugs": {
"url": "https://github.com/ToppyMicroServices/beads-git-graph/issues"
},
"license": "MIT",
"author": {
"name": "ToppyMicroServices",
"url": "https://github.com/ToppyMicroServices"
},
"contributors": [
{
"name": "Asis Pattisahusiwa",
"email": "asispts@gmail.com"
},
{
"name": "Michael Hutchison",
"url": "https://github.com/mhutchie"
}
],
"repository": {
"type": "git",
"url": "https://github.com/ToppyMicroServices/beads-git-graph.git"
},
"publisher": "ToppyMicroServices",
"main": "./out/extension.js",
"scripts": {
"typecheck": "tsc -p ./src --noEmit && tsc -p ./web --noEmit",
"vscode:prepublish": "pnpm run compile",
"clean": "node -e \"require('node:fs').rmSync('out', { recursive: true, force: true })\"",
"compile": "pnpm run clean && pnpm run compile-src && pnpm run compile-web",
"compile-src": "esbuild --bundle src/extension.ts --outfile=out/extension.js --platform=node --format=cjs --target=es6 --external:vscode --minify",
"compile-web": "esbuild --bundle web/main.ts --outfile=out/web.min.js --minify --target=es6 --format=iife && esbuild --bundle web/beadsMain.ts --outfile=out/beadsWebview.min.js --minify --target=es6 --format=iife",
"package": "pnpm run clean && pnpm dlx @vscode/vsce package --no-dependencies",
"package-and-install": "pnpm run clean && pnpm dlx @vscode/vsce package --no-dependencies && node ./.vscode/install-package.js",
"format": "oxfmt --check",
"format:fix": "oxfmt .",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"test": "vitest run",
"test:watch": "vitest"
},
"devDependencies": {
"@types/node": "^25.6.0",
"@types/vscode": "~1.110.0",
"dompurify": "^3.4.0",
"esbuild": "^0.28.0",
"eslint-plugin-simple-import-sort": "^13.0.0",
"fast-check": "^4.7.0",
"oxfmt": "^0.46.0",
"oxlint": "^1.61.0",
"typescript": "^6.0.3",
"vite": "^7.3.2",
"vitest": "^4.1.4"
},
"contributes": {
"commands": [
{
"category": "Beads Git Graph",
"command": "beads-git-graph.view",
"title": "View Git Graph (git log)"
},
{
"category": "Beads Git Graph",
"command": "beads-git-graph.openDiffFile",
"title": "Open File"
},
{
"category": "Beads Git Graph",
"command": "beads-git-graph.refreshBeads",
"title": "Refresh Beads"
},
{
"category": "Beads Git Graph",
"command": "beads-git-graph.focusBeadsView",
"title": "Focus Beads View"
}
],
"menus": {
"view/title": [
{
"command": "beads-git-graph.refreshBeads",
"when": "view == beads-git-graph.beadsView",
"group": "navigation"
}
],
"editor/title": [
{
"command": "beads-git-graph.openDiffFile",
"when": "resourceScheme == beads-git-graph",
"group": "navigation@9"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "beads-git-graph",
"title": "Beads Git Graph",
"icon": "resources/activitybar-icon.svg"
}
]
},
"views": {
"beads-git-graph": [
{
"id": "beads-git-graph.beadsView",
"name": "Beads",
"type": "webview"
}
]
},
"configuration": {
"type": "object",
"title": "Beads Git Graph",
"properties": {
"beads-git-graph.autoCenterCommitDetailsView": {
"type": "boolean",
"default": true,
"description": "Automatically center the commit details view when it is opened."
},
"beads-git-graph.dateFormat": {
"type": "string",
"enum": [
"Date & Time",
"Date Only",
"Relative"
],
"enumDescriptions": [
"Show the date and time, for example \"19 Mar 2019 21:34\"",
"Show the date only, for example \"19 Mar 2019\"",
"Show relative times, for example \"5 minutes ago\""
],
"default": "Date & Time",
"description": "Specifies the date format to be used in the date column of Git Graph."
},
"beads-git-graph.dateType": {
"type": "string",
"enum": [
"Author Date",
"Commit Date"
],
"enumDescriptions": [
"Use the author date of a commit",
"Use the committer date of a commit"
],
"default": "Author Date",
"description": "Specifies the date type to be displayed throughout Git Graph."
},
"beads-git-graph.commitDetailsFileActionVisibility": {
"type": "object",
"default": {
"viewDiff": true,
"viewDiffWithWorkingFile": true,
"viewFileAtRevision": true,
"openFile": true,
"resetFileToRevision": true,
"copyRelativeFilePath": true,
"copyAbsoluteFilePath": true
},
"additionalProperties": false,
"properties": {
"viewDiff": {
"type": "boolean",
"default": true,
"description": "Show \"View Diff\" in the commit details file context menu."
},
"viewDiffWithWorkingFile": {
"type": "boolean",
"default": true,
"description": "Show \"View Diff with Working File\" in the commit details file context menu."
},
"viewFileAtRevision": {
"type": "boolean",
"default": true,
"description": "Show \"View File at this Revision\" in the commit details file context menu."
},
"openFile": {
"type": "boolean",
"default": true,
"description": "Show \"Open File\" in the commit details file context menu."
},
"resetFileToRevision": {
"type": "boolean",
"default": true,
"description": "Show \"Reset File to this Revision...\" in the commit details file context menu."
},
"copyRelativeFilePath": {
"type": "boolean",
"default": true,
"description": "Show \"Copy Relative File Path to Clipboard\" in the commit details file context menu."
},
"copyAbsoluteFilePath": {
"type": "boolean",
"default": true,
"description": "Show \"Copy Absolute File Path to Clipboard\" in the commit details file context menu."
}
},
"description": "Controls visibility of actions in the commit details file context menu."
},
"beads-git-graph.enhancedAccessibility": {
"type": "boolean",
"default": false,
"description": "Enable enhanced accessibility rendering, including showing file change type indicators (A, M, D, R, U) in commit details."
},
"beads-git-graph.graphColours": {
"type": "array",
"items": {
"type": "string",
"description": "Colour (HEX or RGB)",
"pattern": "^\\s*(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{8}|rgb[a]?\\s*\\(\\d{1,3},\\s*\\d{1,3},\\s*\\d{1,3}\\))\\s*$"
},
"default": [
"#4C9AFF",
"#2EC4B6",
"#FFB703",
"#A78BFA",
"#FF5DA2"
],
"description": "Specifies the colours used on the graph."
},
"beads-git-graph.graphStyle": {
"type": "string",
"enum": [
"rounded",
"angular"
],
"enumDescriptions": [
"Use smooth curves when transitioning between branches on the graph",
"Use angular lines when transitioning between branches on the graph"
],
"default": "rounded",
"description": "Specifies the style of the graph."
},
"beads-git-graph.initialLoadCommits": {
"type": "number",
"default": 300,
"description": "Specifies the number of commits to initially load."
},
"beads-git-graph.loadMoreCommits": {
"type": "number",
"default": 100,
"description": "Specifies the number of commits to load when the \"Load More Commits\" button is pressed (only shown when more commits are available)."
},
"beads-git-graph.referenceInputSpaceSubstitution": {
"type": "string",
"enum": [
"None",
"Hyphen",
"Underscore"
],
"enumDescriptions": [
"Do not replace spaces.",
"Replace spaces with hyphens (-).",
"Replace spaces with underscores (_)."
],
"default": "None",
"description": "Specifies how spaces are substituted in reference-name dialog inputs (for example, Create Branch and Add Tag)."
},
"beads-git-graph.maxDepthOfRepoSearch": {
"type": "number",
"default": 0,
"description": "Specifies the maximum depth of subfolders to search when discovering repositories in the workspace."
},
"beads-git-graph.repoDropdownOrder": {
"type": "string",
"enum": [
"Workspace Full Path",
"Repository Name"
],
"enumDescriptions": [
"Sort repositories by full workspace path.",
"Sort repositories by repository folder name."
],
"default": "Workspace Full Path",
"description": "Specifies how repositories are sorted in the repository dropdown."
},
"beads-git-graph.showCurrentBranchByDefault": {
"type": "boolean",
"default": false,
"description": "Show the current branch by default when Git Graph is opened. Default: false (show all branches)"
},
"beads-git-graph.preferMainBranchByDefault": {
"type": "boolean",
"default": true,
"description": "Prefer main branch-focused view when opening Git Graph. If enabled, defaults to main (or origin/main) before Show All."
},
"beads-git-graph.hiddenBranchPatterns": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"^beads$",
"^beads/",
"^beads-sync$",
"^db/",
"^beads-sync/"
],
"description": "Regex patterns for branch names to hide by default in branch lists and ref labels (current checked out branch remains visible)."
},
"beads-git-graph.mutedGraphOpacity": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"default": 0.45,
"description": "Opacity applied to de-emphasized db/beads graph lines and nodes."
},
"beads-git-graph.mutedGraphLineWidth": {
"type": "number",
"minimum": 0.8,
"maximum": 2,
"default": 1.2,
"description": "Stroke width of de-emphasized db/beads graph lines."
},
"beads-git-graph.mutedGraphNodeRadius": {
"type": "number",
"minimum": 2,
"maximum": 4,
"default": 2.8,
"description": "Node radius of de-emphasized db/beads graph commits."
},
"beads-git-graph.showStatusBarItem": {
"type": "boolean",
"default": true,
"description": "Show a Status Bar item which opens Git Graph when clicked."
},
"beads-git-graph.showUncommittedChanges": {
"type": "boolean",
"default": true,
"description": "Show uncommitted changes (set to false to decrease load time on large repositories)."
},
"beads-git-graph.bdPath": {
"type": "string",
"default": "bd",
"description": "Path or command name for the Beads CLI executable used by the Beads view."
},
"beads-git-graph.tabIconColourTheme": {
"type": "string",
"enum": [
"colour",
"grey"
],
"enumDescriptions": [
"Show a colour icon which suits most Visual Studio Code colour themes",
"Show a grey icon which suits Visual Studio Code colour themes that are predominantly grayscale"
],
"default": "colour",
"description": "Specifies the colour theme of the icon displayed on the Git Graph tab."
}
}
}
},
"activationEvents": [
"onStartupFinished"
],
"extensionKind": [
"workspace"
],
"icon": "resources/icon.png",
"engines": {
"vscode": "^1.110.0"
},
"packageManager": "pnpm@10.29.3"
}