Files
wizgit-vscode-extension/package.json

205 lines
6.6 KiB
JSON

{
"name": "wizgit-in-vscode",
"displayName": "WizGIT in VS Code",
"description": "A VS Code extension to interact with WizGIT API for repository management.",
"version": "0.0.2",
"publisher": "TerenceCarrera",
"license": "MIT",
"repository": {
"type": "git",
"url": "http://126.209.24.132/terence.carrera/wizgit-vscode-extension"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"SCM Providers",
"Other"
],
"activationEvents": [
"onStartupFinished",
"workspaceContains:.git"
],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "wizgit",
"title": "WizGIT",
"icon": "./resources/wizgit-logo.svg"
}
]
},
"views": {
"wizgit": [
{
"id": "wizgitRepositories",
"name": "Repositories",
"when": "wizgit:enabled"
},
{
"id": "wizgitIssues",
"name": "Issues",
"when": "wizgit:enabled"
},
{
"id": "wizgitPullRequests",
"name": "Pull Requests",
"when": "wizgit:enabled"
}
]
},
"commands": [
{
"command": "wizgit-in-vscode.configure",
"title": "Configure WizGIT",
"category": "WizGIT",
"icon": "$(gear)"
},
{
"command": "wizgit-in-vscode.createRepository",
"title": "Create Repository",
"category": "WizGIT",
"icon": "$(repo-create)"
},
{
"command": "wizgit-in-vscode.createIssue",
"title": "Create Issue",
"category": "WizGIT",
"icon": "$(issues)"
},
{
"command": "wizgit-in-vscode.createPullRequest",
"title": "Create Pull Request",
"category": "WizGIT",
"icon": "$(git-pull-request)"
},
{
"command": "wizgit-in-vscode.clearConfig",
"title": "Clear Configuration",
"category": "WizGIT",
"icon": "$(clear-all)"
},
{
"command": "wizgit-in-vscode.refreshRepositories",
"title": "Refresh",
"category": "WizGIT",
"icon": "$(refresh)"
},
{
"command": "wizgit-in-vscode.cloneRepository",
"title": "Clone Repository",
"category": "WizGIT",
"icon": "$(repo-clone)"
},
{
"command": "wizgit-in-vscode.openIssue",
"title": "Open Issue",
"category": "WizGIT",
"icon": "$(link-external)"
},
{
"command": "wizgit-in-vscode.openPullRequest",
"title": "Open Pull Request",
"category": "WizGIT",
"icon": "$(link-external)"
}
],
"menus": {
"view/title": [
{
"command": "wizgit-in-vscode.refreshRepositories",
"when": "view == wizgitRepositories",
"group": "navigation"
},
{
"command": "wizgit-in-vscode.createRepository",
"when": "view == wizgitRepositories",
"group": "navigation"
},
{
"command": "wizgit-in-vscode.createIssue",
"when": "view == wizgitIssues",
"group": "navigation"
},
{
"command": "wizgit-in-vscode.createPullRequest",
"when": "view == wizgitPullRequests",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "wizgit-in-vscode.createIssue",
"when": "explorerResourceIsFolder && wizgit:enabled",
"group": "7_modification"
}
],
"editor/context": [
{
"command": "wizgit-in-vscode.createIssue",
"when": "wizgit:enabled",
"group": "9_cutcopypaste"
}
],
"commandPalette": [
{
"command": "wizgit-in-vscode.refreshRepositories",
"when": "false"
},
{
"command": "wizgit-in-vscode.openIssue",
"when": "false"
},
{
"command": "wizgit-in-vscode.openPullRequest",
"when": "false"
}
]
},
"configuration": {
"title": "WizGIT",
"properties": {
"wizgit.apiEndpoint": {
"type": "string",
"description": "WizGIT API endpoint URL",
"default": ""
},
"wizgit.autoDetect": {
"type": "boolean",
"description": "Automatically detect WizGIT repositories in workspace",
"default": true
},
"wizgit.statusBar.enabled": {
"type": "boolean",
"description": "Show WizGIT information in status bar",
"default": true
},
"wizgit.notifications.enabled": {
"type": "boolean",
"description": "Enable WizGIT notifications",
"default": true
},
"wizgit.defaultBranch": {
"type": "string",
"description": "Default branch name for new repositories",
"default": "master"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"typescript": "^4.9.4"
},
"dependencies": {
"node-fetch": "^3.3.2"
}
}