package.json 27.3 KB
Newer Older
F
Fatih Acet 已提交
1
{
F
Fatih Acet 已提交
2 3 4
  "name": "gitlab-workflow",
  "displayName": "GitLab Workflow",
  "description": "GitLab VSCode integration",
T
3.24.0  
Tomas Vik 已提交
5
  "version": "3.24.0",
6
  "publisher": "GitLab",
M
Matthias Wirtz 已提交
7
  "license": "MIT",
F
Fatih Acet 已提交
8 9
  "repository": {
    "type": "git",
10
    "url": "https://gitlab.com/gitlab-org/gitlab-vscode-extension"
F
Fatih Acet 已提交
11
  },
F
Fatih Acet 已提交
12
  "engines": {
13
    "vscode": "^1.52.0"
F
Fatih Acet 已提交
14
  },
M
Master  
Matthias Wirtz 已提交
15 16 17 18 19 20 21 22 23 24
  "categories": [
    "Other"
  ],
  "keywords": [
    "git",
    "gitlab",
    "merge request",
    "pipeline",
    "ci cd"
  ],
25 26 27 28 29 30
  "capabilities": {
    "virtualWorkspaces": {
      "supported": false,
      "description": "GitLab Workflow doesn't support remote GitLab workspaces yet, please see https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/issues/411 for more information."
    }
  },
M
Master  
Matthias Wirtz 已提交
31 32 33
  "activationEvents": [
    "*"
  ],
34
  "bugs": {
35 36
    "url": "https://gitlab.com/gitlab-org/gitlab-vscode-extension/issues",
    "email": "incoming+gitlab-org-gitlab-vscode-extension-5261717-issue-@incoming.gitlab.com"
37 38 39 40 41
  },
  "galleryBanner": {
    "color": "#805DE7",
    "theme": "dark"
  },
42
  "main": "out/src/extension",
F
Fatih Acet 已提交
43
  "icon": "src/assets/logo.png",
F
Fatih Acet 已提交
44
  "contributes": {
F
Fatih Acet 已提交
45 46
    "commands": [
      {
F
Fatih Acet 已提交
47 48 49 50 51 52 53 54
        "command": "gl.setToken",
        "title": "GitLab: Set GitLab Personal Access Token"
      },
      {
        "command": "gl.removeToken",
        "title": "GitLab: Remove your GitLab Personal Access Token"
      },
      {
F
Fatih Acet 已提交
55
        "command": "gl.showIssuesAssignedToMe",
F
Fatih Acet 已提交
56 57 58
        "title": "GitLab: Show issues assigned to me"
      },
      {
F
Fatih Acet 已提交
59
        "command": "gl.showMergeRequestsAssignedToMe",
F
Fatih Acet 已提交
60 61 62 63 64 65
        "title": "GitLab: Show merge requests assigned to me"
      },
      {
        "command": "gl.openActiveFile",
        "title": "GitLab: Open active file on GitLab"
      },
66 67 68 69
      {
        "command": "gl.copyLinkToActiveFile",
        "title": "GitLab: Copy link to active file on GitLab"
      },
F
Fatih Acet 已提交
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
      {
        "command": "gl.openCurrentMergeRequest",
        "title": "GitLab: Open merge request for current branch"
      },
      {
        "command": "gl.openCreateNewIssue",
        "title": "GitLab: Create new issue on current project"
      },
      {
        "command": "gl.openCreateNewMR",
        "title": "GitLab: Create new merge request on current project"
      },
      {
        "command": "gl.openProjectPage",
        "title": "GitLab: Open current project on GitLab"
85 86 87 88
      },
      {
        "command": "gl.openCurrentPipeline",
        "title": "GitLab: Open current pipeline on GitLab"
F
Fatih Acet 已提交
89 90 91 92
      },
      {
        "command": "gl.pipelineActions",
        "title": "GitLab: Pipeline actions - View, Create, Retry or Cancel"
F
Fatih Acet 已提交
93 94 95
      },
      {
        "command": "gl.issueSearch",
96
        "title": "GitLab: Search project issues (Supports filters)"
F
Fatih Acet 已提交
97 98 99
      },
      {
        "command": "gl.mergeRequestSearch",
100 101 102 103 104
        "title": "GitLab: Search project merge requests (Supports filters)"
      },
      {
        "command": "gl.projectAdvancedSearch",
        "title": "GitLab: Project Advanced Search (Issues, MR's, commits, comments...)"
105 106 107 108
      },
      {
        "command": "gl.compareCurrentBranch",
        "title": "GitLab: Compare current branch with master"
F
Fatih Acet 已提交
109 110 111 112
      },
      {
        "command": "gl.createSnippet",
        "title": "GitLab: Create snippet"
F
Fatih Acet 已提交
113
      },
114 115 116 117
      {
        "command": "gl.insertSnippet",
        "title": "GitLab: Insert snippet"
      },
F
Fatih Acet 已提交
118 119 120
      {
        "command": "gl.validateCIConfig",
        "title": "GitLab: Validate GitLab CI config"
F
Fatih Acet 已提交
121
      },
122 123 124 125
      {
        "command": "gl.showOutput",
        "title": "GitLab: Show extension logs"
      },
F
Fatih Acet 已提交
126 127
      {
        "command": "gl.refreshSidebar",
F
Fatih Acet 已提交
128 129 130 131 132
        "title": "GitLab: Refresh sidebar",
        "icon": {
          "light": "src/assets/images/light/refresh.svg",
          "dark": "src/assets/images/dark/refresh.svg"
        }
133 134 135 136 137
      },
      {
        "command": "gl.resolveThread",
        "title": "Resolve thread",
        "category": "GitLab",
138
        "icon": "$(pass)"
139 140 141 142 143
      },
      {
        "command": "gl.unresolveThread",
        "title": "Unresolve thread",
        "category": "GitLab",
144
        "icon": "$(pass-filled)"
145 146 147 148 149 150
      },
      {
        "command": "gl.deleteComment",
        "title": "Delete comment",
        "category": "GitLab",
        "icon": "$(trash)"
151 152 153 154 155 156 157 158 159 160 161
      },
      {
        "command": "gl.startEditingComment",
        "title": "Edit Comment",
        "category": "GitLab",
        "icon": "$(edit)"
      },
      {
        "command": "gl.cancelEditingComment",
        "title": "Cancel",
        "category": "GitLab"
162 163 164 165 166
      },
      {
        "command": "gl.submitCommentEdit",
        "title": "Save comment",
        "category": "GitLab"
T
Tomas Vik 已提交
167 168 169 170 171
      },
      {
        "command": "gl.createComment",
        "title": "Add comment now",
        "category": "GitLab"
172 173 174 175
      },
      {
        "command": "gl.checkoutMrBranch",
        "title": "Checkout MR branch"
176 177 178 179 180
      },
      {
        "command": "gl.cloneWiki",
        "title": "Clone Wiki",
        "category": "GitLab"
F
Fatih Acet 已提交
181
      }
F
Fatih Acet 已提交
182
    ],
F
Fatih Acet 已提交
183
    "menus": {
184 185 186 187 188 189 190 191
      "commandPalette": [
        {
          "command": "gl.resolveThread",
          "when": "false"
        },
        {
          "command": "gl.unresolveThread",
          "when": "false"
192 193 194 195
        },
        {
          "command": "gl.deleteComment",
          "when": "false"
196 197 198 199 200 201 202 203
        },
        {
          "command": "gl.startEditingComment",
          "when": "false"
        },
        {
          "command": "gl.cancelEditingComment",
          "when": "false"
204 205 206 207
        },
        {
          "command": "gl.submitCommentEdit",
          "when": "false"
T
Tomas Vik 已提交
208 209 210 211
        },
        {
          "command": "gl.createComment",
          "when": "false"
T
Tomas Vik 已提交
212
        },
213 214 215 216
        {
          "command": "gl.checkoutMrBranch",
          "when": "false"
        },
T
Tomas Vik 已提交
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
        {
          "command": "gl.showIssuesAssignedToMe",
          "when": "gitlab:validState"
        },
        {
          "command": "gl.showMergeRequestsAssignedToMe",
          "when": "gitlab:validState"
        },
        {
          "command": "gl.openActiveFile",
          "when": "gitlab:validState && editorIsOpen"
        },
        {
          "command": "gl.copyLinkToActiveFile",
          "when": "gitlab:validState && editorIsOpen"
        },
        {
          "command": "gl.openCurrentMergeRequest",
          "when": "gitlab:validState"
        },
        {
          "command": "gl.openCreateNewIssue",
          "when": "gitlab:validState"
        },
        {
          "command": "gl.openCreateNewMR",
          "when": "gitlab:validState"
        },
        {
          "command": "gl.openProjectPage",
          "when": "gitlab:validState"
        },
        {
          "command": "gl.openCurrentPipeline",
          "when": "gitlab:validState"
        },
        {
          "command": "gl.pipelineActions",
          "when": "gitlab:validState"
        },
        {
          "command": "gl.issueSearch",
          "when": "gitlab:validState"
        },
        {
          "command": "gl.mergeRequestSearch",
          "when": "gitlab:validState"
        },
        {
          "command": "gl.projectAdvancedSearch",
          "when": "gitlab:validState"
        },
        {
          "command": "gl.compareCurrentBranch",
          "when": "gitlab:validState"
        },
        {
          "command": "gl.createSnippet",
          "when": "gitlab:validState && editorIsOpen"
        },
        {
          "command": "gl.insertSnippet",
          "when": "gitlab:validState && editorIsOpen"
        },
        {
          "command": "gl.validateCIConfig",
          "when": "gitlab:validState && editorIsOpen"
        },
        {
          "command": "gl.refreshSidebar",
          "when": "gitlab:validState"
288 289 290 291
        },
        {
          "command": "gl.cloneWiki",
          "when": "!gitlab:noToken"
292 293
        }
      ],
F
Fatih Acet 已提交
294 295 296
      "view/title": [
        {
          "command": "gl.refreshSidebar",
297
          "when": "view =~ /(currentBranchInfo|issuesAndMrs)/",
F
Fatih Acet 已提交
298 299
          "group": "navigation"
        }
300
      ],
301 302 303
      "view/item/context": [
        {
          "command": "gl.checkoutMrBranch",
304
          "when": "view =~ /issuesAndMrs/ && viewItem == mr-item-from-same-project"
305 306
        }
      ],
307 308
      "comments/comment/title": [
        {
309
          "command": "gl.startEditingComment",
310
          "group": "inline@1",
311
          "when": "commentController =~ /^gitlab-mr-/ && comment =~ /canAdmin/"
312 313 314 315
        },
        {
          "command": "gl.deleteComment",
          "group": "inline@2",
316
          "when": "commentController =~ /^gitlab-mr-/ && comment =~ /canAdmin/"
317 318 319
        }
      ],
      "comments/comment/context": [
320 321
        {
          "command": "gl.submitCommentEdit",
322 323
          "group": "inline@1",
          "when": "commentController =~ /^gitlab-mr-/"
324
        },
325 326
        {
          "command": "gl.cancelEditingComment",
327 328
          "group": "inline@2",
          "when": "commentController =~ /^gitlab-mr-/"
329 330
        }
      ],
331 332 333 334
      "comments/commentThread/title": [
        {
          "command": "gl.resolveThread",
          "group": "inline@1",
335
          "when": "commentController =~ /^gitlab-mr-/ && commentThread == unresolved"
336 337 338 339
        },
        {
          "command": "gl.unresolveThread",
          "group": "inline@2",
340
          "when": "commentController =~ /^gitlab-mr-/ && commentThread == resolved"
341
        }
T
Tomas Vik 已提交
342 343
      ],
      "comments/commentThread/context": [
T
3.17.0  
Tomas Vik 已提交
344 345
        {
          "command": "gl.createComment",
346 347
          "group": "inline",
          "when": "commentController =~ /^gitlab-mr-/"
T
3.17.0  
Tomas Vik 已提交
348 349
        }
      ]
F
Fatih Acet 已提交
350 351
    },
    "viewsContainers": {
F
Fatih Acet 已提交
352 353 354 355 356 357 358
      "activitybar": [
        {
          "id": "gitlab-workflow",
          "title": "GitLab Workflow",
          "icon": "src/assets/images/light/gitlab-logo.svg"
        }
      ]
F
Fatih Acet 已提交
359 360
    },
    "views": {
F
Fatih Acet 已提交
361 362
      "gitlab-workflow": [
        {
363 364
          "id": "issuesAndMrs",
          "name": "Issues and Merge Requests"
365
        },
F
Fatih Acet 已提交
366
        {
F
Fatih Acet 已提交
367
          "id": "currentBranchInfo",
368 369
          "name": "For current branch",
          "when": "gitlab:validState"
F
Fatih Acet 已提交
370 371 372
        }
      ]
    },
373 374 375
    "viewsWelcome": [
      {
        "view": "issuesAndMrs",
376
        "contents": "Welcome to the GitLab Workflow extension!\nThis extension needs an access token with the 'api' and 'read_user' scopes.\n- GitLab.com users: [create a token on GitLab.com](https://gitlab.com/-/profile/personal_access_tokens).\n- Users on self-managed instances: in GitLab, click your avatar in the top right corner and select 'Preferences.' In the left sidebar, select 'Access Tokens,' then select 'Add a personal access token.'\nAfter you create a token, select 'Set Personal Access Token':\n[Set Personal Access Token](command:gl.setToken)\nTo learn more, read [the setup information](https://gitlab.com/gitlab-org/gitlab-vscode-extension#setup) for this extension.",
377
        "when": "gitlab:noToken"
378 379 380 381 382
      },
      {
        "view": "issuesAndMrs",
        "contents": "No Git repository available. To learn how to fix this, check the Source Control tab.\n[Open Source Control](command:workbench.view.scm)",
        "when": "gitlab:noRepository"
383 384
      }
    ],
F
Fatih Acet 已提交
385
    "configuration": {
386
      "title": "GitLab Workflow (GitLab VSCode Extension)",
F
Fatih Acet 已提交
387 388
      "properties": {
        "gitlab.instanceUrl": {
T
3.3.0  
Tomas Vik 已提交
389 390 391 392
          "type": [
            "string",
            "null"
          ],
393
          "default": null,
F
Fatih Acet 已提交
394
          "description": "Your GitLab instance URL (default is https://gitlab.com)"
395
        },
396 397 398 399 400
        "gitlab.showStatusBarLinks": {
          "type": "boolean",
          "default": true,
          "description": "Whether to display all GitLab related link in the status bar (Requires restart of VSCode)"
        },
401 402 403 404
        "gitlab.showIssueLinkOnStatusBar": {
          "type": "boolean",
          "default": true,
          "description": "Whether to display the GitLab issue link in the status bar"
P
Pierre Carru 已提交
405
        },
406 407 408 409 410
        "gitlab.showMrStatusOnStatusBar": {
          "type": "boolean",
          "default": true,
          "description": "Whether to display the GitLab Merge Request status in the status bar"
        },
P
Pierre Carru 已提交
411 412 413 414
        "gitlab.ca": {
          "type": "string",
          "default": null,
          "description": "Custom CA file to use (example: /etc/ssl/certs/ca-certificates.crt)"
415
        },
416 417 418 419 420 421 422 423 424 425
        "gitlab.cert": {
          "type": "string",
          "default": null,
          "description": "Custom Certificate file to use (example: /etc/ssl/certs/certificate.crt)"
        },
        "gitlab.certKey": {
          "type": "string",
          "default": null,
          "description": "Custom Certificate Key file to use (example: /etc/ssl/certs/certificateKey.key)"
        },
426 427 428 429
        "gitlab.ignoreCertificateErrors": {
          "type": "boolean",
          "default": false,
          "description": "Ignore TLS/SSL certificate errors when calling the GitLab API"
J
Julien Duponchelle 已提交
430 431 432 433 434
        },
        "gitlab.remoteName": {
          "type": "string",
          "default": null,
          "description": "Name of the git remote to use in order to locate the Gitlab project"
435
        },
436 437 438 439 440
        "gitlab.pipelineGitRemoteName": {
          "type": "string",
          "default": null,
          "description": "Name of the git remote to use in order to locate the Gitlab project for your pipeline. Keep empty for default"
        },
441 442 443 444
        "gitlab.showPipelineUpdateNotifications": {
          "type": "boolean",
          "default": false,
          "description": "Show notification in VSCode when pipeline status changed"
445 446 447 448 449
        },
        "gitlab.showProjectMergeRequests": {
          "type": "boolean",
          "default": true,
          "description": "Enable the \"All Project Merge Requests\" sidebar pane"
F
Fatih Acet 已提交
450
        },
451 452 453 454 455
        "gitlab.customQueries": {
          "type": "array",
          "minItems": 1,
          "items": {
            "type": "object",
456
            "title": "Custom GitLab Query",
457 458 459 460 461 462 463 464 465 466 467 468 469
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The label to show in the GitLab panel"
              },
              "maxResults": {
                "type": "number",
                "description": "The maximum number of results to show",
                "default": 20,
                "maximum": 100,
470
                "minimum": 1
471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570
              },
              "orderBy": {
                "type": "string",
                "description": "Return issues ordered by the selected value. It is not applicable for vulnerabilities",
                "enum": [
                  "created_at",
                  "updated_at",
                  "priority",
                  "due_date",
                  "relative_position",
                  "label_priority",
                  "milestone_due",
                  "popularity",
                  "weight"
                ],
                "default": "created_at"
              },
              "sort": {
                "type": "string",
                "description": "Return issues sorted in ascending or descending order. It is not applicable for vulnerabilities",
                "enum": [
                  "asc",
                  "desc"
                ],
                "default": " desc"
              },
              "scope": {
                "type": "string",
                "description": "Return Gitlab items for the given scope. It is not applicable for epics. \"assigned_to_me\" and \"created_by_me\" are not applicable for vulnerabilities. \"dismissed\" is not applicable for issues and merge requests",
                "enum": [
                  "assigned_to_me",
                  "created_by_me",
                  "dismissed",
                  "all"
                ],
                "default": "all"
              },
              "type": {
                "type": "string",
                "description": "The type of GitLab items to return. If snippets is selected, none of the other filter will work. Epics will work only on GitLab ultimate/gold.",
                "enum": [
                  "issues",
                  "merge_requests",
                  "epics",
                  "snippets",
                  "vulnerabilities"
                ],
                "default": "merge_requests"
              },
              "noItemText": {
                "type": "string",
                "description": "The text to show if the query returns no items",
                "default": "No items found."
              },
              "state": {
                "type": "string",
                "description": "Return \"all\" issues or just those that are \"opened\" or \"closed\". It is not applicable for vulnerabilities",
                "enum": [
                  "all",
                  "opened",
                  "closed"
                ],
                "default": "opened"
              },
              "labels": {
                "type": "array",
                "description": "Array of label names, Gitlab item must have all labels to be returned. \"None\" lists all GitLab items with no labels. \"Any\" lists all GitLab issues with at least one label. Predefined names are case-insensitive. It is not applicable for vulnerabilities",
                "items": {
                  "type": "string"
                }
              },
              "milestone": {
                "type": "string",
                "description": "The milestone title. \"None\" lists all GitLab items with no milestone. \"Any\" lists all GitLab items that have an assigned milestone. It is not applicable for epics and vulnerabilities"
              },
              "author": {
                "type": "string",
                "description": "Return GitLab items created by the given username. It is not applicable for vulnerabilities"
              },
              "assignee": {
                "type": "string",
                "description": "Returns GitLab items assigned to the given username. \"None\" returns unassigned GitLab items. \"Any\" returns GitLab items with an assignee. It is not applicable for epics and vulnerabilities"
              },
              "search": {
                "type": "string",
                "description": "Search GitLab items against their title and description. It is not applicable for vulnerabilities"
              },
              "searchIn": {
                "type": "string",
                "description": "Modify the scope of the search attribute. It is not applicable for epics and vulnerabilities",
                "enum": [
                  "all",
                  "title",
                  "description"
                ],
                "default": "all"
              },
              "createdAfter": {
                "type": "string",
                "format": "date",
571
                "description": "Return GitLab items created after the given date. ISO 8601 formatted, e.g. 2016-03-11T03:45:40Z. It is not applicable for vulnerabilities"
572 573 574 575
              },
              "createdBefore": {
                "type": "string",
                "format": "date",
576
                "description": "Return GitLab items created before the given date. ISO 8601 formatted, e.g. 2016-03-11T03:45:40Z. It is not applicable for vulnerabilities"
577 578 579 580
              },
              "updatedAfter": {
                "type": "string",
                "format": "date",
581
                "description": "Return GitLab items updated after the given date. ISO 8601 formatted, e.g. 2016-03-11T03:45:40Z. It is not applicable for vulnerabilities"
582 583 584 585
              },
              "updatedBefore": {
                "type": "string",
                "format": "date",
586
                "description": "Return GitLab items updated before the given date. ISO 8601 formatted, e.g. 2016-03-11T03:45:40Z. It is not applicable for vulnerabilities"
587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681
              },
              "wip": {
                "type": "string",
                "enum": [
                  "yes",
                  "no"
                ],
                "description": "Filter merge requests against their wip status. \"yes\" to return only WIP merge requests, \"no\" to return non WIP merge requests. Works only with merge requests",
                "default": "no"
              },
              "confidential": {
                "type": "boolean",
                "description": "Filter confidential or public issues. Works only with issues",
                "default": false
              },
              "excludeLabels": {
                "type": "array",
                "description": "Array of label names, Gitlab item must not have to be returned. Predefined names are case-insensitive. Works only with issues",
                "items": {
                  "type": "string"
                }
              },
              "excludeMilestone": {
                "type": "string",
                "description": "The milestone title to exclude. Works only with issues"
              },
              "excludeAuthor": {
                "type": "string",
                "description": "Return GitLab items not created by the given username. Works only with issues"
              },
              "excludeAssignee": {
                "type": "string",
                "description": "Returns GitLab items not assigned to the given username. Works only with issues"
              },
              "excludeSearch": {
                "type": "string",
                "description": "Search GitLab items that doesn't have the search key in their title or description. Works only with issues"
              },
              "excludeSearchIn": {
                "type": "string",
                "description": "Modify the scope of the excludeSearch attribute. Works only with issues",
                "enum": [
                  "all",
                  "title",
                  "description"
                ],
                "default": "all"
              },
              "reportTypes": {
                "type": "array",
                "description": "Returns vulnerabilities belonging to specified report types. Works only with vulnerabilities",
                "items": {
                  "type": "string",
                  "enum": [
                    "sast",
                    "dast",
                    "dependency_scanning",
                    "container_scanning"
                  ]
                }
              },
              "severityLevels": {
                "type": "array",
                "description": "Returns vulnerabilities belonging to specified severity levels. Defaults to all. Works only with vulnerabilities",
                "items": {
                  "type": "string",
                  "enum": [
                    "undefined",
                    "info",
                    "unknown",
                    "low",
                    "medium",
                    "high",
                    "critical"
                  ]
                }
              },
              "confidenceLevels": {
                "type": "array",
                "description": "Returns vulnerabilities belonging to specified confidence levels. Defaults to all. Works only with vulnerabilities",
                "items": {
                  "type": "string",
                  "enum": [
                    "undefined",
                    "ignore",
                    "unknown",
                    "experimental",
                    "low",
                    "medium",
                    "high",
                    "confirmed"
                  ]
                }
              },
              "pipelineId": {
682
                "type": "number | string",
683
                "description": "Returns vulnerabilities belonging to specified pipeline. \"branch\" returns vulnerabilities belonging to latest pipeline of the current branch. Works only with vulnerabilities"
684 685 686 687
              },
              "reviewer": {
                "type": "string",
                "description": "Returns GitLab Merge Requests assigned for review to the given username. When set to \"<current_user>\", the extension uses the current user's username."
688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712
              }
            }
          },
          "default": [
            {
              "name": "Issues assigned to me",
              "type": "issues",
              "scope": "assigned_to_me",
              "state": "opened",
              "noItemText": "There is no issue assigned to you."
            },
            {
              "name": "Issues created by me",
              "type": "issues",
              "scope": "created_by_me",
              "state": "opened",
              "noItemText": "There is no issue created by you."
            },
            {
              "name": "Merge requests assigned to me",
              "type": "merge_requests",
              "scope": "assigned_to_me",
              "state": "opened",
              "noItemText": "There is no MR assigned to you."
            },
713 714 715 716 717 718 719
            {
              "name": "Merge requests I'm reviewing",
              "type": "merge_requests",
              "reviewer": "<current_user>",
              "state": "opened",
              "noItemText": "There is no MR for you to review."
            },
720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735
            {
              "name": "Merge requests created by me",
              "type": "merge_requests",
              "scope": "created_by_me",
              "state": "opened",
              "noItemText": "There is no MR created by you."
            },
            {
              "name": "All project merge requests",
              "type": "merge_requests",
              "scope": "all",
              "state": "opened",
              "noItemText": "The project has no merge requests"
            }
          ],
          "description": "Custom views in the GitLab panel"
736
        }
F
Fatih Acet 已提交
737
      }
F
Fatih Acet 已提交
738
    }
