REMOVED initRepo command. Replaced by workspace settings

This commit is contained in:
IJustDev 2019-07-28 20:37:06 +02:00
parent 0db3e00318
commit b975f01243
3 changed files with 120 additions and 124 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "gitea-vscode", "name": "gitea-vscode",
"version": "0.0.6", "version": "0.0.7",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,128 +1,124 @@
{ {
"name": "gitea-vscode", "name": "gitea-vscode",
"displayName": "Gitea-VSCode", "displayName": "Gitea-VSCode",
"description": "Gitea Issue Tracker for vs-code", "description": "Gitea Issue Tracker for vs-code",
"publisher": "IJustDev", "publisher": "IJustDev",
"version": "0.0.7", "version": "0.0.7",
"engines": { "engines": {
"vscode": "^1.32.0" "vscode": "^1.32.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:open-issues",
"onCommand:giteaIssues.initRepo",
"onCommand:giteaIssues.refreshIssues"
],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "issue-explorer",
"title": "Gitea-Issues",
"icon": "media/issue.svg"
}
]
}, },
"views": { "categories": [
"issue-explorer": [ "Other"
{
"id": "open-issues",
"name": "Open Issues"
},
{
"id": "closed-issues",
"name": "Closed Issues"
}
]
},
"commands": [
{
"command": "giteaIssues.openIssue",
"title": "Show"
},
{
"command": "giteaIssues.refreshIssues",
"title": "Refresh",
"icon": {
"dark": "resources/dark/refresh.svg",
"light": "resources/light/refresh.svg"
}
},
{
"command": "giteaIssues.initRepo",
"title": "Initialize Gitea-Issue Tracker"
}
], ],
"menus": { "activationEvents": [
"view/title": [ "onView:open-issues",
{ "onCommand:giteaIssues.initRepo",
"command": "giteaIssues.refreshIssues", "onCommand:giteaIssues.refreshIssues"
"group": "navigation", ],
"when": "view == open-issues" "main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "issue-explorer",
"title": "Gitea-Issues",
"icon": "media/issue.svg"
}
]
},
"views": {
"issue-explorer": [
{
"id": "open-issues",
"name": "Open Issues"
},
{
"id": "closed-issues",
"name": "Closed Issues"
}
]
},
"commands": [
{
"command": "giteaIssues.openIssue",
"title": "Show"
},
{
"command": "giteaIssues.refreshIssues",
"title": "Refresh",
"icon": {
"dark": "resources/dark/refresh.svg",
"light": "resources/light/refresh.svg"
}
}
],
"menus": {
"view/title": [
{
"command": "giteaIssues.refreshIssues",
"group": "navigation",
"when": "view == open-issues"
}
]
},
"configuration": {
"title": "Gitea",
"properties": {
"gitea.token": {
"scope": "application",
"type": "string",
"default": "",
"description": "The token for the gitea server."
},
"gitea.domain": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The remote gitea instance's domain."
},
"gitea.owner": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The username for the repository."
},
"gitea.repo": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The repository name."
},
"gitea.ssl": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "If https should be used or not."
}
}
} }
]
}, },
"configuration": { "scripts": {
"title": "Gitea", "vscode:prepublish": "npm run compile",
"properties": { "compile": "tsc -p ./",
"gitea.token": { "watch": "tsc -watch -p ./",
"scope": "application", "postinstall": "node ./node_modules/vscode/bin/install",
"type": "string", "test": "npm run compile && node ./node_modules/vscode/bin/test"
"default": "", },
"description": "The token for the gitea server." "devDependencies": {
}, "@types/axios": "^0.14.0",
"gitea.domain": { "@types/mocha": "^2.2.42",
"scope": "resource", "@types/node": "^10.12.21",
"type": "string", "tslint": "^5.12.1",
"default": "", "typescript": "^3.3.1",
"description": "The remote gitea instance's domain." "vscode": "^1.1.28"
}, },
"gitea.owner": { "dependencies": {
"scope": "resource", "axios": "^0.18.1",
"type": "string", "marked": "^0.6.2"
"default": "", },
"description": "The username for the repository." "repository": {
}, "type": "github",
"gitea.repo": { "url": "https://github.com/IJustdev/Gitea-VSCode.git"
"scope": "resource", },
"type": "string", "license": "MIT"
"default": "", }
"description": "The repository name."
},
"gitea.ssl": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "If https should be used or not."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/axios": "^0.14.0",
"@types/mocha": "^2.2.42",
"@types/node": "^10.12.21",
"tslint": "^5.12.1",
"typescript": "^3.3.1",
"vscode": "^1.1.28"
},
"dependencies": {
"axios": "^0.18.1",
"marked": "^0.6.2"
},
"repository": {
"type": "github",
"url": "https://github.com/IJustdev/Gitea-VSCode.git"
},
"license": "MIT"
}

Binary file not shown.