You've already forked wizgit-vscode-extension
Initial Commit
This commit is contained in:
202
package.json
Normal file
202
package.json
Normal file
@@ -0,0 +1,202 @@
|
||||
{
|
||||
"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.1",
|
||||
"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": {
|
||||
"light": "./resources/wizgit-logo.svg",
|
||||
"dark": "./resources/wizgit-logo-dark.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": "main"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user