F
Fatih Acet 已提交
739
  },
740 741 742
  "extensionDependencies": [
    "vscode.git"
  ],
F
Fatih Acet 已提交
743
  "scripts": {
744
    "vscode:prepublish": "npm run compile",
745
    "postinstall": "cd src/webview && npm install",
746 747
    "compile": "tsc -p ./",
    "watch": "tsc -watch -p ./",
748
    "test-unit": "jest",
749
    "test-integration": "npm run compile && node ./out/test/runTest.js",
T
Tomas Vik 已提交
750 751
    "create-test-workspace": "npm run compile && node ./scripts/create_workspace_for_test_debugging.js",
    "test": "npm run test-unit && npm run test-integration",
752 753
    "lint": "eslint --ext .js --ext .ts . && prettier --check '**/*.{js,ts,vue,json}' && cd src/webview && npm run lint",
    "autofix": "eslint --fix . && prettier --write '**/*.{js,ts,vue,json}' && cd src/webview && npm run autofix",
754
    "publish": "vsce publish",
755
    "webview": "cd src/webview && npm run watch",
756 757
    "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
    "update-ci-variables": "node ./scripts/update_ci_variables.js"
F
Fatih Acet 已提交
758 759
  },
  "devDependencies": {
760 761 762
    "@types/jest": "^26.0.20",
    "@types/node": "^13.13.45",
    "@types/request-promise": "^4.1.47",
763
    "@types/semver": "^7.3.6",
764
    "@types/sinon": "^9.0.11",
T
Tomas Vik 已提交
765
    "@types/temp": "^0.8.34",
766
    "@types/vscode": "^1.52.0",
767 768
    "@typescript-eslint/eslint-plugin": "^4.22.0",
    "@typescript-eslint/parser": "^4.22.0",
769
    "conventional-changelog-cli": "^2.1.1",
770
    "eslint": "^7.25.0",
771
    "eslint-config-airbnb-base": "^14.2.1",
772
    "eslint-config-prettier": "^6.15.0",
773 774
    "eslint-plugin-import": "^2.22.1",
    "jest": "^26.6.3",
F
Felix Haase 已提交
775
    "jest-junit": "^12.0.0",
776
    "mocha": "^7.0.1",
F
Felix Haase 已提交
777
    "mocha-junit-reporter": "^2.0.0",
778
    "msw": "^0.29.0",
779 780
    "prettier": "^1.19.1",
    "rewire": "^4.0.1",
781 782 783 784 785
    "simple-git": "^2.36.1",
    "sinon": "^9.2.4",
    "temp": "^0.9.4",
    "ts-jest": "^26.5.3",
    "typescript": "^4.2.3",
786
    "vsce": "^1.88.0",
787
    "vscode-test": "^1.5.1"
F
Fatih Acet 已提交
788 789
  },
  "dependencies": {
790
    "cross-fetch": "^3.0.6",
791 792 793
    "dayjs": "^1.10.4",
    "graphql": "^15.5.0",
    "graphql-request": "^3.4.0",
794
    "https-proxy-agent": "^5.0.0",
795
    "request": "^2.88.0",
796
    "request-promise": "^4.2.6",
797
    "semver": "^7.3.5",
798
    "url": "^0.11.0"
F
Fatih Acet 已提交
799
  }
M
Matthias Wirtz 已提交
800
}